All Collections
Bloomreach
Triggered message experiments
Bloomreach - Triggered - Deploying an experiment
Bloomreach - Triggered - Deploying an experiment
Updated over a week ago

If you have completed the integration setup, you're now ready to send a triggered message experiment with Bloomreach (formerly Exponea).

To do this, you're going to use Exponea's Scenarios feature. This will allow Phrasee to optimize your send's language over preconfigured period of time. If you're not familiar with Exponea Scenarios, read up on them here before continuing.

Let's do it!

We're going to describe the minimum Scenario settings required to send a Phrasee triggered message experiment here.

When you're ready to set up an experiment, start by going to Scenarios. You'll find them by hovering over Campaigns on the left side of your Bloomreach homepage.

Start by creating a new Scenario with the Create new button.
โ€‹

Give your Scenario a unique name.

Now, start building the Scenario by adding a Trigger to start the experiment and configuring it as you normally would for your always-on/trigger-style email. In our example, we're using On event in our example.

Then, add an Other Action.
โ€‹

In the window that pops up, choose your webhook integration you created earlier. You'll recall ours is called Phrasee Get Variant.

Then, paste your Phrasee Experiment ID in the text box that appears and click Done.

Finally, add an Email Action. Connect these three nodes as shown below:

Condition

Keep in mind you assigned the Phrasee Get Variant activity specific consent categories when you set it up initially.

You may need to add a Condition node to your Scenario in order to more specifically target certain subscribers within those categories if you don't want the whole of the categories to receive your mailing.

We can now configure Email node.

Email node

The first thing you'll need to set for Phrasee testing is the Subject line field. Enter the following code in the Subject line field:

{{ webhook.variant_text }}

This code ensures the subject line is populated by the webhook data from the integration you set up earlier.

If your language model includes personalization tags, your subject line code will need to include some additional code. This will vary depending on what your personalization tag is called and what field in Bloomreach will be populating that personalization.

For example, if your tag in your Phrasee language is coming across as <PersonalizationTag> and you wanted that to be populated with your subscribers first name, your code may look something like this:

{{ webhook.variant_text | replace("<PersonalizationTag>", customer.first_name) }}

Note: When working with a new personalization tag, it is important to do thorough testing before you do a live deployment to ensure your tags are rendering correctly.

Finally, you'll need to include the Phrasee open tracking pixel in your email if you have not set up an open tracking Scenario for your project. Note: You must be logged into Phrasee to view this article.

You can use the Scenario method or the tracking pixel method for open tracking. Both work perfectly well and it totally comes down to your personal preference.

This can either be added directly to the body of your email HTML (usually best placed just above the closing </body> tag) or by adding an HTML block to your template.

You should paste the following directly into your code or HTML block:

<img src="{{- webhook.statistics_url -}}" style="position: absolute; display: none;" width="1" height="1" />

That's all, pholks!

You've now completed your minimum Scenario settings to deploy a Phrasee triggered message experiment. You can now continue sending as your normally would.

Happy optimizing!

Did this answer your question?