Skip to content
Loopwix Docs

Conversation and logic steps

Reference for the Trigger, Collect, Reply, Validate, IF condition and Decide steps: what each does, its settings and outputs.

Beta

Every workflow step is a node. This page covers the steps that run the conversation and choose the route. The rest are in Data, trust, records and ending steps.

Trigger

Teach your AI agent when to start this workflow. Every workflow starts here; it has no input and one output.

SettingWhat to writeLimit
In which situation should this workflow be triggered? (required to publish)Plain words, as you would brief a new team member, for example "Use this whenever a customer wants to cancel an order."2,000 characters
Example customer messages that trigger this workflowOne per line: "I want to cancel my order", "Can I get my money back?"Up to 10, 500 characters each
When should the AI NOT use this? (optional)For example "Don't use this for questions about the refund policy."2,000 characters

Good triggers have 3 to 5 real examples and a clear "not when". Several workflows can exist; the agent picks by comparing what the customer said with each Trigger, so keep them distinct.

Collect

Details the AI should gather from the customer. One output.

  • What to collect: a list of details. For each, a label, a type (Text, Email, Phone, File (photo or document), Number) and required to continue. The AI reuses anything already shared in the chat and asks only for what is missing.
  • Notes for the AI: optional coaching on how to ask, such as "Be brief. If they already gave part of this, thank them and only ask for the rest." It is not a scripted message.

Collected details are what you reference later as {{collected.<name>}}.

Reply

Send a message to the visitor, then continue. One output.

  • Message to the visitor: shown in chat as written. Use Insert detail chips to include what the customer shared.

Validate

Check collected values before continuing. One output.

SettingMeaning
Which detail to checkOne of the collected details
RuleRequired, Email format, Phone format or Custom (notes)
Error messageWhat the visitor is told when the check fails
Custom notesFor a custom rule, describe it in words

IF condition

Send the conversation down a Yes or No path. Two outputs: Yes and No.

SettingOptions
What should we look at?A collected detail, Whether we found a match in the last look up, or A value from the last look up (then name the value, for example status)
Ruleis, is not, contains, is empty, is not empty; for lookups, was found, was not found
Compare toA value I type (for example cancelled) or Another detail

IF is deterministic: the same inputs always take the same path.

Decide

Let the AI choose the Yes or No path from the conversation. Two outputs.

SettingExample
Question"Should we send a cancellation confirmation email now?"
Choose Yes when…"The customer clearly wants to cancel and we already have their email and order id."
Choose No when…"They're only asking about the policy, or we're still missing key details."
Notes for the AI"If unsure, choose No and ask one more clarifying question later."

Use IF when you can state the rule precisely, and Decide when the answer depends on how the customer worded things. Never use Decide for anything that must be exact, such as a verified status.

Choosing between steps

GoalStep
Ask for detailsCollect
Say something fixedReply
Reject bad inputValidate
Branch on a factIF condition
Branch on judgementDecide
Was this page helpful?

Last reviewed 2026-11-09

On this page