Clear instructions: how to make the AI answer the way you want
The AI answers from everything you wrote: your articles, your catalog, your guidelines and your AI workflows. When two of them say different things, or two workflows fit the same message, it has to pick one, and it may not pick the one you meant. Most "the AI answered something odd" moments come from that, not from the AI itself. Clear instructions remove the guess.
One place for each fact
Write each fact once, in the place it belongs:
- Opening hours, address, policies, how to buy: an article in Knowledge base.
- Products, services, prices and availability: the Catalog.
- How the AI should talk or what it should ask first: a guideline in Guidelines.
- A conversation handled in steps: an AI workflow.
If the same fact is in an article and inside a workflow, the day you change one of them the AI has two versions. For example, an article says a promotion lasts "until the end of the month" while a workflow says "until the 15th": customers will get both. Keep the fact in one place and let the workflow say "tell them until when the promotion lasts", without the date.
One workflow for each situation
Every workflow has When to use this, with examples under Use it when someone says and Do not use it when someone says. Each customer message is matched against all of them, so:
- No two workflows should fit the same message. If "Product questions" also starts when someone says they want to buy, and "How to buy" starts on the same thing, a plain "Yes, I want it" fits both, and the customer may get the wrong next step.
- Say what it is not for. Add the messages that belong to another workflow under Do not use it when someone says. Counter-examples are what stop a workflow running on the wrong conversation.
- One journey, one workflow. When two workflows are steps of the same conversation (telling someone about a product, then how to buy it), make them one workflow. Two workflows that hand over to each other are where conversations get lost.
How a workflow in progress behaves
Only one workflow runs at a time in a conversation. While it runs:
- Answers, greetings, "ok", thanks and questions about what it is asking for stay in it.
- A question about something else ("what are your hours?") is answered from your articles and catalog, and the workflow keeps waiting for what it still needs.
- A message that clearly asks for something another workflow handles ends it, and the other one starts.
To decide, the AI reads the customer's message next to the last thing it said. A short reply like "Where?" right after "come by the store with your receipt" can match a workflow that starts "when the customer says they went to the store", even if they did not. Write When to use this about what the customer says, as plainly as you can: "the customer says they already went to the store", not "anything about the store".
A workflow that already finished does not start again on a reply to what it asked. It starts again when the customer asks for it again; turn on Run only once per conversation if it should never repeat.
Words with two meanings
Customers write short. "Hours" can be your opening hours or a class schedule; "where" can be your address or where to send a form. When a word means two things in your business, say which one in the instruction: "class schedules come from the catalog; opening hours from the Opening hours article".
Do not repeat a workflow in a guideline
If a workflow already says how to end a reply, do not add a guideline that says the same: the day one changes, they disagree. Guidelines are for what applies to every conversation; the steps of one situation belong in its workflow.
Test with real messages
Open Test bot and write what your customers really write, including the short replies: "yes", "where?", "and the hours?". Start a new conversation for each test. When something goes wrong, change one thing at a time and test again.
Let the assistant check it
Ask the Helpium assistant: "Do any of my workflows overlap?" or paste a conversation that went wrong and ask why. It reads which workflows ran in that conversation and why each one started, and proposes how to separate them.
Was this article helpful?