Skip to main content
  • Home
  • >
  • Trigger SMS based on Segment Events

Trigger SMS based on Segment Events

By Twilio

  • SMS
  • Twilio
  • Quick Deploy
  • Integrations

Regulations require that you first register your number to use these resources to send SMS traffic to US and Canadian mobile destinations. If you are sending to Canada or the US and have not already done so, please see our documentation to register your Twilio phone number or Toll-Free number before you use this template.

How it works: 

  • Uses Twilio Functions to host the webhook for Segment
  • Uses Segment’s Webhooks destination to receive event notifications to the app
  • Sends out an SMS to a number when a Segment event occurs

Notes: 

  • If you’re new to Segment, you can visit this link to create a free developer account.
  • If you are not familiar with the concept of events, check out these docs to learn more about Segment’s API.
Launch and test this app in a few minutes with Quick Deploy. No server needed. Quick Deploy will automatically configure and deploy this app using Twilio Functions. Learn more about Twilio Functions
Step 1:Log in to Twilio
Step 2:Set up your application
This application requires a Twilio-supplied phone number to work properly.
Get a Twilio phone number
You will get a US number that is configured for this application. You can change this or port over an existing number later.International number regulations
Step 3:Deploy your application and try it out!
Deploy this application
This will use the details entered above to deploy your application to Twilio Functions. You will be able to view the application in the browser and edit it using the Functions UI. Learn more about Twilio Functions
Deploying applicationThis might take up to a minute
Success! Your application has been deployed.
Oops...something went wrong. Retry
Step 4:View and edit your application
Once deployed, any changes to the fields above will not be applied to your app. To make changes, here are two options
Refresh the page, edit customizations and re-deploy the application
Edit your customizations directly in code
Why use Quick Deploy?
No coding required to launch
Easy to edit and iterate post launch
No server management
Scales automatically
Secure by default

Don't see what you want? Request a code sample Explore Docs

There was an issue loading the page.

Please try again in some time.