Email & phone confirmation
Read this when: the script should collect or confirm the contact's phone number or email address.
Out of the box
A script confirms contact details through one contact_confirmation goal holding clones of two built-ins:
confirm-emailreads the email on file back phonetically ("that's j-o-h-n at acme dot com, correct?") and corrects it until the contact confirms. Voice transcription often mishears addresses, so this matters. With no email on file, it asks for one first.confirm-phoneasks whether the number on file is the best one to reach the contact, and takes a different number if they give one. It does not read the number back.
How to place it
Add a single contact_confirmation goal, exactly this skeleton:
{
"name": "Confirm contact details",
"goal_type": "contact_confirmation",
"goals": [
{ "name": "confirmed phone", "copy_from": "confirm-phone" },
{ "name": "confirmed email", "copy_from": "confirm-email" }
]
}
Hard rules:
- Keep both children, or drop the one the user doesn't need. Keep their order: phone first, then email.
- Never rename the children, add fields to them, or add other children. The block's panel only recognizes these exact clones, and the
contact-confirmation-shaperule flags anything else. A clone named after a contact field (phone,email) fills itself from that field and never asks. - Do not add messages,
value_type, orfulfillmentto thecontact_confirmationgoal. Only itsname,conditions,proactive, triggers, and transitions vary. - Name it for what's confirmed ("Confirm email" when only email is kept). Place it where the details are needed, typically before a send. When the script also schedules a meeting, keep only the phone.
- Confirm the email once per call. Every
confirm-emailclone and every email-confirming block count once each, and all jumps toconfirm-emailtogether count once. The check counts the whole script, branches included, so keep one confirmation even when the others sit on branches that never meet. Meeting scheduling also confirms the email with every provider except the HubSpot link; then drop the email child, or the whole block when only email was kept.
Results
{confirmed phone}holds the number the contact confirmed or gave.{phone}keeps the number on file.{email}holds the confirmed address; the email confirmation writes it there, replacing the address on file for the rest of the call.{confirmed email}becomesyesonce the contact confirms it.- Neither value is saved back to the contact record.
- The goal completes only when every kept detail is confirmed, so a contact who never confirms the email holds the block open. Its "completed" transitions fire only after that.
- With no number on file, a "yes" to "is this the best number?" stores a placeholder number. When calls may arrive without a number (web calls, anonymous callers), gate the block with
conditionsor keep only the email.
Older scripts clone confirm-email / confirm-phone directly under other names, which the standalone-copy rule flags. When the user works on that part of the flow, replace those clones with the block and update every reference to the old goal names.
Without a fixed flow position
To confirm the email only when an event happens, jump to the built-in from an event tool instead of adding the block. All such jumps reach one instance, and it counts toward the once-per-call limit:
"fulfillment": [{ "timing": "collected", "trigger": "confirm-email" }]
Knobs
%email_collection_message%: how the agent asks for the email when the contact has none on file (default "Could you confirm your email address for me?"). The block's panel edits it. Meeting scheduling's own email confirmation reads it too.
The phone confirmation has no knobs.
When a plain answer is enough
If phonetic confirmation isn't wanted (e.g. the value is only logged, never used to send anything), skip the block and use a plain ask goal with value_type: "email" / "phone" (02 §2.4). Otherwise always use the block. A misheard address silently breaks every later send.