How to configure SFMC integration
This how-to explains how to insert a block of dynamic product recommendations into an SFMC (Salesforce Marketing Cloud) email by calling the Reco & Merch API from AB Tasty. This enables showing personalized products in real time, at the moment the email is opened.
Prerequisites
Access to Content Builder in SFMC.
A Reco & Merch template already configured on AB Tasty.
A valid Bearer Token provided by AB Tasty.
Required variables available in your Data Extension (e.g.
EmailAddr,CodeEAN).
Deploy a recommendation in your email
Now you can deploy a recommendation in Brevo.
Notes on SFMC
Below are some notes on SFMC
Performance
Every email open triggers a live API call.
High-volume sends (500k+ subscribers) = high API traffic.
Ensure AB Tasty API quota is sufficient.
Fallback
If the API fails, the block may be empty.
Always define a static fallback (e.g. “Top Sellers” block).
Security
The Bearer Token is sensitive.
Rotate it regularly and avoid exposing it in shared snippets.
For extra safety, use a proxy to hide the token.
Data Extension alignment
Verify all fields (
CodeEAN,EmailAddr) exist for every subscriber.If missing, the API call URL will be invalid → “400 Bad Request” errors.
Rendering
Always test in Preview & Test with real subscriber profiles.
Validate rendering across multiple email clients (Gmail, Outlook, Mobile).
Last updated
Was this helpful?



