Skip to content

Branching, validation, and variables

Control how visitors navigate multi-choice paths, handle free-text typing, validate answers, and personalise messages with placeholders.

Updated View as Markdown

Once you know the basic blocks, a few settings let you make Flow bots feel smart and personal without losing predictability.

Branching vs Survey mode on Multi Choice

  • Use Branching mode (Use option blocks for branching on) when each answer needs a different follow-up path — for example, routing "Sales", "Support", and "Billing" to different questions or AI prompts.
  • Use Survey mode (Use option blocks for branching off) when all answers follow the same next step and you just want to record the visitor’s selection — especially when you want Allow multiple selections turned on.

Letting visitors type when buttons are shown

By default, visitors must click one of the choice buttons on a Multi Choice block. If you want visitors to be able to type instead, open Bot → Settings → General and turn on Allow typing when choice options are shown.

Choose what happens when the visitor’s typed text doesn’t match one of the button labels:

  • Re-show options with a message (default): reminds the visitor to pick one of the choices and displays the buttons again.
  • Send to AI to answer, then re-show options: passes the visitor’s question to AI (using your bot’s AI Knowledge Studio settings), replies with an answer, and immediately re-displays the buttons so the flow never gets stuck.

Validating visitor answers

Aminos gives you three layers of built-in validation on Flow questions:

  1. Email validation: automatic on Email blocks and any Question block whose Block Name contains email. Customise the error copy in Settings → Internationalisation → Email validation.
  2. Numbers-only validation: toggle Only allow numbers on any Question block. Customise the error copy in Settings → Internationalisation → Number validation.
  3. Smart answer validation: toggle Smart answer validation on a Question block to stop visitors from bypassing questions with "asdf", "idk", or unrelated questions. Name fields are checked automatically without AI calls; other fields use AI to confirm relevance and clean up the saved answer. Set a friendly Retry message (up to 500 characters) to guide the visitor if their reply is rejected.

Personalising messages with {{placeholders}}

You can insert previously collected answers or Visitor Variables into any Message, Question, Email, Multi Choice, Welcome message, CTA message, or Closing message using double curly braces:

Thanks {{name}}! I see you're looking at {{page_title}}. What email should we send the quote to?
  • Flow answers: use the exact Block Name of an earlier Question, Email, or Multi Choice block (e.g. {{name}}, {{service}}, {{email}}).
  • Visitor variables: use the variable Name configured under Settings → Variables (e.g. {{first_name}}, {{plan}}, {{page_url}}).
  • If a placeholder has no value yet (and no default value on a visitor variable), keep phrasing natural so an empty value doesn’t read awkwardly, or set a Default value on the variable.

Returning to a menu with Loop

To build a self-service FAQ menu that doesn’t end after one answer:

  1. Give your main Multi Choice block a clear Block Name, such as main_menu.
  2. Connect each FAQ Option to one or more Message (or Image / Video) blocks.
  3. At the end of each FAQ branch, add a Loop block and set Loop to Block to main_menu (or add a "Anything else?" Multi Choice first with "Back to menu" leading to the Loop block).
Navigation

Type to search…

↑↓ navigate↵ selectEsc close