funny-blue•3mo ago
Input Email from the user on the Call
I want my voice bot to note his email on the call. Can you please suggest the best way to do that, as email contains special characters, case sensitivity, and combination of alphabets and numbers? Moreover, I want to pass it to a tool further.
10 Replies
To extract an email from the user's speech and pass it to a tool, configure a variable extraction in your Vapi workflow node for the email field. For example:
Tip: Since Vapi formats emails for speech (e.g., "john dot doe at example dot com"), ensure your tool or downstream logic can convert this spoken format back to a standard email if needed. You can then use the
See workflow variable extraction example Sources: - Workflows quickstart - Voice formatting plan
{{email}} variable in subsequent tool nodes to pass the captured value automatically.See workflow variable extraction example Sources: - Workflows quickstart - Voice formatting plan
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
wise-white•3mo ago
Hey, yes you can.
Create a tool to collect your data and pass it down to whatever system you want to send it to.
Also ensure you tell the assistant to repeat the customers email
funny-blueOP•3mo ago
@Tayo Is bot intelligent enough to understand it?
wise-white•3mo ago
Not always reliable though
funny-blueOP•3mo ago
What should be the best approach then? @Tayo
wise-white•3mo ago
Besides it depends on your transceiver and your provider
funny-blueOP•3mo ago
best provider?
wise-white•3mo ago
Deepgram is great @Ahmer
funny-blueOP•3mo ago
I have worked with it in the past, it was not good!
It depends on what your use case is, but deepgram is good for most people because it is fast. If you want something more accurate but a little slower, use assemblyAI. Azure transcriber is also a good alternative but like I said it really depends.