Action Block: Collect Input
Collect Input is an action block that’s used when you as a business want to ask questions to the visitor and expect answers in return. And you don’t want to just collect any random input, like if you’re asking for the visitor’s email and they input ‘abcdefgh’, it wouldn’t make sense to move ahead in the conversation without receiving a valid input.
The collect input block has a set of in-built validations that you can use to verify whether the input provided is valid and only then move forward with the flow.
Learn more about validations in Collect Input here
When should you use this?
- * collecting information like name, email, phone
- * asking questions
- * collecting feedback
- * branching the conversation flow based on the input
How do I set it up?
Step 1: Add the block on the canvas by clicking on ‘+’
Step 2: Choose collect Input
Step 3: Write down the question you want to ask
Step 4: Select validation (if required, else the default text validation is selected)
Step 5: Give a name to the variable in which the answer to this question will be stored
These variables can be used for replacing values in the conversation flow like ‘Hello #name#’, how can I help you?