Send several messages and validate replies in a flow
Multiple Messages And Validations, validation, capture response, variable, validation fail messageWhen you finish, your flow can send two messages one after the other, save what the customer replies, and refuse to move on until the reply is the right type.
Add a second message
Section titled “Add a second message”-
In your flow, find the three buttons on the right of a message. Use them to add a message above or below, edit the message or delete it.
-
Click to add a message above or below. The customer gets both messages one after the other. For example, the second message can ask the customer to share a picture of the product.
You can add only two messages in a row.
Save a reply and validate it
Section titled “Save a reply and validate it”-
Click the three lines on the left of an answer to capture the response as a variable.
-
Give the variable a meaningful name, such as
image. It stores the customer’s reply so you can use it later in the flow. -
To add a validation check, choose the response type you expect:
- alphanumeric
- image
- number
- phone number
The flow does not move on until the customer sends a reply of that type.
-
Add a validation fail message to send when the reply is the wrong type. For example: “Sorry, that is not a valid response. Please share an image to proceed.”
-
Click Submit. The answer now shows the response type (for example, image media) and the variable name.
Validation is not available for interactive (button or list) messages. Those use a fallback action instead.
Watch the walkthrough
Section titled “Watch the walkthrough”Related
Section titled “Related”Was this page helpful?
Thanks, this helps us improve this page.
Still stuck? Email support@businessonbot.com