Skip to main content
Recurly → BrazeIntegration guide

Connecting Recurly to Braze

Recurly is built around keeping subscriptions alive, which means a large share of the revenue it recovers comes from payments that failed and were retried rather than from anything marketing did. 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 Recurly 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

Recurly and Braze: subscription state on the profile, not just events

To send Recurly data to Braze, first make sure the Recurly account_code equals your user ID, since Braze keys everything on external_id. Write plan code, subscription state and next billing date as custom attributes, and send only transitions such as trial-to-paid, payment failed and expiry as events. Acknowledge Recurly webhooks first, process them asynchronously, and drop already-forwarded notifications.

Braze keys everything on external_id, so the first decision is whether your Recurly account_code already equals your user ID. If accounts were created with Recurly-generated codes or with email addresses, map them in middleware before anything reaches Braze, or billing events land on profiles your app never logs into and trial-ending pushes go nowhere.

Most Recurly data belongs in Braze as custom attributes rather than events: plan code, subscription state (trial, active, canceled but still in term, past due, expired), next billing date, and whether the current period is a renewal. Campaigns then target on state, which cannot double-fire. Reserve events for transitions that should trigger a message: trial converting to paid, a payment failing, a subscription expiring. That split also lets push and in-app messages check state before showing an upgrade prompt to someone already on the top plan.

The duplicate risk here is specific. Recurly retries a webhook when your endpoint does not return a success response in time, so a handler that calls Braze synchronously and then times out gets the same notification again, and Braze sends a second payment-failed push. Acknowledge the webhook first, process it asynchronously, and drop any notification you have already forwarded.

Recurly → Braze · what breaks

Why this join usually fails — Recurly → Braze

  1. 01

    The Braze external user ID never reaches Recurly

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  2. 02

    Dunning recovery counted as acquisition

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  3. 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.

  4. 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.

Recurly → Braze · the fix

What working looks like — Recurly → 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

Recurly → Braze · architecture

How Recurly and Braze actually connect

  1. 1

    Recurly holds the truth

    Dunning recovery is Recurly's core product. Revenue rescued from a declined card three days after it failed is real money and it is not a conversion — attributing it to whatever campaign is running that week is the standard mistake here.

  2. 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. 3

    The identifier is the bridge

    The Braze external user ID, captured at the visit and carried into the Recurly subscription.

  4. 4

    The event source decides reliability

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  5. 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.

Recurly → Braze · normal or broken

Working vs. broken, side by side — Recurly → Braze

Normal, not a fault

  • The Braze external user ID present on the subscription

  • Sent from the Recurly subscription 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

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  • Sent from the browser

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  • 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

Recurly → Braze · diagnose

Diagnostic order — Recurly → Braze

  1. 01

    Count subscriptions carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split subscription events into new, renewal and recovered

    Three categories, three owners. Until they are separated, no acquisition number is readable.

  4. 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.

  5. 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.

Recurly → Braze · prove

How it gets proven — Recurly → Braze

Source of truth

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

  • 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.
  • New subscription starts reconciled against imported conversions, with recovered revenue reported separately.

Recurly → 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
  • Split subscription events into new, renewal and recovered
  • Send a test purchase and read the user profile's event stream
  • Read the match rate, not the success message

Checked against

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recurly → Braze · when not to buy

When you don't need this — Recurly → Braze

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the Braze external user ID.
  • If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
  • 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.

Recurly → Braze · what we deliver

What gets built — Recurly → Braze

  • Identifier capture into Recurly

    Capture on your own domain, persist against the account, and attach to the subscription so a renewal or a recovery can still be traced without being credited as new.

  • Event source: the Recurly subscription webhook

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  • 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 inside the first billing period reverse, and so should subscriptions that never recover from a failed first charge.

Written guarantee

95%+ tracking accuracy

Measured against Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recurly → Braze questions, answered

Both: subscription state, plan and next bill date as attributes, and only the transitions that should trigger a message as events. Targeting on attributes avoids duplicate sends.

Free · 30 min

Get Recurly and Braze joined properly

Free30 minutesNo obligation