Ask user

Ask user asks the customer one question and stores the reply. Use it for a single piece of information. To collect several details in one conversation, use Prompt agent.

Question

The message sent to the customer. Insert parameters, variables, or context values with /. Turn on Translate to send it in the customer's language.

Reply type

  • Text: the customer types a reply or taps a quick reply.

  • Media reply: the customer answers with a file, picked from existing media or newly uploaded.

Text replies

Quick replies are buttons the customer can tap instead of typing. Add them with Add option. If you insert a variable that holds a list, each entry in the list becomes a button.

Media replies

  • Media quick replies source: where the files the customer can pick from come from. The default is the media shared in the conversation.

  • Allow for additional media uploads: when on, the customer can also upload a new file.

  • Allowed file types: which types are accepted, for both picked and uploaded files. Supported: pdf, jpg, png, webp, and gif.

Input validation

Check the reply before the flow continues.

  • Email: the reply must be a valid email address.

  • Regex: the reply must match a pattern you define, like a phone number or postal code.

  • Quick replies: the reply must be one of the quick reply options. Turn on Fuzzy Match to accept close answers: "I'll take the first one" counts as the first option.

  • None: any reply is accepted.

When the reply is invalid, On Invalid Answer decides what happens: Ask Again re-asks the question up to Retries before failure times (1 to 5), Raise Error stops the tool. Error Message is what the customer sees after an invalid reply; tell them what a valid answer looks like.