Skip to main content
All CollectionsIntegrationsEmail messaging providers
Integrate Braze with Fresh Relevance
Integrate Braze with Fresh Relevance

Learn to integrate Braze with Fresh Relevance.

Updated over a week ago

Before you start

Things you need to know:

  • You must have:

    • A Fresh Relevance account.

    • A Braze account.


Set up in Braze

  1. Get your API key from the Braze developer console or from your Braze account administrator if you don't have console access.
    ​Learn more in Braze's API Overview.

  2. Find your Braze endpoint URL. For instance, if your dashboard URL is https://dashboard-03.braze.com, your endpoint URL is https://rest.iad-03.braze.com.

  3. On Braze's campaign details page, find the campaign ID.

Learn more

See the Braze documentation for:


Create a Messaging channel in Fresh Relevance

  1. In Fresh Relevance, expand the User menu, then go to Settings > Messaging Provider(s).

  2. Under Set up a new channel, expand the Messaging providers drop-down menu and select Braze.

  3. Select Next.

  4. Configure the settings:

Setting

Description

Channel Name

Name your channel for easy identification.

API Key

Enter the API key for Fresh Relevance to authenticate Braze.

Endpoint URL

Enter your Braze account's REST API endpoint.

Campaign ID

Enter the campaign ID to use with Fresh Relevance. You can set distinct campaign IDs for individual triggers on the trigger settings page.

Global New Contact Permission Behaviour

Set the default subscription status for new contacts in Braze as Subscribed, Unsubscribed, or Opted in.

Global Contact Exists Permission Behaviour

Choose the default subscription status for existing contacts in Braze. Options include Subscribed, Unsubscribed, Opted in or Do nothing.

Subscription Group ID

Optionally include a Braze subscription group ID. This updates the contact's subscription status in both the subscription group and globally.
​Refer to Braze's documentation for more on subscription groups.

New Contact Permission Behaviour

Define the subscription group status for new contacts as Subscribed or Unsubscribed.

Existing Contact Permission Behaviour

Set the subscription group status for existing contacts as Subscribed, Unsubscribed, or Do nothing.


Set up field mapping

To include a personalized cart layout, in your campaign emails:

  1. Map Fresh Relevance field to Braze trigger property:
    Link the cart_html field from Fresh Relevance to a corresponding trigger property in Braze.

  2. Merge cart layout in email template:
    In your campaign email template, use the mapped trigger property to embed the cart layout.

Example

Include the following snippet in your email template to display the personalized cart layout:

Hello {{custom_attribute.${firstname}}} {{custom_attribute.${lastname}}}!

Did you forget something?

{{api_trigger_properties.${cart_html}}}

Learn more in Field mapping.


Create triggers in Fresh Relevance

Learn to create Fresh Relevance trigger programs in Set up trigger programs.


Send a test email or SMS

To ensure Fresh Relevance is working correctly after setup, follow these steps to send a test message:

  1. Go to Content > Cart Layout and select Default Cart Layout.

  2. Under the heading Send Test Message, expand the drop-down menu and select the message you want to test.

  3. Enter an email address or phone number to send the test email to.

  4. Select Send Test Message(s), and a popup message appears at the top of the screen, confirming that a test was sent.

The test email or SMS is delivered to the specified email address or phone number.

Did this answer your question?