Personalize your SMS messages with data feeds (external data)

Use dynamic data from external sources or API stored in your Brevo data feeds to personalize your SMS messages. You can include information like appointment dates, event details, account updates, service reminders, and more—any data provided in the feed to make your messages personalized and useful.

❗️ Important
The Data feed feature is only available from our Starter plan.

How does SMS personalization work?

SMS personalization works by adding variables to your SMS content. When the SMS is sent, these variables are automatically replaced with information relevant to each recipient.

SMS sent from Brevo SMS received by a recipient named John
sms_example-variable-added-picker_en-us.png sms-feed_expected-result-picker_en-us.jpg

You can include different types of variables in your SMS messages:

Before you start

  • Create the data feed that you will be using to personalize your SMS message. To learn more, check our dedicated article Create a data feed
  • Ensure your data feed contains concise data that fits within the SMS character limit. Indeed, when using personalization in SMS messages, since variables are replaced with actual values at the time of sending, the final character count may vary from the one displayed in the SMS editor. For example, "Hi, FIRSTNAME." might be estimated as 33 characters but it becomes 10 characters with "Hi, Paul." and 15 characters with "Hi, Alexander.".
  • You can insert data feed variables:
    • Using the { } Add Variable menu, or
    • [Advanced] Manually, using double curly brackets.

In what type of SMS messages can I use data feed variables?

Data feed variables can be used in: 

  • SMS campaigns sent from the Campaigns page
  • Promotional SMS and transactional SMS sent from an automation created in the new editor.

About data feed types and their formatting in SMS messages

The type of data you can include in your SMS messages and their syntax depends on how you choose to insert your data feed:

Insert data feeds with Add variable menu [Advanced] Manually insert data feeds

add-variable-menu_en-us.png

The {} Add variable menu can be used to insert data feed with a flat, directly accessible structure with minimal nesting.

By using the {} Add variable menu, you can fetch only data contained in the first-level items. For example, in the data feed on the right, you can fetch only the data from Object, like the offer or date validity.

➡️ To insert more complex data, check the dedicated tab [Advanced] Manually insert data feeds.

feed_sms-valid-picker_en-us.png
💡 Good to know

You can also insert data contained in the first-level items manually using this syntax: {{feed.feedalias.variable}} where: 

  • feedalias is the exact alias name of your data feed, matching the spelling and case as it appears on the Data feeds page.
  • variable is the specific variable or field name you want to display, e.g. name, price, date.

Insert data feeds into your SMS messages

To help you understand how to insert data feeds into your SMS messages, we created a use case for illustrations purposes that you can easily adapt to your needs: Send a promotional offer for first yoga classes. For reference, we will use the following data feed for which the feed alias is yoga_classes_offers:

feed_sms-valid-manually_en-us.png

Open the tab corresponding to how you want to insert your data feed:

With Add variable menu [Advanced] Manually

In this use case, we want to send an SMS containing a discount offer and its last day of availability. We will insert our data feed using the Add variable menu because this data is flat and directly accessible:

  1. Create an SMS campaign or an automation that contains the Send an SMS step. 
  2. In the Message or Content field, enter your SMS content and place your cursor where you want to insert your data feed variable.
  3. Click the { } Add variable icon and click Data feeds from the list.
  4. Select the data feed that contains the data you need for this SMS message. In our example, yoga_classes_offers
  5. Select the variable you want to insert in your SMS message, and that will be replaced with its value at the time of sending. When the data feed is correctly inserted, an orange placeholder with its name will appear. In our example:
    • offer displays the discount available for first yoga classes, and
    • DateValidity contains the offer last day of validity. 
  6. (Optional) Apply filters to use a default value if the data feed is empty, or apply uppercase to your text, for example. To learn more, check our dedicated article Modify the formatting of your placeholders with filters.
  7. Finish the content of your SMS campaign and click Save
SMS sent from Brevo SMS received by a recipient named John
sms_example-variable-added-picker_en-us.png sms-feed_expected-result-picker_en-us.jpg

⏭️ What's next? 

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.

If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo expert partner.

💬 Was this article helpful?

0 out of 0 found this helpful