How to start a Twilio Studio workflow via Zapier integration

I’m working on an automation setup and need some help figuring this out. Basically, I want to automatically start a Twilio Studio workflow whenever someone submits a new lead through Facebook Lead Ads.

I’m thinking Zapier might be the way to connect these two platforms, but I’m not entirely sure if this integration is supported or what the best approach would be.

Has anyone successfully set up something similar? I’d really appreciate any guidance on whether this is doable and what steps I should follow to make it work. Thanks in advance for any help!

Yes, Zapier can indeed trigger Twilio Studio workflows using their REST API. I implemented a similar integration for my e-commerce platform, where I connected WooCommerce orders to Twilio flows, and it functions seamlessly. To set this up, you will need to use a webhook action in Zapier to POST to Twilio’s Executions endpoint. Secure your Account SID, Auth Token, and Flow SID from your Twilio Studio, then configure the webhook by setting the URL to https://studio.twilio.com/v2/Flows/{FlowSid}/Executions and include the phone number and lead data in the JSON parameters. Also, ensure to authenticate with your Twilio credentials. The Facebook Lead Ads trigger works well, so after setting up the webhook, new leads will automatically trigger your Studio workflow. It’s advisable to run a test with a dummy lead first to verify your data mapping.

I’ve run this setup for 8 months - works great. The biggest gotcha is phone number formatting. Facebook leads need to be in E.164 format before hitting Twilio, or the whole thing breaks. Facebook also sends leads with garbage phone numbers sometimes, so throw a validation filter in Zapier before triggering your Studio flow. Watch out for rate limits too if you’re expecting tons of leads - you might need delays or a queue. The integration’s pretty straightforward once you nail the auth and formatting, but test the hell out of it with different lead types before going live.

Just finished this same setup last week. Don’t overthink it - use Zapier’s webhook action. Pull your flow SID from the Studio dashboard and hit the executions endpoint. Make sure your contact data’s formatted right in the JSON payload or Twilio will error out. Works great once you get it dialed in.