Migrating Braze campaigns, segments, and event data to Salesforce Marketing Cloud (SFMC) enables unified analytics, centralized audience management, and consistent cross-channel messaging across your marketing stack. This process requires careful planning, data mapping, and integration setup—it does not happen automatically. You’ll need access credentials for both platforms, a clear understanding of your data model, and time to validate outputs. This guide walks you through the essential steps to replicate Braze functionality in SFMC using native tools like Data Extensions, Journey Builder, and Event Streams.
What You’ll Need
- Braze account access with permissions to export campaigns, segments, and event data (especially via API or CSV export)
- Salesforce Marketing Cloud account with Admin or Developer privileges (to configure Data Extensions, Automation Studio, and Journey Builder)
- API keys and endpoints for both platforms: Braze REST API (for segments/events) and SFMC FuelSDK or REST API (for data ingestion)
- Data mapping document listing Braze attributes, segment criteria, and event schemas → SFMC field names, Data Extension structures, and event keys
- External ID field plan to uniquely identify users across systems (e.g., email, user_id, or composite key)
- Testing environment (e.g., a sandbox SFMC BU or non-production Braze workspace) to validate before full migration
Step-by-Step
- Export Braze segment definitions and user data
- In Braze, navigate to Audience > Segments for each segment. Click the segment, then Export > JSON to capture filter logic (e.g., "users who opened email in last 7 days AND are in EU").
- For user-level data, use the Braze REST API endpoint
/users/external_ids/exportwith a date range and required attributes. For example:POST https://rest.iad-01.braze.com/users/external_ids/exportwith body:{"external_ids": ["user123", "user456"], "fields_to_include": ["email", "first_name", "custom_attributes"]}. - For campaign-level info, go to Campaigns, select each campaign, and export Details & Settings as JSON (includes trigger conditions, message content, and send timing).
- Prepare SFMC Data Extensions
- Create a new Data Extension in SFMC (e.g., name it Braze_Migration_Users). Set the primary key to match your external ID (e.g., email_address or user_id).
- Add fields corresponding to Braze attributes: map first_name, last_name, and Braze custom attributes (e.g., subscription_tier) to SFMC data types (Text, Number, Date).
- For event history, create a separate Data Extension (e.g., Braze_Event_History) with fields: user_id, event_name, event_timestamp, and properties (as JSON Text).
- Load exported data into SFMC
- Convert Braze JSON exports to CSV or use a script to parse JSON → CSV (e.g., Python with
pandasorjq). - In SFMC Automation Studio, create an Import Activity:
- Set File Location to Enhanced FTP (upload your CSV there first).
- Map CSV columns to your Data Extension fields. Ensure case sensitivity and formatting match (e.g., Braze’s user_id → SFMC’s user_id).
- Run the import to populate Braze_Migration_Users and Braze_Event_History.
- For large datasets (>100k rows), split imports into batches or use the REST API /data/v1/imports endpoint for streaming ingestion.
- Convert Braze JSON exports to CSV or use a script to parse JSON → CSV (e.g., Python with
- Recreate Braze segments as SFMC filters
- Use Query Activity in Automation Studio to build reusable filters. For example, to replicate "users who opened email in last 7 days":
SELECT email_address, user_id FROM Braze_Migration_Users WHERE last_open_date >= DATEADD(day, -7, GETDATE()). - Store results in a new Data Extension (e.g., Active_Openers_7d). Schedule this query daily to keep segments current.
- For complex segments (e.g., nested conditions), break them into multiple Query Activities or use Decision Split logic in Journey Builder later.
- Use Query Activity in Automation Studio to build reusable filters. For example, to replicate "users who opened email in last 7 days":
- Set up event-triggered journeys
- In SFMC Journey Builder, create a new journey with Event Source = Data Extension (for batch events) or API Events (for real-time).
- Use Braze_Event_History as the entry source. Map event_name to the event key (e.g., "purchase").
- For Braze-triggered events (e.g., app opens), configure a webhook or use Braze’s Outbound API to push events to SFMC’s
/interaction/v1/entriesendpoint when an event occurs. - Test with a single event (e.g., manually insert a row into Braze_Event_History) and verify the journey entry.
- Validate and sync audience state
- Create a comparison report: export a random sample of users from Braze and SFMC, then compare counts, key attributes, and segment membership using a tool like Excel or SQL.
- Check time zones: Braze uses UTC; ensure SFMC Data Extensions store timestamps in UTC and journeys respect UTC offsets.
- Run a 24-hour test: trigger 5-10 Braze campaigns, verify they appear in SFMC, and confirm no data loss or duplicates.
Common Mistakes
- Ignoring field type mismatches: Braze stores booleans as
true/false, but SFMC expects1/0for Number fields—this causes import failures. - Overlooking composite keys: If Braze uses
user_id + app_versionfor uniqueness, SFMC must replicate this in primary key setup to avoid duplicate records. - Assuming 1:1 segment parity: Braze segments support real-time logic; SFMC segments (via Query) are static at query time—schedule frequent updates to minimize drift.
- Skipping event normalization: Braze events like
"app_opened"may become"AppOpened"in SFMC—standardize names in your mapping doc to prevent journey entry failures. - Not securing PII during transfer: CSV exports may include emails or names—encrypt files on FTP, and delete raw exports after import.
Tips
- Start with one campaign: Migrate a low-volume, non-critical campaign first (e.g., a welcome email) to test the full pipeline before scaling.
- Use Data Designer for joins: Link Braze_Migration_Users and Braze_Event_History in Contact Builder > Data Designer to enable journey filters like "users who opened email AND made a purchase".
- Leverage Scheduled Journeys: For Braze’s daily digest campaigns, create SFMC journeys with Re-entry = Once per duration and daily schedules to match behavior.
- Monitor API quotas: Braze’s export API limits 500k records/hour; schedule imports during off-peak hours or use pagination to avoid 429 errors.
- Document field mappings: Maintain a master sheet (e.g., Google Sheets) with columns: Braze Attribute, SFMC Field, Data Type, Transformation Rule—update it as you refine.
Troubleshooting
If your migration doesn’t go to plan, follow this checklist:
- Import fails with “Invalid data”: Check CSV formatting—ensure quotes are escaped (
"→""), dates useYYYY-MM-DD HH:MM:SS, and numbers have no commas. Re-run with a 10-row test file first. - Segments show no contacts: Verify Query Activity syntax—common issues include incorrect table names, missing
WHEREclauses, or timezone mismatches (e.g., usingGETDATE()vsGETUTCDATE()). - Events won’t trigger journeys : Confirm the event key in SFMC matches Braze’s event name exactly (case-sensitive). Test by calling SFMC’s REST API directly with cURL: .
- Data duplication appears: Check if Braze re-sends events (e.g., due to retries). In SFMC, add a unique constraint on user_id + event_timestamp in Braze_Event_History and use
UPSERTin Query Activities. - Permissions block access: Ensure your SFMC user role has Create/Update Data Extensions, Run Automations, and Manage Journey Builder permissions. Contact Salesforce Support if API keys expire or scopes are misconfigured.
Frequently Asked Questions
Can I migrate Braze’s real-time segments to SFMC?
Yes, but not instantly. Use Braze’s webhook exports (e.g., Segment Membership Changes) to push updates to SFMC in near real-time via API. Set up a webhook in Braze to call SFMC’s ingestion endpoint whenever segment membership changes.
Do I need to re-import all historical event data?
Only if you need full history for reporting or reactivation. For new SFMC journeys, you can import 90 days of events and use Braze webhooks for ongoing data—this reduces import time while maintaining forward-looking accuracy.
How do I handle Braze’s cohort-based campaigns?
Cohorts (e.g., “users who signed up in January”) become static segments in SFMC. Create a Query Activity that identifies cohort members using signup_date, save to a Data Extension, and use it as the entry source for journey sequences.
What if Braze and SFMC user IDs don’t match?
Map them using a common identifier like email or external_id. In SFMC, use Contact Keys set to this ID. If no shared ID exists, run a merge job using probabilistic matching (e.g., email + name similarity) before ingestion.
Will migrating to SFMC break Braze integrations?
No—if you keep Braze active during migration, both systems run in parallel. Once SFMC is validated, gradually shift campaigns and sunset Braze integrations. Always test with a 10% traffic split first.
How long does a full migration take?
Small accounts (<100k users, 2–3 campaigns): 3–5 days. Medium accounts (<1M users, 10+ campaigns): 1–2 weeks. Large accounts (>5M users): 2–4 weeks, including testing. Prioritize high-impact campaigns first.