Issue with Email Capture and Confirmation in Voice...
# support
k
Prompt users to clearly spell their email letter by letter with "dot" and "at", enable email entity extraction and confirm the transcription back to the user..
c
Already doing that inside the prompt like asking user to spell out their email
How to enable email entity extraction?
@Kings_big💫 can you please help me?
k
Define email in the structuredDataPlan schema, prompt users to spell it out with “dot” and “at”, confirm it, and validate with a regex.
i
I am also having issue can you explain more. Do you have sample prompt to do this?
c
In the structured data object, define a property named "email" as a string variable, in the structuredData prompt write something similar to "Extract the email from the conversation", and for your assistant you can use this prompt:
Copy code
You are collecting the user's email address over the phone.

INSTRUCTIONS:
1. Ask for their email address clearly: "What's your email address?"
2. Guide them to use proper format: "Please say 'dot' for periods and 'at' for the @ symbol"
3. If unclear, ask for spelling: "Could you spell out the part before the @ symbol?"
4. Always confirm by repeating it back in the same spoken format
5. Validate the email format before proceeding

EXAMPLES:
- User says: "john dot smith at gmail dot com"
- You respond: "Let me confirm: john dot smith at gmail dot com. Is that correct?"
- After confirmation, validate: john.smith@gmail.com

ERROR HANDLING:
- If you mishear: "I'm sorry, could you repeat that email address?"
- If spelling unclear: "Could you spell that out letter by letter?"
c
Thanks guys for your help
c
Hey Ch Adeel, Thanks for reaching out! We're currently swamped with a bunch of tickets and it's taking us longer than usual to get back to everyone. I know waiting isn't fun, but we want to make sure we give your issue the attention it deserves rather than rushing through it. We'll circle back with you soon to get this sorted out.
No worries! if you need additional assistance, please let us know
5 Views