Skip to content

Commit 98aea2b

Browse files
committed
more cleanup [netlify-build]
1 parent 472a8b2 commit 98aea2b

File tree

1 file changed

+29
-18
lines changed
  • src/connections/destinations/catalog/actions-twilio-messaging

1 file changed

+29
-18
lines changed

src/connections/destinations/catalog/actions-twilio-messaging/index.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ This destination supports two ways to send messages:
2121
- **Content templates**: Messages pre-built and managed in Twilio.
2222
- **Inline messages**: Messages created directly in Segment, with dynamic fields and variables.
2323

24-
Twilio Messaging integrates tightly with Segment's data and audience tools, so you can deliver timely, personalized messages without building custom integrations.
24+
Twilio Messaging works with Segment's data and audience tools to send timely, personalized messages without extra integration work.
2525

2626
> info "Twilio Messaging Destination Private Beta"
27-
> Bidirectional sync is in Private Beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
27+
> The Twilio Messaging Destination is in Private Beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
2828
2929
## Getting started
3030

@@ -74,21 +74,7 @@ it's publicly available and searchable in the workspace catalog. -->
7474

7575
## Configuring message mappings
7676

77-
The Twilio Messaging destination supports one mapping: **Send message**. Use this mapping to define when messages get sent and what content they include.
78-
79-
To configure the Send message mapping:
80-
81-
1. From the destination page, go to **Mappings**.
82-
2. Click **New Mapping**.
83-
3. Select the **Send message** action.
84-
4. Choose the trigger event and map the required fields. For example, specify the recipient's phone number and message content.
85-
5. Configure any additional fields, such as variables or media URLs.
86-
6. Click **Save** to create the mapping.
87-
7. Enable the mapping to start sending messages.
88-
89-
## Configuring message mappings
90-
91-
The Twilio Messaging destination supports one mapping action: **Send message**. Use this mapping to define when messages are sent and what content they include.
77+
The Twilio Messaging destination supports one mapping action: **Send message**. Use this mapping to define when messages get sent and what content they include.
9278

9379
### Set up the Send message mapping
9480

@@ -163,9 +149,34 @@ If you’re using a **Content Template**:
163149
- In Segment, map each variable to the event property it should pull from. For example, if your template says `Hello {{first_name}}`, map `first_name` to the user’s first name property.
164150

165151
If you’re writing an **inline message**:
166-
- Add variables directly in your message body using handlebars, like `Hello {{first_name}}`.
152+
- Add variables directly in your message body using Handlebars, like `Hello {{first_name}}`.
167153
- Define each variable in your mapping so Segment knows what value to insert.
168154

169155
You can also use variables in Inline Media URLs to dynamically include different media based on event data.
170156

171157
Make sure all variables you reference in your message are included in your mapping configuration.
158+
159+
## Additional features
160+
161+
Twilio Messaging also supports a few optional settings you can use in your mappings.
162+
163+
### Validity period
164+
165+
The **Validity Period** controls how long Twilio keeps trying to deliver your message. It’s set in seconds, with a minimum of 1 and a maximum of 14400 (4 hours). If the message isn’t delivered within this time, it won’t be sent. The default is 14400 seconds.
166+
167+
### Send At
168+
169+
The **Send At** field lets you schedule a message to be sent at a specific time. Enter the time in ISO 8601 format. Messages won’t send before this time, and if the scheduled time passes, new messages triggered after that time won’t send either. Also, keep in mind that Twilio processes scheduled messages as they come in, so delivery might not be exactly at the time you set.
170+
171+
Use these settings if you need to control delivery timing for things like appointment reminders or time-sensitive notifications.
172+
173+
## Important considerations
174+
175+
Here are a few things to keep in mind when using the Twilio Messaging destination:
176+
177+
- **Content Templates must be created in Twilio**. You can’t create or edit Content Templates directly in Segment. Make sure your templates are built and approved in your Twilio account before selecting them in your mappings.
178+
- **WhatsApp messages require approved templates**. WhatsApp doesn’t allow freeform messages unless it’s part of an active conversation window. For outbound messages, you’ll need to use approved Content Templates.
179+
- **Phone numbers must be approved**. Any phone number you use to send messages must be approved in your Twilio account and support the channel you’re sending on.
180+
- **Message logs and errors**. If a message fails to send, you can view details in your Twilio Console message logs. Common issues include invalid phone number formats or missing required template fields.
181+
182+
Understanding these details will help you set up your messaging flows smoothly and avoid unexpected errors.

0 commit comments

Comments
 (0)