Last modified June 14, 2021 by Shelly Wolfe

Email and SMS campaign content

Add customized, channel-specific content with Swrve’s new campaign workflow.

Swrve’s streamlined campaign workflow gives you several options to set up, customize, and manage your campaigns. The new campaign workflow is now available for all campaign types except Conversations and geo-triggered notifications. This article covers adding content to an email or SMS campaign. For information about adding content other campaign channels, select one of the following links:

We are in the process of migrating all campaign channels over to the consolidated workflow. Some campaign types require extra configuration by your CSM. To add email and SMS campaigns to your app, contact your CSM at support@swrve.com.

Campaign content

To add or edit your campaign content from the campaign build screen, on the Content block, select add + or edit . The options available for adding content depend on the campaign channel and provider. The following instructions use SendGrid as the provider for the email example and Twilio for SMS.

Personalizing your content

Certain boxes include the option to personalize your content with custom user properties—for example, the user’s name or email address. If relevant, select Insert property  to display the Insert a user property dialog. For more information personalizing email content, see Campaign personalization.

Insert a custom user property

Adding campaign content

Select a tab for details on how to add content to third-party email or SMS campaigns.

Email

Email setup

Third party email content setup

Email setup is where you enter the sender, recipient, and subject information for the email. To include custom properties with any value, select Insert property .

  • From name: Enter the the sender’s name.
  • From email: Enter the the sender’s email address.
  • To: Select Insert property to select the user property that contains the recipient’s email address.
  • Subject: Enter the subject for the email.

Email content

Select an option for adding your email content: template or HTML/plain text.

Email template

Third party email content template

For third-party party email, templates are managed in your third-party system and then are available to select from the Template ID list. Select a template from the list and, if required, use the Substitutions section to personalize the email template with user-specific values. Each substitution tag in the third party email provider can be mapped to an appropriate Swrve user property to populate a list of replacement text for that tag in the email template body.

HTML/plain text

Select this option to enter your content in HTML and plain text.

Third party email content HTML and plain text

The following options are available for editing and previewing the email:

Element Description
Send test email Send test email Enter an email address to send a test email.
Full screen preview Preview Display a preview of the content and layout of your message.
Prettify your HTML Prettify your HTML Select this to give the code a more readable structure.
Toggle line wrapping Toggle line wrapping Select this to fold/unfold the text and hide sections of the code to provide a larger working area while focusing on smaller chunks of HTML.
Toggle night mode display Toggle theme Use this to switch between a dark and a light background.

SMS

SMS setup and content

Select your message recipient and sender details and enter your message content. To send a test SMS, select Send test email. Enter the number you want to send the message to using international format (for example, +12135551234), and then select Send.

SMS setup and content

  • Message Recipient Phone Number: Use the Insert property dialog to select the custom user property that contains the destination phone number.
  • Sender Number: Select the phone number, short code, or Messaging Service that sends the message. For Twilio, this is a Twilio phone number that you own, formatted with a ‘+’ and country code, for example, +16175551212 (E.164 format). You can also use a Messaging Service SID.
  • Message Body: Enter the text for the message you want to send, limited to 1600 characters. To include custom properties values in your message text, select Insert property .

When you have finished adding your content, select Save.


Next steps