Content sources

Content sources feature brings the power of lookup tables into the channels in the Engagement application. It helps you:

  • Create a draft of the email in different languages or for different audiences using tools like Google Sheets and transfer it into the application in a few clicks.
  • Personalize emails for every user based on data from the content source table.

How content sources work

This feature enables you to import data from Google sheet and use it in Scenarios, Email campaigns or SMS campaigns. You can use content sources in the following nodes:

  • Email
  • Mobile push
  • Browser push
  • SMS
  • WhatsApp
  • RCS
  • Webhook

How to set up Content source

  1. Go to Data & Assets > Data manager > Content sources to connect a new content source. In this section click on Add content source.
  1. In the pop-up, insert a URL link to the Google sheet you want to connect. Click Continue with Google.___
  1. Click Allow to enable Bloomreach Engagement access to the Google sheet. You need access to the Google sheet you want to connect with Bloomreach Engagement. After connecting, the data is stored in the Engagement application independently of the Google sheet source.
  2. Preview the connected Google Sheet on the screen. You can also switch between sheets and configure which columns should be shown in the preview.

Data visibility and limitations

  • All users with access to the Content source section can see data from the Google Sheet even if they don’t have access to the source Google Sheet.
  • Changes in the source Google Sheet are not automatically reflected in the application. You need to trigger updates manually for every connected Content source

Content source in email campaigns

To use a content source within an Email campaign or an Email node in a Scenario, you need to specify which Google Sheet will be used.

Go to Campaigns > Email campaigns > Settings. Click Add content source and follow the same instructions as in How to set up content source section. You can add up to 10 content sources.

When you configure content source, you can use it directly in the email editor. You have two options to use content source as:

  • Personalization tags
  • Direct access with Jinja

Personalization tags

  1. Go to Campaign > Email campaign > Create new. Add a content block to the visual editor and click Personalization tag

  1. A new window will open where you can configure the data to add to the email.
  1. If you choose the Simple lookup option, you need to select a specific sheet connected with the node. Then, select the column and line from the sheet. The preview will show the actual value of the field.

📘

In a source Google Sheet, the first line is used for the header. Therefore, row 1 in our application corresponds to row 2 in the source Google Sheet.

  1. If you choose Advanced personalization, you can select the row from the content source (Google sheet) based on the condition and then use values from this line to personalize the message.

Use case example of Advanced personalization

To personalize a salutation based on the language and gender of users, you can use the Advanced personalization feature in Bloomreach Engagement. Here's how you can set it up:

Assume you have the following table in a Google Sheet:

LanguageGenderSalutationHeader
ESMaleEstimadoRebajas de invierno
DEMaleLieberHerrenverkauf
ENMaleGreetingsWinter sale
ESFemaleEstimadaChicas, rebajas!!!
DEFemaleLiebeGroßer verkauf
ENFemaleHelloWinter sale
  • Customer profile attributes: Ensure your customer profile contains the necessary attributes, such as language and gender.
  • Content source: Use a Google Sheet as your content source. Remember, the first line in the Google Sheet is used for the header, so row 1 in the application corresponds to row 2 in the source Google Sheet.
  • Setting conditions: In the email editor, choose Advanced personalization. You can then select the row from the Google Sheet based on conditions that match the customer attributes. For example, you can set conditions where the language and gender in the customer profile match the values in the Google Sheet.
  • Refine conditions: You can add more conditions by clicking on Refine condition to further tailor the personalization.
  • Choosing the column: Now, when the line is defined, you can choose the column from which you want to obtain a value, in our case, Salutation.

The full setup will look as follows:

Reference by Jinja

To set up and manage content sources using Jinja, follow these steps:

  1. Go to Campaign > Email campaign > Create new. You can use content sources directly in the HTML editor via Jinja.
  2. You can find the Jinja helper to create a Jinja expression in the bottom right menu, represented by curly brackets.
  1. The Google sheet within a Jinja is referenced by an alias that can be found in the Settings.
  1. Content source can be changed without changing the alias. This means you don't need to update the Jinja expression already in use when you change the content source.

For more details, refer to the HTML Blocks and Email Editors pages. These pages provide comprehensive information on building and personalizing emails using the visual and HTML builders, and how to use Jinja for advanced personalization.

Limitations

  • Maximum of 50 content sources per project.
  • Maximum size of one sheet is 1MB.
  • Maximum limit is 1,000 lines per sheet.
  • Maximum limit for connected sheets per node is 10.
  • When the content source is copied to another project, updates of the sheet need to be triggered in every project.
  • Column name must be unique in the sheet and can contain only alphanumeric characters and underscores (_).