Publishing agent workflow after twilio connect
I have connected my agent workflow to an existing twilio phone number. That worked very well and after that connection I published my workflow so I have a production environment which is connected to twilio number. I also checked the integration settings which shows me that my twilio number is connected with production environment.
My problem is when I call the number the agent has the same problems like an older testversion which I already fixed and published. Is there any delay where I have to wait for? What should I also have to take care of?
2 Replies
There’s no propagation delay after you hit Publish – as soon as a new production version is created every channel that is mapped to the Production environment (Twilio numbers, chat widget, API, etc.) will start using it right away.
If you’re still hearing an earlier test version, the call is almost always being routed to the wrong environment or to an outdated webhook on Twilio. Run through this quick checklist:
• Voiceflow → Integrations → Telephony
• Make sure the phone number shows Environment: Production (not Development).
• If it’s wrong, click “Unassign”, then “Assign existing number” and pick Production. • Twilio Console → Phone Numbers → (choose the number)
• Routing region should be US and “A call comes in” should show a URL that begins
• If it points to a TwiML App, Studio Flow, SIP trunk, or an old Voiceflow URL, switch the Configure With option to Webhook and paste the Voiceflow URL that appears when you (re)assign the number inside Voiceflow. • Publish confirmation
• In the canvas, click the ⚡ (Release history) icon – the most recent entry should have today’s timestamp. If not, the project hasn’t been published yet. • Existing calls
• If you had an active call session during the publish, hang up and dial again – ongoing calls stay on the version they started with. Once the number is correctly mapped to Production and the Twilio webhook is updated, the new version will be used immediately. Docs
Setting up & assigning numbers: https://docs.voiceflow.com/docs/setting-up-twilio-integration
Publishing to production: https://docs.voiceflow.com/docs/publishing-agents-to-production
• Make sure the phone number shows Environment: Production (not Development).
• If it’s wrong, click “Unassign”, then “Assign existing number” and pick Production. • Twilio Console → Phone Numbers → (choose the number)
• Routing region should be US and “A call comes in” should show a URL that begins
https://runtime-api.voiceflow.com/…/interact?environment=production
• If it points to a TwiML App, Studio Flow, SIP trunk, or an old Voiceflow URL, switch the Configure With option to Webhook and paste the Voiceflow URL that appears when you (re)assign the number inside Voiceflow. • Publish confirmation
• In the canvas, click the ⚡ (Release history) icon – the most recent entry should have today’s timestamp. If not, the project hasn’t been published yet. • Existing calls
• If you had an active call session during the publish, hang up and dial again – ongoing calls stay on the version they started with. Once the number is correctly mapped to Production and the Twilio webhook is updated, the new version will be used immediately. Docs
Setting up & assigning numbers: https://docs.voiceflow.com/docs/setting-up-twilio-integration
Publishing to production: https://docs.voiceflow.com/docs/publishing-agents-to-production
Any other experiences on that topic? I already checked all hints here..