Twilio Engage Messaging Destination
UpdatedAbout this integration
Twilio Engage brings Segment, Twilio, SendGrid, and WhatsApp together to help you create and send email, SMS, and WhatsApp campaigns to your customers. As a destination, you can identify profiles in Twilio and send events that trigger messages, helping you maintain timely, personal relationships with your customers.
This destination is specifically for Engage audience workflows. If you want to send SMS based on individual track or identify events, use the standard Twilio destination. For multi-step communication workflows, use Twilio Studio.
Use cases
- Send targeted SMS campaigns to audience segments. When someone enters an audience—for example, “high-value customers”—automatically send them a promotional text message.
- Deliver WhatsApp notifications to audience members using Twilio’s WhatsApp Business API. Reach customers on their preferred messaging channel.
- Trigger re-engagement messages when users enter a “lapsed” or “at-risk” audience segment, nudging them to return with a personalized SMS or WhatsApp message.
- Send subscription-aware messages that automatically respect opt-in status. This destination checks subscription status before sending, so you only message people who’ve opted in.
Getting started
Go to Data & Integrations > Integrations and select the Twilio Engage Messaging entry in the Directory tab.
(Optional) Select the data sources that you want to connect to your outbound integration. You can always connect data sources later. We’ll only show you data sources that work with your integration.
Configure your integration.
Twilio Account SID: Twilio Account SID
Twilio Api Key SID: Twilio API Key SID
Twilio Api Key Secret: Twilio API Key Secret
Profile Api Environment: Profile API Environment
Profile Api Access Token: Profile API Access Token
Space Id: Space ID
Source Id: Source ID
Webhook Url: Webhook URL that will receive all events for the sent message
Twilio Hostname: Overrides the default Twilio host name used mainly for testing without having to send real messages.
Connection Overrides: Connection overrides are configuration supported by twilio webhook services. Must be passed as fragments on the callback url
Region: The region where the message is originating from
Click Enable Destination.
Actions
When you’re done setting things up, you can go to the Actions tab to see how we map incoming data to your integration.
You may need to add actions for this integration
While we often have default triggers for actions, we don't always add those actions as defaults. You may need to add actions to make sure that you're sending all the data that you want to send to your integration. See our actions page for help setting up actions.
| Action | Default Trigger | Description |
|---|---|---|
| Send SMS |
| Send SMS using Twilio |
| Send WhatsApp |
| Send WhatsApp using Twilio |
Send SMS
The Send SMS action sends a text message through Twilio when the trigger conditions are met. By default, this action triggers on track events where the event name is Audience Entered.
Key fields to configure:
- From (required): The Twilio Phone Number, Short Code, or Messaging Service SID to send from.
- Body: The message content. You can use variables to personalize the message.
- Media URLs: (Optional) URLs for media attachments, sent as MMS.
- Content SID: (Optional) A Twilio Content API template SID if you want to use pre-approved message templates.
Send WhatsApp
The Send WhatsApp action sends a WhatsApp message using Twilio’s WhatsApp Business API. Like the SMS action, it triggers by default on Audience Entered track events.
Key fields to configure:
- From (required): Your Twilio WhatsApp-enabled phone number, formatted as
whatsapp:+15551234567. - Body: The message content.
- Content SID: (Optional) A Twilio Content API template SID for pre-approved WhatsApp templates. WhatsApp requires pre-approved templates for business-initiated conversations.
Things to know
- Subscription status is enforced. This destination checks each recipient’s subscription status before sending. It only sends messages to people with a
subscribedstatus, so you don’t need to build separate opt-in logic. - API keys are required (not Auth Tokens). Unlike the standard Twilio destination, this integration uses API Key SID and Secret pairs. Create these in your Twilio Console.
- WhatsApp templates may be required. WhatsApp Business API requires pre-approved message templates for business-initiated conversations. If you send WhatsApp messages outside of a 24-hour customer-initiated window, you need a Content SID pointing to an approved template.
- Default trigger is “Audience Entered.” Both SMS and WhatsApp actions come pre-configured to trigger when someone enters an audience. You can change this, but the destination works best with audience-based workflows.
- Standard Twilio rates apply. Twilio bills SMS, MMS, and WhatsApp messages according to your plan.
