Skip to content

Commit 7c33f31

Browse files
committed
add test message content
1 parent 43e6bbe commit 7c33f31

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

src/engage/campaigns/email-campaigns.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ Some email campaign fields, like **Sender email** and **Subject**, are required.
5454

5555
At this point, you can send a test email before publishing your campaign. Test emails confirm that your design, unsubscribe links, and merge tags appear as expected.
5656

57-
As part of the test send, you can select a test profile. The test profile populates the test email and replaces merge tags with personalized content, but doesn't send a test email to the test address.
57+
As part of the test send, you can enter custom values to populate the profile traits in your message.
5858

5959
Follow these steps to test your campaign:
6060

61-
1. In the **Send Email** pane, navigate to Body, then click **Test Email**.
62-
2. In the **Recipients** field, enter the email address(es) that will receive your test email.
63-
3. Search for and select a test profile.
64-
4. Click **Send Test Email**.
61+
1. In the **Send an email** pane, navigate to Body, then click **Test email**.
62+
2. If your template has profile traits, enter a trait value for the test email. This ensures that your merge tags work as expected.
63+
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
64+
3. In the **Recipients** field, enter the email address(es) that will receive your test email.
65+
4. Click **Send test email**.
6566

6667
### Publish your email campaign
6768

src/engage/content/email/template.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ To configure an email template, click **Create Template**.
3636
You can send test emails before you include a template in marketing campaigns
3737

3838
1. Select the email template you want to test on the Templates screen.
39-
2. From the Template Settings page, click **Test Email**.
40-
3. Enter email addresses that will receive the test email.
41-
- The profile that you send test messages to must have a userId in Segment.
42-
4. Select **Send Test Email**.
39+
2. From the Template Settings page, click **Test email**.
40+
3. If your template has profile traits, enter a trait value for the test email. This ensures that your merge tags work as expected.
41+
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
42+
4. Enter recipient email addresses for the test message.
43+
- Profiles that you send test messages to must have a userId in Segment.
44+
5. Select **Send test email**.
4345

4446
> success ""
4547
> You can also test email templates directly from a [Send an Email step](/docs/engage/journeys/build-journey/#send-an-email) in Journeys.

src/engage/content/sms/template.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ Use the SMS Templates screen to preview and update existing SMS message template
3030
Send a test SMS message before you include it as a step in your Journey.
3131

3232
1. After you build your SMS template, click **Test SMS**.
33-
2. Enter recipient phone numbers for the test message.
34-
- The profile that you send test messages to must have a userId in Segment.
35-
3. Click **Send Test SMS**.
33+
2. If your template has profile traits, enter a trait value for the test SMS. This ensures that your merge tags work as expected.
34+
- Empty fields show the default value that you've assigned. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}. If there's no default value, the field will be blank.
35+
3. Enter recipient phone numbers for the test message.
36+
- Profiles that you send test messages to must have a userId in Segment.
37+
4. Click **Send test SMS**.
3638

3739
If a recipient replies "Stop" to the test SMS, Twilio unsubscribes their phone number and sends an opt-out confirmation.
3840

0 commit comments

Comments
 (0)