Connecting Chargebee to Braze
Chargebee is a billing system, so it holds the only complete record of what a subscription business earned — and it sits entirely outside the browser. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the Chargebee subscription before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Chargebee subscription state as Braze attributes
Braze subscription campaigns need state, so update Braze user attributes like plan, status and next billing date from Chargebee webhooks, sending only first payment and cancellation as events. Use your app's user ID as external_id, never the Chargebee customer ID, record processed webhook event IDs since Braze doesn't deduplicate, and decide who owns dunning.
Braze campaigns about subscriptions usually need state more than events: current plan, status, next billing date, whether a cancellation is scheduled. Chargebee holds all of that, so the most useful integration updates Braze user attributes from Chargebee webhooks and sends only a few true events, such as first payment and cancellation, as custom events or purchases. Otherwise every renewal becomes a trigger and someone eventually builds a campaign that fires monthly by accident.
The join is the Braze external_id, which is almost always your app's user ID, not the Chargebee customer ID. Store one on the other: either set the Chargebee customer ID to your user ID at creation or keep your user ID in a Chargebee custom field. A webhook that only knows the Chargebee ID and posts it as external_id creates a second Braze profile for a customer who already exists, and that profile then receives onboarding messages for an app it never opened.
Chargebee resends webhooks it believes failed, and Braze does not deduplicate. Record processed webhook event IDs on your side before posting. Also decide who owns dunning: Chargebee can email about failed payments itself, and a Braze campaign on the same event means two messages about one declined card.
Chargebee → Braze · what breaks
Why this join usually fails — Chargebee → Braze
- 01
The Braze external user ID never reaches Chargebee
The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.
- 02
Trials longer than any cookie
The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.
- 03
Duplicate events sending duplicate push notifications
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
- 04
Nothing reconciles afterwards
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Chargebee → Braze · the fix
What working looks like — Chargebee → Braze
The Braze external user ID on every subscription
Conversions arriving in Braze
The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.
Reconciled against the source
Chargebee → Braze · architecture
How Chargebee and Braze actually connect
- 1
Chargebee holds the truth
The distinction that matters most here is invoice generated versus payment succeeded. An invoice is a bill you sent; a payment is money you received, and in any business with dunning the gap between them is large.
- 2
Braze needs a click to match
Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.
- 3
The identifier is the bridge
The Braze external user ID, captured at the visit and carried into the Chargebee subscription.
- 4
The event source decides reliability
Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
- 5
Deduplication at the destination
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Chargebee → Braze · normal or broken
Working vs. broken, side by side — Chargebee → Braze
Normal, not a fault
The Braze external user ID present on the subscription
Sent from the Chargebee payment_succeeded webhook
Deduplicated correctly
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Reconciles with the source
Actually broken
The Braze external user ID missing on most records
The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.
Sent from the browser
The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.
Counted twice, or not at all
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
Nobody has reconciled it
Chargebee → Braze · diagnose
Diagnostic order — Chargebee → Braze
- 01
Count subscriptions carrying the Braze external user ID
- 02
Follow one real conversion end to end
- 03
Check whether the event fires on invoice or on payment
Invoice-based firing counts money you have not received, and in a business with dunning that overstates consistently.
- 04
Send a test purchase and read the user profile's event stream
One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.
- 05
Read the match rate, not the success message
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Chargebee → Braze · prove
How it gets proven — Chargebee → Braze
Source of truth
Chargebee's paid invoices by payment date, net of refunds and failed payments.
- The Braze external user ID confirmed present on a live subscription.
- The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
- A dunning sequence confirmed to produce one conversion rather than one per retry.
Chargebee → Braze · free audit
What we check in the free audit
- Count subscriptions carrying the Braze external user ID
- Follow one real conversion end to end
- Check whether the event fires on invoice or on payment
- Send a test purchase and read the user profile's event stream
- Read the match rate, not the success message
Checked against
Chargebee's paid invoices by payment date, net of refunds and failed payments.
Free30 minutesNo obligation
Chargebee → Braze · when not to buy
When you don't need this — Chargebee → Braze
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the Braze external user ID.
- If your trial is longer than 90 days, uploading the first payment against the original click cannot work — we will tell you that before quoting.
- If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.
Chargebee → Braze · what we deliver
What gets built — Chargebee → Braze
Identifier capture into Chargebee
Write the click identifier to a custom field on the Chargebee customer or subscription when the subscription is created, server-side, rather than relying on the hosted checkout page to carry it.
Event source: the Chargebee payment_succeeded webhook
Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
Dispatch to Braze
The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.
Reversals where they exist
Cancellations and refunds are exposed and should reverse the lifetime value claimed at acquisition.
Written guarantee
95%+ tracking accuracy
Measured against Chargebee's paid invoices by payment date, net of refunds and failed payments.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Chargebee → Braze questions, answered
Your own user ID as Braze's external_id, stored on the Chargebee customer. Using the Chargebee customer ID directly creates duplicate Braze profiles.
No. Update plan and billing-date attributes on renewal and keep events for first payment, cancellation and reactivation.
Almost always because the Braze external user ID never reached the Chargebee subscription. The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default. Measure coverage before debugging the dispatch.
Braze identifies people by an external_id you assign, usually your own user ID, with anonymous device profiles merged in once a user signs in. There is no click identifier at all. Getting the external ID right is the entire integration; getting it wrong fragments one customer into several profiles who each receive the same campaign.
The Chargebee payment_succeeded webhook. Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
More on Chargebee → Braze
- Chargebee → Google AdsConnecting Chargebee to Google Ads
- Chargebee → MetaConnecting Chargebee to Meta Conversions API
- Chargebee → GA4Connecting Chargebee to GA4
RELATED GUIDES
Where Chargebee → Braze fits in the rest of your tracking
- Authorize.net → BrazeConnecting Authorize.net to Braze
- Paddle → BrazeConnecting Paddle to Braze
- Zip → BrazeConnecting Zip to Braze
- Chargebee → KlaviyoConnecting Chargebee to Klaviyo
- Chargebee → AttentiveConnecting Chargebee to Attentive
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Square → BrazeConnecting Square to Braze
- Helcim → BrazeConnecting Helcim to Braze
Free · 30 min
Get Chargebee and Braze joined properly
Free30 minutesNo obligation
