Designing a Workflow
A workflow is a process you run for your customers, such as onboarding a new customer or collecting documents for a tax return. It is designed once as a template, then your team starts a case from it for each customer. This guide covers creating, editing and publishing a workflow.
The Uncog AI onboarding team designs and publishes your first workflows (see Members and Roles). Once onboarding is finished, Uncog AI can let your Owners and Admins design them too. Everyone in your account sees the published templates under Smart Agent → Setup → Templates and can start cases from them.
Start a new workflow
-
Go to Smart Agent → Setup and choose Templates.
-
Choose New Workflow.
-
In the How Would You Like to Start? window, pick one of two cards:
- Start From a Template: choose Browse Templates, then Use This on an example.
- Create From Scratch: choose Start From Scratch, then either:
- Describe It: type what process you run for your customers, then choose Start Designing.
- Upload Your Checklist: choose Upload Checklist and pick the list you already send customers, as a PDF or Word document (up to 25 MB). The designer reads it to build a first draft, and the file is deleted as soon as that turn ends, whether or not it worked.
Choose Back to return to the two cards.
The examples are Home loan application, Individual tax return, New client onboarding, Conveyancing — purchase, Employee onboarding, Enquiry (website chat), Book a demo (website chat) and Quote request (website chat), the last three of which a visitor can do entirely in your smart agent (see Smart Agent). A page can also set up the chat examples as its goal (see Pages). They are examples to adapt, not advice. Change them to match how you work before you publish. The home loan example asks you to attach your own Credit Guide to its consent step under Document to Read (below) before you publish. The home loan and tax return examples each include an Uncog AI assist step (see Automatic steps below): the home loan reads the applicant's payslips into a Confirm your income form they check in their portal, and writes a brief for the check; the tax return writes a brief for the reviewer. Remove them if you would rather not use Uncog AI on your cases. Every example links the customer's mobile and email (and a company's name and ABN, where it asks for them) to your records — see Linked to below — and the new client onboarding example fills in its engagement letter from a sample Word document it comes with, under Prepare the engagement letter; replace the sample with your own letter under Document to fill in before you publish.
Nothing runs until you publish.
Build it with the designer
The page shows the workflow's Structure. The Design Chat with the designer opens in a window in the bottom-right corner, and the structure stays usable beside it. Minimise the window with the arrow in its header to see more of the structure, and close it with the cross. Choose Open Design Chat at the top of the page to bring it back. Minimising keeps what you have typed; closing clears it, but a reply the designer is writing still arrives.
- In the design chat, tap an answer under the designer's questions, or tell it what to add or change, and choose Send.
- Watch the structure update. What the designer changed in its last turn is highlighted. Choose Clear Highlights to remove the highlighting.
- The Topics Covered meter shows how many topics the designer has worked through with you, such as documents, approvals, deadlines and reminders. Topics waiting on your answer are listed under it, and Show All Topics shows where every topic stands. It fills in as you chat — there is nothing to answer there.
A workflow runs a process for a customer, so the designer cannot build everything you might ask for. It cannot invite people to your account, connect your tools, show live data or reports, or generate files on its own. When you ask for something like that, the designer builds the rest and lists what it left out under its reply, in Not in This Workflow, with the reason and what to do instead. Where Uncog AI does it somewhere else, the item has a link there: Open Team, Open Integrations, Open Email, Open Knowledge or Open the Trust Centre.
While the designer works, the chat shows its reply as soon as it has planned the changes, then each stage it is writing: Waiting, Writing…, Written or Not finished. A long description can take a few minutes. You can keep reading or close the page; the designer keeps working, and reopening the workflow shows where it is. While it works, you can't send another message or edit the structure.
Nothing in your workflow changes until the designer finishes, and then everything it wrote changes at once. Choose Stop to stop it: nothing is changed, and once it has started writing, the turn still counts towards today's designer turns. If it couldn't finish a stage, that stage keeps what it had before and the reply says so. Choose Retry “stage name” under the reply to ask for that stage again, as a new turn. If the designer takes too long or something goes wrong, it says so and nothing is changed; choose Retry. If the designer wants to change something you edited by hand, it asks first. Choose Accept or Keep Mine.
Edit the structure by hand
A workflow is made of stages, and each stage has steps. Each step card says what kind of step it is and who does it, such as Form · Done by Applicant, or what an automatic step does, such as Emails Applicant: “Welcome to your home loan”. You can edit it directly:
- Choose Add Stage to add a stage. Use a stage's menu to Rename Stage or Remove Stage.
- Choose Add Step to add a step, or use a step's menu to Edit Step, Move Up, Move Down or Remove. An email step's menu also has Preview Email (see Emails below).
In the step dialog, set:
- Kind of step: Form, Documents, Acknowledgement, Signature, Payment, Booking, Task or Approval. Signature, Payment and Booking steps are always done by a customer.
- Name and Stage.
- Who does it?: A customer, Your team or Automatic. Task and Approval steps are always done by your team.
- Required — the stage waits for it.
- Has a due date: the number of Days, Counted from (when the stage opens or when the workflow starts), and whether to count Business days only. The default is 5 business days.
- Instructions: shown to whoever does the step (up to 2,000 characters), edited as they will look: the toolbar sets Bold, Italic, a Bullet list or a Numbered list. A web address typed in the instructions is shown as words, not a link. For an Automatic step this is Notes for your team: shown to your team on the case, never sent to the customer.
- Optional conditions, so a step only applies in some cases.
For a Form step, add questions with Add Question. Answer types include short and long text, number, amount, date, email, phone, pick one, pick several, yes / no, address and ABN. A question can be Linked to one of your records: a contact's first name, last name, job title, phone, mobile or email (on a step each customer does alone), or a company's name, ABN or website. A linked question is filled in from your records when the customer opens the form, and their answer updates the record when they send it — unless a person typed that value, in which case the change waits in Review (see Reviewing Suggestions). The structure card shows a linked question as ↔ contact's mobile. The designer links the obvious questions itself.
For a Documents step, choose Edit Automatic Check to have Uncog AI read each PDF or Word document and flag anything worth a look, such as a date that's too old or a missing name. It never accepts or rejects a document itself.
For a Signature step, set What they agree to (the statement beside the box they tick), How they sign (type their name, draw their signature, or either), Who attaches the document (the role that attaches the PDF to sign on each case) and the Document name the customer sees. To use the workflow's own file instead, expand the step afterwards and choose Document to Sign. The customer signs electronically in their portal, and a PDF with their name, email, the time and their device recorded on a final page is kept with the case. A deed, a mortgage, a statutory declaration, a will or a lender's own form can't be a Signature step: the check before publishing says so, and such a document is a Documents step the customer signs and uploads instead.
For a Payment step, set What it is for and the Amount: A fixed amount in dollars, or An earlier amount question on a form in an earlier stage. The customer pays by card on Stripe's page. Your Stripe connection must have Allow payments through the portal turned on under Settings → Integrations before a workflow with a Payment step can be published; the dialog says so when it is not.
For a Booking step, set Meeting with (the team role the customer meets), the Minutes, how many Business days ahead they may book, and the Gap between meetings. The customer picks a time from that role's holder's free calendar time, inside your business hours (see Workflow Settings).
Automatic steps can send an email, tell a team member, wait a number of days, set a key date, ask Uncog AI for suggestions, fill in a document, or notify one of your connected systems. The designer adds emails, messages to the team, waits and key dates. You can add an email, a message to the team and the last three yourself: choose Add Step, pick Automatic step as the kind of step, then choose under What happens:
-
Send an email or Tell a team member: write it in the dialog, beside a preview of what will be sent (see Emails below).
-
Fill in a document: upload a Word document (.docx) with placeholders such as
{{party.firstName}},{{account.name}},{{role.adviser.name}},{{today}}or an earlier answer like{{details.abn}}under Document to fill in; the editor lists the placeholders it found and says if any cannot be filled. Choose the later step it is Prepared for (a documents, acknowledgement or signature step that takes a document for the customer) and whether the customer gets a Word document or a PDF. When the step runs, Uncog AI fills in the placeholders from the case and attaches the result to that step. PDF output needs the document converter set up for your account; publishing says so if it is not. -
Notify a connected system: choose one of the webhooks under Settings → Integrations → Webhooks (see Integrations). When the step runs, Uncog AI posts the case's ids, keys and status to it. If the webhook allows answers, you can tick earlier forms under Send the answers of to send their answers too. The case carries on whether or not the system answers.
-
Uncog AI assist: choose what Uncog AI does:
-
Suggest answers from documents: choose a Documents step from an earlier stage, tick which documents to read, and choose the form to suggest answers for (in this stage or a later one). When the stage opens, Uncog AI reads those documents and suggests answers that a member accepts or dismisses (see Running Cases).
-
Write a case brief: choose an approval, or a task or form your team does, in this stage or a later one. Uncog AI writes a summary of what was collected, flagged and contradicted for whoever does that step.
-
Draft a long answer: choose a form and one of its long text questions, and add guidance in your own words. Uncog AI drafts the answer for a member to edit.
Uncog AI only suggests. It never submits a form, accepts a document, approves anything or sends a step back. If the step names something that no longer fits, such as a form that moved to an earlier stage, the step card says what to fix before publishing.
Emails
An email step sends your words to a customer, or to the team member who holds a role. Each customer on the case gets their own copy, filled in with their own details. To change an email, use the step's menu and choose Edit Step. To see it without changing it, choose Preview Email.
The dialog shows the email beside a preview of exactly what will be sent, with your logo, colours and business details. Set:
- Send to: one of your customers (each person gets their own copy) or a role on your team.
- Subject, an optional Heading (a large line above the text) and The email, edited as it will look: the toolbar sets Bold, Italic, a Bullet list or a Numbered list. Press Enter for a new paragraph.
- Insert Field: adds a detail that is filled in when the email is sent, where your cursor was: the customer's first, last or full name, a link to their secure page, your business name, today's date, a team member's name, or an answer from an earlier form. Only the details this email can fill in are listed: a customer's details only in an email to a customer, and only answers given before this step.
- Add a button to their secure page, with its Button label (emails to customers only). The button opens the customer's portal.
- Documents (emails to customers only): up to three files the customer can open. Choose one of your knowledge documents under From your knowledge and then Add Document, or choose Upload a File (PDF or Word). The email lists them, and each one opens on the customer's secure page once they confirm it is them; the file itself is never attached to the email. Publishing waits until each file has been checked for malware.
A Tell a team member step has Tell (the role) and a Message, with Insert Field. Its email always has a button to the case.
The preview uses sample details: the customer is Sam Taylor, and each answer or team member appears in [brackets]. Anything that would stop you publishing, such as a detail this email can't fill in, is listed above the preview. Choose Send Test to Me to get the saved email at your own address, with "[Test]" before the subject; save your changes first. You can send ten tests an hour.
An email with a button, a document or a secure page link gives each customer a fresh link to their page, and their previous link stops working.
An email can have bold and italic words and bullet or numbered lists, and nothing else: no colours, no pictures, no links to other websites (a web address in the text is shown as words), and files can't be attached to an email. The only link is the customer's secure page.
Document to Read
An Acknowledgement step can carry a document the customer reads before they confirm, such as a credit guide, terms of engagement or a privacy statement. The customer downloads it in their portal, then chooses Confirm and Send (see Customer Portal). A Signature step carries the document the customer signs the same way: expand it and choose Document to Sign (or Change Document to Sign); without one, the role you chose attaches the document on each case.
- Expand the acknowledgement step and choose Document to Read (or Change Document to Read when it already has one).
- Pick one of these:
- Under From your knowledge, choose one of your knowledge documents and then Use This Document. Only documents that are ready are listed. You need to be able to manage your knowledge to see this list (Owners, Admins and the Uncog AI onboarding team).
- Upload a File: a PDF or Word document.
- To take the document off the step, choose Remove Document.
A knowledge document you choose is copied into the workflow; the step never points at your knowledge itself. So changing or removing the document under Knowledge later never changes a published workflow, and everyone on your team can open the copy when they work on a case. Each copy is checked for malware like any upload. While it is still being checked, the step says Being checked — publishing waits for it, and Publish tells you to try again in a minute. A document that could not be accepted or was removed has to be attached again before you can publish.
A step with a document to read always opens in the customer's portal, not in the chat. For a workflow visitors do entirely in your smart agent, such as the Enquiry (website chat) example, adding one means that step is done in the portal instead; the dialog says so.
The structure shows such a step as "with a document to read". If the designer rewrites a step you attached a document to, the document stays on it.
Parties and roles
Choose Parties & Roles to set:
- The Workflow name.
- Who it is for: the customers (parties) on each case, and how many of each.
- Your team's roles: each role is filled by Whoever starts it or Left for someone to claim. The first role's holder owns each case and receives customer replies.
- Ask customers to confirm their email: for a workflow started from your website chat, Only when needed (recommended) or Always. A customer who only answers once — every step for them is at the start and opens in the chat, the first steps ask for their email address, and nothing later sends their answers back, emails them, books a time or starts another workflow for them — can send it without an email code. The line under the choice says whether a code is needed, and which step needs it. Choose Always to ask every customer for the code anyway.
- Uncog AI's knowledge (shown to Owners, Admins and the Uncog AI onboarding team, who manage knowledge): every workflow reads your Knowledge — all of it when Uncog AI drafts a long answer for your team, and only documents marked visible to customers in workflows when a customer asks what a step means. There is nothing to switch on. To keep a document away from customers, change who can see it on the Knowledge page. If your account has more than one knowledge base, choose the one this workflow reads under Knowledge base, or None — instructions only to have it answer from the step's instructions alone.
Check it before publishing
- Preview as Customer shows what a customer will see in their portal.
- Revisions lists every saved change to the draft (the last 50 are kept). Choose Revert to This Revision to go back. Your current draft stays in the history.
- A badge such as "3 things to check" means there are problems to fix. When everything is in order, the designer says it thinks the workflow is ready to publish.
Publish
- Choose Publish.
- If anything needs fixing, Uncog AI lists everything at once, with links to jump to each problem. A document to read that is still being checked holds publishing until the check finishes, usually within a minute.
- Once published, you see Published as version 1. Choose Start the First Case to begin.
Change a published workflow
- On the Templates tab, open the workflow's actions and choose Open in Designer.
- Make your changes and choose Publish again.
Each publish creates a new version. New cases use it; cases already running stay on the version they started on until you move them. Open a template and go to its Versions tab to view or Compare Two versions.
Move running cases to a newer version
On the Versions tab, view a newer version and choose Move Running Cases Here. Each running case is checked on its own: it can move only when nothing it holds would be lost — every answer, document and decision stays. Cases that can move get a tick box; the others say why they cannot (for example, a step with a document is not in the new version). Tick the ones to move and choose Move. A moved case opens any new steps of its current stage at once, and its header shows Moved from the earlier version.
Improvements from Uncog AI
The designer shows Uncog AI noticed… when the workflow's numbers point to a change — see Improvements from Uncog AI in Running Cases. Apply to Draft changes the draft only; publish it when it is right.
Start cases automatically
A published workflow can start its own cases. Open the template and go to its Triggers tab, then choose Add Trigger. Give it a name and choose when it starts:
- From an Email — when a customer emails asking for this process. Uncog AI suggests the start on the Review page and you confirm; an email never starts a case on its own. If the sender is not in your contacts yet, confirming adds them first.
- From a Key Date — a set number of days before or after one of the workflow's key dates on a finished case, for the same people. Enter a negative number for before (-30 is thirty days before).
- On a Schedule — every month, quarter or year on a day of the month, for every contact the filters match. The filters are the same as the Contacts page, and the count shown is how many contacts match right now. Each run is a batch of up to 200 contacts.
- From a Connected Integration — when an integration brings in a new customer.
- When Another Workflow Finishes — when a case of another workflow completes, for the same people.
Then is either Suggest first (a suggestion you confirm) or Start automatically (the case starts on its own, up to 50 a day across the account, and shows on Home). Email triggers are always Suggest first. The Owner takes the starter roles on each case the trigger starts.
Pause or delete a trigger from its row's actions. A trigger on a workflow with no published version waits until you publish, and one on an archived workflow waits until you restore it. Triggers live on the template, so publishing a new version keeps them.
Rename, copy, archive or delete a workflow
The same actions live in three places: the workflow's row on the Templates tab (its Actions menu), the … menu on the workflow's own page, and the … menu at the top of the designer.
Rename a workflow
- Choose Rename, change the Name or the Description, and choose Save Changes.
The new name shows everywhere in Uncog straight away, including the website chat and new case titles. Emails to customers use the name of the version their case runs on, so a published workflow's emails carry the new name from the next time you publish. In the designer, the name is also under Parties & Roles.
Copy a workflow
- Choose Duplicate.
A new draft called Copy of the workflow opens in the designer, with the same stages, steps and documents. Versions, triggers and cases are not copied.
Archive a workflow
- Choose Archive, then confirm.
No new cases can start from it, and running cases carry on to the end. To bring it back, choose Restore: it returns as published, on the same version, with no new version. Publishing it again from the designer also brings it back.
Delete a workflow
- Choose Delete, then confirm with Delete Permanently.
Delete is offered only for a workflow that has never had a case. It removes the workflow for good, with its versions, draft history and triggers, including triggers on other workflows that start from it, and it leaves your website chat's processes. A workflow that has had cases cannot be deleted; archive it instead.
Good to know
- The Uncog AI onboarding team creates, edits, publishes, archives and deletes workflows. Owners and Admins can too once Uncog AI has turned that on for your account. Everyone sees the published templates and can start cases from them.
- Drafts are only visible to whoever can design workflows.
- Published versions can't be edited or deleted.
- The designer has a daily limit for the whole account, set in Smart Agent → Setup → Workflow Settings. See Workflow Settings.
