Hugo
04/23/2025, 8:28 AMVapi Support Bot
04/23/2025, 8:30 AMhttps://your-domain.com/assistant-request
)
This server URL acts as a webhook that receives incoming text messages and allows your assistant to process them.
Source:
- [Configuring a Server URL for Incoming Requests](https://discord.com/channels/1211482211119796234/1341224148667600976)Kings_big💫
04/23/2025, 8:56 AMHugo
04/23/2025, 2:54 PMKings_big💫
04/23/2025, 4:17 PMHugo
04/23/2025, 6:55 PMHugo
04/23/2025, 6:55 PMKings_big💫
04/24/2025, 12:56 PMHugo
04/24/2025, 3:01 PMHugo
04/24/2025, 3:02 PMHugo
04/24/2025, 3:02 PMShubham Bajaj
04/27/2025, 10:46 PMShubham Bajaj
04/27/2025, 10:48 PM/twilio/sms
- VAPI's method identifies the active call by matching:
- The phone number the SMS was sent to (VAPI number)
- The phone number the SMS was sent from (Hugo's number)
2\. Message delivery:
- When the active call is found, the SMS is published to a Redis channel specific to that call:
3\. Integration with conversation:
- The SMS is automatically injected into the conversation as a user message
- The assistant receives it as part of the conversation context
- The message appears with metadata indicating it's an SMS:
{
role: 'user',
content: message.body,
metadata: {
type: 'sms',
source: message.from,
}
}
you can send the first SMS without any special configuration, as long as there's an active call between him and the VAPI number. The assistant would immediately have access to the content of that SMS and could respond accordingly during the same call.