How to extract phone number attached to assistant ...
# support
g
In the dynamic variables there's {{customer.number}} which holds the phone number of the caller. How can I extract the phone number attached to assistant in the workflow tree? In the end I need both phone number of the caller and phone number of assistant. https://cdn.discordapp.com/attachments/1362379893291090041/1362379893471707136/image.png?ex=68022ea6&is=6800dd26&hm=c1bc8b853ed3edd3052ad94f22acbcb511cc30b1af4237b5c206b1f644b31729&
k
To get the assistant's phone number along with the caller's number, you need to use the
phoneNumberId
which holds the assistant's registered number. While {{customer.number}} is for the caller's phone, the
phoneNumberId
gives you the assistant's number from your dashboard. Set up your JSON payload for calls with both these identifiers to ensure both numbers are accessible during workflows.
g
Hello. How do I set up JSON paylod? It's an inbound call (user calls to vapi assistant).
k
Access the assistant's configuration, define the payload in the assistant.inbound section and save the changes