Twilio SMS integration
# support
s
I have followed the instructions you provided here https://vapi.ai/blog/vapi-sms-launch-twilio Integrated our Twilio phone number via VAPI. Our twilio phone number is registered for A2P We created the SendTextTool. Our assistant is linked to the Send Text tool It is included in the system prompt. We are able to send SMS messages from the assistant but none of the responses are getting back to VAPI. In our Tests Twilio is receiving the SMS message. I temporarily changed Twilio webhook when a message received from your api to this test Webhook and it appears to be sending data from Twilio fine. https://webhook.site/ It seems to me that either Twilio is not sending the correct structure to VAPI or something is failing on your end. Would you be able to give me an update on what is going on?
v
Thank you for the detailed information. To help narrow down the issue: After switching your Twilio webhook back from the test endpoint to Vapi, are you seeing any inbound SMS activity or errors in the Vapi dashboard's Session Logs or Webhook Logs? This will help determine if Vapi is receiving the webhook events from Twilio or if the issue is with the webhook configuration or data structure. If possible, please check for any recent entries or error messages there and let me know what you find. Sources: - [Vapi SMS Chat Documentation](https://docs.vapi.ai/chat/sms-chat) - [Vapi Inbound SMS Setup](https://docs.vapi.ai/phone-numbers/inbound-sms) - [Vapi Debugging Guide](https://docs.vapi.ai/debugging)
s
I am not receiving any errors on VAPI logs.
g
Check geo-permissions to check if your countries address is considered high or low risk number..
s
Looks like allow traffic is enabled for all countries for our account.
g
Hmmm.. could you provide me with a screenshot or something..
s
What would you like a screenshot of? My settings for geo permissions?
g
To begin with what’s your location?
s
United States - Wisconsin
g
I am kinda occupied with some projects at the moment but i would be sending you a youtube link to watch and try solving the issue.

https://youtu.be/NCf9Q-z-xUk?si=egNfE5XC3cBMaK4d

If after trying this you still couldn't get it, send me a direct message here on discord and i would forward you my whatsapp number.
I would get back to this chat tomorrow believing you’ve gotten the solution to this..
s
Sorry for the delay. I originally did work off of this video and followed the steps. I watched it again this morning to verify I didn't miss anything. I am able to send outbound texts from VAPI, just the first message only though. As soon as I try to respond to the text the message doesn't seem to deliver back into VAPI. It is getting stuck somewhere between Twilio and VAPI.
g
Alright so if am getting it right, are you saying a part of the issue completely went solved..
c
We have run some tests and are looking into this issue. Will provide an update once we have one
s
Kyle, Thank you very much for the reply. I tested this morning and looks like it is working now. Your team must have applied the fix.
c
Glad you were able to get this resolved. If anything else comes up or you need further assistance, we’re here to help.
3 Views