What it does
SMS | Get Valid Email - v0.1 collects a valid email address by SMS round-trip, without the caller having to spell it aloud. In one step it:- speaks an Opening Line asking whether the caller can reply to a text with their email,
- sends the SMS Text to the caller’s mobile,
- tells the caller the text is on its way and waits for the reply, keeping the conversation alive while it does,
- reads the reply, extracts the email address and validates its format, and
- speaks a Success Line confirming the address back — or a Failure Line if it couldn’t be collected.
Use cases
- Fill a missing email on the contact record. Point Skip If Set at
{{contact.email}}(string, e.g.jane.citizen@example.com) and map the Email output back to the same field — contacts with a known email skip the exchange entirely, everyone else gets the round-trip once. - Collect a delivery address for documents mid-call. Ask for the email at the point in the flow where it’s needed (a quote, a confirmation, a claim form) and reference why in the SMS text.
- Optional email. Where the email is nice-to-have, point the step’s true and otherwise conditions at the same next step, and let the default Failure Line (“No worries at all — we’ll leave the email for now.”) close it out gracefully.
Inputs
The default Success Line already confirms the collected address back to the caller — don’t add a second confirmation step after the tool.
Outputs
Variables this tool writes
The
sms namespace is shared with the other SMS tools (and with the calendar booking composite’s SMS confirmation), and a later SMS step can overwrite it — always map Email onto a durable variable rather than reading {{sms.email}} in later steps. The tool’s spoken lines and SMS text are inputs, not outputs.
Routing and wiring tips
- true — a valid email was captured (or the step skipped because one was already set). Otherwise — not collected: the caller couldn’t text, declined, the send failed, or no valid email arrived in the reply.
- Point Skip If Set at the same variable the Email output writes to, so repeat visits skip cleanly instead of re-texting the caller.
- The tool speaks its own success and failure lines — don’t script another acknowledgement on the very next step.
- For names, phone numbers and reference codes, use Data Collection - v0.2 instead — the SMS round-trip is specific to emails.
Next Steps
- Composite Tools — how composite steps run, and how inputs, results and outputs connect to your call.
- SMS Tools — the underlying send and read tools and the
smsvariable namespace. - Data Collection - v0.2 — collect and verify a field by voice.
- Tool Steps — configuring inputs, conditions and output mapping on a step.

