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:
- Mobile push
- Browser push
- SMS
- RCS
- Webhook
How to set up Content source
- Go to Data & Assets > Data manager > Content sources to connect a new content source. In this section click on Add content source.
![](https://files.readme.io/ca10c96-Content_sources_add_new.png)
- In the pop-up, insert a URL link to the Google sheet you want to connect. Click Continue with Google.___
![](https://files.readme.io/8c83272-Continue_with_Google.png)
- 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.
- Preview the connected Google Sheet on the screen. You can also switch between sheets and configure which columns should be shown in the preview.
![](https://files.readme.io/ef56fb4-image_2.png)
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.
![](https://files.readme.io/48a1da4-email_campaign.png)
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
- Go to Campaign > Email campaign > Create new. Add a content block to the visual editor and click Personalization tag
![](https://files.readme.io/2fa5a1e-personalization_tag.png)
- A new window will open where you can configure the data to add to the email.
![](https://files.readme.io/cbc8985-image_3_copy.png)
- 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.
- 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.
![](https://files.readme.io/f43db4c-image_3.png)
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:
Language | Gender | Salutation | Header |
---|---|---|---|
ES | Male | Estimado | Rebajas de invierno |
DE | Male | Lieber | Herrenverkauf |
EN | Male | Greetings | Winter sale |
ES | Female | Estimada | Chicas, rebajas!!! |
DE | Female | Liebe | Großer verkauf |
EN | Female | Hello | Winter sale |
- Customer profile attributes: Ensure your customer profile contains the necessary attributes, such as
language
andgender
. - 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
andgender
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.
![](https://files.readme.io/d90436b-image_4.png)
- 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:
![](https://files.readme.io/47a048a-image_6.png)
Reference by Jinja
To set up and manage content sources using Jinja, follow these steps:
- Go to Campaign > Email campaign > Create new. You can use content sources directly in the HTML editor via Jinja.
- You can find the Jinja helper to create a Jinja expression in the bottom right menu, represented by curly brackets.
![](https://files.readme.io/386dfce-Jinja_help.png)
- The Google sheet within a Jinja is referenced by an alias that can be found in the Settings.
![](https://files.readme.io/f681fbb-Jinja_setup.png)
- 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.
![](https://files.readme.io/2f91c1d-Jinja_option.png)
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 (_).
Updated 13 days ago