Collecting & validating input
Ask a question, validate the answer, and save it to a variable.
To capture something from the user, use the Ask and save block. It sends a question, waits for the reply, validates it, and stores it in a variable.
How it works
- The block sends your question and pauses the flow (⏸).
- The user replies.
- The reply is validated against the chosen input type.
- On success it’s saved to your variable and the flow follows the
okarrow; on failure it followsinvalid.
Input types
text, number, email, phone, photo, geo (location). Each enforces a basic format so
you don’t store garbage.
Ask "How old are you?" type: number → var: age
├─ ok → Condition {{var.age}} >= 18
└─ invalid → "Please send a number"
The saved value is now a normal variable —
use {{var.age}} anywhere.