Building a workflow by describing it
Write what should happen; answer the AI's questions; accept or discard what it proposes.
What it's for
Instead of adding each step yourself, you can write what the workflow should do in ordinary words. The AI asks about anything it can't work out from your company's setup, then proposes the steps. You see exactly what would change before anything does, and you accept or discard it.
The AI only proposes. It can't save a workflow, turn it on or send anything. What it proposes goes through the same checks as a workflow you build by hand.
Describe it
- Open Automations and click New workflow, or open an existing workflow and click Edit.
- In Describe it, write what should happen, for example: "When a purchase order over 10,000 is created, send it for approval. If nobody decides within 2 business days, remind the Admins. Once approved, email the vendor and set the status to Sent."
- Click Draft it. After a few seconds you get questions or a proposal.
Say which kind of record it is about, what starts it, and who should be told. Use the names of roles as they appear in your company, and type any outside email address in full.
Answer its questions
When something matters and isn't clear, the AI asks, at most four questions at a time. For example: which total to compare (the order's own currency or your home currency), when it should start, or who "the finance director" is when no role has that name.
- Click an answer to put it in the box, or type your own. The answer the AI would pick is marked (recommended).
- Answer all the questions in one message, then click Send.
Choices it can make safely, such as business days being Monday to Friday, aren't asked. They are listed under What I assumed so you can change them.
Read the proposal
| Part | What it tells you |
|---|---|
| Starts and Only if | When the workflow starts and for which records. Marked Changed when the proposal changes them. |
| Steps | Every step in plain words, written by the ERP from the steps themselves, not by the AI. Steps it adds are marked New, steps it changes Changed. Click a sentence to find that step in the diagram. |
| Removed | Steps the proposal takes out. |
| Diagram | The workflow as a flowchart, with new and changed steps outlined. |
| What it would do in … situations | One line per way through the workflow, with values just inside and just outside its conditions. For example a total of exactly 10,000 doesn't start it, and 10,000.01 does. |
| Look back | How often it would have started in the last 30 days, and for which records. Check that none of them should have been left out. |
| Still to sort out | What stops it being turned on, such as an approval process that hasn't been chosen. You can still accept it and fix these by hand. |
Accept or discard
- Click Accept to put the proposal into the editor, or Discard to leave the workflow as it was.
- Check the steps, change anything by hand, and click Save. It is saved as a draft: nothing runs until you turn it on.
Accepting isn't final. Undo next to Save takes back the last change, whether you made it or accepted it from the AI. Redo puts it back. With the cursor outside a text box, Ctrl+Z and Ctrl+Shift+Z do the same (Cmd on a Mac).
New fields
If what you describe needs a field the record doesn't have, the AI proposes it with the workflow: "Add a checkbox called Requires approval to sales orders. When it is checked, start an approval and notify the manager of the person who ticked it." The proposal lists it under New fields. It is added to your company only when you click Accept, and only if your role can set up custom fields; otherwise accepting says so and nothing changes. Change it afterwards under Settings › Custom fields.
Ask for a change
After accepting, keep writing in the same box, for example "Also ask the CFO to approve anything over 50,000" or "Make the wait 5 business days". The AI proposes only that change and leaves every other step as it is, so you see one or two steps marked New or Changed.
If you change steps by hand in between, the AI is told what you changed, so it doesn't undo your work.
If something goes wrong
| What you see | What to do |
|---|---|
| "I couldn't find a person called …" | The AI doesn't see your colleagues' names; the ERP looks them up. Use the name as it appears in your company, or pick a role from the choices. |
| "I left out the email address …" | Only addresses you typed yourself are kept. Type the full address in your message. |
| "Choose the approval process to use" | No approval process for that kind of record was found. Create one under Approvals, then choose it in the step. |
| Not possible yet | Part of what you asked for can't be built yet, such as steps for each line of an order or waiting until a condition becomes true. The rest is proposed. |
| "The draft didn't work this time" | Nothing was charged. Try again; shorter sentences often help. |
| You don't see Describe it | AI features are off for your company, or your role can't use them. Ask an Admin. |