Back to Help Hub
IntegrationsGuide7 min readUpdated 2026-11-19

How Do I Set Up Braze for My Campaign?

Set up Braze for a campaign in 6 short steps: pick the people, choose the profile fields, map them, pick the events, choose how leads are qualified, and finish.

Send this article context to support so a human can pick up quickly.
Need help applying this to your account?

Contact support and we will keep this article attached to your request.

Overview

After you connect Braze, Referral Factory walks you through a short setup for your campaign. You find it on the Braze page: select your campaign, open Integrations and API, and choose Messaging.
The setup has 6 steps. Each step has a Why this step? link that explains it. You can go back and change anything before you finish. Nothing is sent to Braze until you select Finish setup.
Each Referral Factory campaign has its own Braze setup. The examples use Anna, a referrer, and Tom, a lead who signed up with Anna’s link.

Step 1: Which people should we send to Braze?

Pick one or both: “Send leads, like Tom” and “Send referrers, like Anna”. New people are always created in Braze.
Then choose what happens when the person is already in Braze. Referral Factory finds people by email, or by External ID if you map it in step 3.
  • “Do nothing”: people who are already in Braze only get the referral events. The app says “no profile changes”. The only change is RF - Campaign ID on leads, because qualification from Braze needs it.
  • “Update if exists”: we also update the profile of people who are already in Braze, for example with their referral link.
Pick leads, referrers or both, then choose what happens if the person is already in Braze
Pick leads, referrers or both, then choose what happens if the person is already in Braze.

Step 2: Profile fields in Braze?

Profile fields keep each person’s referral link and code in Braze, so your messages can use them. Choose one option:
  • “Use my own Braze fields”: you map your existing Braze fields in the next step. We only create RF - Campaign ID, because qualification from Braze needs it. RF - Campaign ID is the ID of your Referral Factory campaign.
  • “Create new Referral Factory fields in Braze”: tick the fields you want. We add them to your Braze, and each name starts with “RF - ”.
Use your own Braze fields, or let Referral Factory create new fields
Use your own Braze fields, or let Referral Factory create new fields.
Create new Referral Factory fields, then tick the ones you want for leads and referrers
Create new Referral Factory fields, then tick the ones you want for leads and referrers.

Which new fields can Referral Factory create?

  • For leads: RF - Referral Link, RF - Referral Code, RF - Referred By, RF - Referral Status and RF - Campaign. RF - Referral Link and RF - Referral Code are ticked at the start. RF - Campaign ID is always added for leads.
  • For referrers: RF - Referral Link, RF - Referral Code, RF - Number of Referrals, RF - Customers Referred and RF - Campaign. RF - Referral Link, RF - Referral Code and RF - Number of Referrals are ticked at the start.

Step 3: Map fields

Here you choose where each Referral Factory value goes in Braze. There is a tab for Leads and a tab for Referrers. Each row has three parts: Data Type, From Referral Factory (Dynamic) and To (Braze). First name and Email are always sent, so they can’t be removed.
Step 1
Open a tab. Choose Leads or Referrers.
Step 2
Check each row. From Referral Factory (Dynamic) is the value we send. To (Braze) is the Braze field where we save it.
Step 3
Add a row if you need one. Select + Add More Fields. Keep Data Type on Dynamic Value, pick the Referral Factory value, then pick the Braze field. Choose Fixed Value only if everyone should get the same text.
Step 4
Can’t find a field? New Braze fields can take a few minutes to show up. Select Reload Braze fields, then open the list again.
Each row sends a Referral Factory value to a Braze field
Each row sends a Referral Factory value to a Braze field.
Pick a Braze field from the list, or reload the Braze fields
Pick a Braze field from the list, or reload the Braze fields.

Do you use your own user IDs in Braze?

Map the Referral Factory field that holds your user ID to External ID, with Data Type set to Dynamic Value. Then Referral Factory finds people in Braze by External ID instead of email.

Step 4: Which events go to Braze?

Turn on the events you want. There is a list for leads and a list for referrers. Each event is saved on the person’s Braze profile with a name that starts with “RF - ”. Under each event you see its name in Braze. Each event can start a message in Braze.
Turn on the events you want to send to Braze
Turn on the events you want to send to Braze.

Step 5: Qualify leads from Braze?

This step only shows when you send leads.
Does Braze know when a lead becomes a customer, for example from purchases in your app? Then choose “Yes, Braze tells us”. You then add a webhook to a Braze Canvas. A webhook is a message that Braze sends to another tool.
If you qualify leads another way, choose “No, another way”. For example, on the Leads page, by upload, by API, or with your CRM or Stripe.
Choose “Yes, Braze tells us” to qualify leads from a Braze Canvas
Choose “Yes, Braze tells us” to qualify leads from a Braze Canvas.

Step 6: Finish setup

Check your choices. Select Edit next to a choice to change it. Then select Finish setup.
  • Right away, we add your new fields and events to Braze, so you can use them in Braze today. To add them, we create one test profile in Braze with the External ID referral-factory-test. Its events have the property test = true. You can delete this profile later.
  • After that, when someone joins, shares or earns a reward, we send it to Braze.
  • If you chose “Yes, Braze tells us”, the lead is qualified each time your Canvas webhook runs.
Check what will happen, then select Finish setup
Check what will happen, then select Finish setup.

What does the Braze page show after setup?

After setup, the Braze page shows All 5 steps done. Finish is not counted. If you only send referrers, there is no Qualification step, so it shows All 4 steps done.
To change a step, select Edit under it. You see that step again, and maybe some later steps. At the end, select Save.
Use the Sending to Braze switch to pause sending for this campaign. When it is off, nothing is sent. Turn it on again to continue.
The Braze page after setup, with Edit for each step and the Sending to Braze switch
The Braze page after setup, with Edit for each step and the Sending to Braze switch.

Can I set up Braze in more than one campaign?

Yes. Braze is connected once for your whole account. Each Referral Factory campaign has its own setup, so select the campaign first, then open Integrations and API › Messaging.
The RF fields have the same names in every campaign. If one person is in two campaigns, their RF fields show the campaign that updated them last.
Still need help?

Send this article to support

A human can review the article you were reading and help with the exact next step.

Article feedback

Did this answer your question?

Your vote helps support spot weak articles, fix missing steps, and decide when a person should step in.