other-emerald
other-emerald2d ago

Caller ID

How do I get VAPI to get the caller's phone number automatically to send an SMS instead of the assistant asking for the caller's phone number? I am using this in my prompt: SMS Policy - Always send an SMS to the caller at the beginning of each call. - Use the caller’s phone number from metadata: {{call.callerNumber}}. - Do NOT ask the caller to provide their number unless {{call.callerNumber}} is missing.
1 Reply
conscious-sapphire
conscious-sapphire2d ago
does {{call.callerNumber}} get the number? I have been having the same issue with API calls trying to lookup the caller name by ptheir phone number. but only in assistants, I had it working in workflow for some reason but the same variable and tool didnt work in assistant mode

Did you find this page helpful?