Input Email from the user on the Call
# support
a
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.
v
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:
Copy code
yaml
# In your workflow node configuration
Extract Variables:
  - Name: email
    Type: string
    Description: "the user's email address"
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
{{email}}
variable in subsequent tool nodes to pass the captured value automatically. [See workflow variable extraction example](https://docs.vapi.ai/workflows/quickstart#add-a-second-conversation-node) Sources: - [Workflows quickstart](https://docs.vapi.ai/workflows/quickstart#add-a-second-conversation-node) - [Voice formatting plan](https://docs.vapi.ai/assistants/voice-formatting-plan)
t
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
a
@Tay Is bot intelligent enough to understand it?
t
Not always reliable though
a
What should be the best approach then? @User
t
Besides it depends on your transceiver and your provider
a
best provider?
t
Deepgram is great @Ahmer
a
I have worked with it in the past, it was not good!
c
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.
3 Views