How to take the user phone number during calling ...
# support
h
Hello, vapi developers. I am trying to make my service using vapi and i am building up the workflow on vapi for my service. can you let me know how AI assistant can get the user phone number right after the start of calling and during calling?
s
Sure! Just to make sure I understand your question — are you asking how your Vapi assistant can get or capture the user’s phone number, either automatically when the call starts, or by asking for it during the conversation? Is this for outbound or inbound as well. If you give me more details, I'll be able to answer you question better:)
h
yeah I just want to fetch some info from my db after I capture the users's phone number automatically right after the call start
so i need to know how i can get the user's phone number into workflow
not from the end of call report.
s
Are you using [Make.com](http://Make.com) or do you have it integrated right into Vapi with a CSV?
h
nono I have my own db ! i didnt use Make.com and i dont know what CSV is
s
You'll need to connect it to a webhook(make or N8N). You'll be able to get all information on a call after it's sent to the webhook. This can be set to right away so you don't have to wait for the end of call report.
h
should i put. {{caller.phoneNumber}} in the API request.body to get user's phone number in the workflow?
s
Yes, just make sure its set up to handle that request.
Let me know if you run into any issues while setting it up.
2 Views