Skip to main content
GoCardless → Customer.ioIntegration guide

Connecting GoCardless to Customer.io

GoCardless is bank debit rather than card, which changes everything about timing — a mandate is set up now and money moves days later, repeatedly. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the GoCardless mandate before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

GoCardless to Customer.io: dunning emails with real failure reasons

Store your person identifier in GoCardless mandate metadata, since the hosted-page email may differ from the login. Send amount, currency, charge date, failure cause and retry status as attributes for pending-mandate onboarding, failed-collection and cancellation campaigns, tested with sandbox webhooks. Avoid repeating GoCardless's own notices and email on the final failure when retries are on.

Customer.io is a reasonable home for the email side of bank debit: onboarding while a mandate is pending, a notice when a collection fails, and a win-back when a mandate is cancelled. The join is the person identifier you assign, written into the GoCardless mandate metadata at setup, because the GoCardless customer email is whatever was typed on the hosted page and may not match the login email Customer.io already knows.

Send attributes the templates reference: amount, currency, the charge date, the failure cause from GoCardless and whether a retry is scheduled. An email that says "we could not collect {{ amount }}" with an empty field is the specific risk here, because Customer.io triggers on arrival whether or not the attributes exist. Build these campaigns against a test workspace with sample GoCardless sandbox webhooks before touching production.

Coordinate with GoCardless' own notifications. Bank debit schemes require GoCardless to give advance notice of collections, and it may also email customers when payments fail, depending on your settings. Your Customer.io campaign should add what GoCardless does not say, what happens next and how to update details, not repeat the same news an hour later. If you use automatic retries, trigger the customer email on the final failure rather than the first.

GoCardless → Customer.io · what breaks

Why this join usually fails — GoCardless → Customer.io

  1. 01

    The person identifier you assign never reaches GoCardless

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  2. 02

    Days between the signup and the money

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

GoCardless → Customer.io · the fix

What working looks like — GoCardless → Customer.io

  • The person identifier you assign on every mandate

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

GoCardless → Customer.io · architecture

How GoCardless and Customer.io actually connect

  1. 1

    GoCardless holds the truth

    The mandate is the acquisition; each payment is a collection against it. A subscription business on direct debit should value the mandate, not the first collection.

  2. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the GoCardless mandate.

  4. 4

    The event source decides reliability

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  5. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

GoCardless → Customer.io · normal or broken

Working vs. broken, side by side — GoCardless → Customer.io

Normal, not a fault

  • The person identifier you assign present on the mandate

  • Sent from the GoCardless payment confirmed webhook

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign missing on most records

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  • Sent from the browser

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  • Counted twice, or not at all

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

GoCardless → Customer.io · diagnose

Diagnostic order — GoCardless → Customer.io

  1. 01

    Count mandates carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier is on the mandate or only the first payment

    If it is on the payment, no later collection can be attributed — and later collections are most of the revenue.

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

GoCardless → Customer.io · prove

How it gets proven — GoCardless → Customer.io

Source of truth

GoCardless payments confirmed by charge date, against the mandate that authorised them.

  • The person identifier you assign confirmed present on a live mandate.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • A collection weeks after setup confirmed traceable to the original mandate and click.

GoCardless → Customer.io · free audit

What we check in the free audit

  • Count mandates carrying the person identifier you assign
  • Follow one real conversion end to end
  • Check whether the identifier is on the mandate or only the first payment
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

GoCardless payments confirmed by charge date, against the mandate that authorised them.

Get my free conversion tracking audit

Free30 minutesNo obligation

GoCardless → Customer.io · when not to buy

When you don't need this — GoCardless → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred mandates and count how many carry the person identifier you assign.
  • If you take one-off bank payments with no mandate, this reduces to a much simpler integration.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

GoCardless → Customer.io · what we deliver

What gets built — GoCardless → Customer.io

  • Identifier capture into GoCardless

    Pass the click identifier into the mandate's metadata at setup, so all future collections trace back to the campaign that acquired the customer.

  • Event source: the GoCardless payment confirmed webhook

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  • Dispatch to Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • Reversals where they exist

    Failed collections, chargebacks and cancelled mandates all exist and all should reduce the reported value.

Written guarantee

95%+ tracking accuracy

Measured against GoCardless payments confirmed by charge date, against the mandate that authorised them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

GoCardless → Customer.io questions, answered

Yes, by forwarding them server-side to the Track API with the person identifier stored on the mandate. Test with GoCardless sandbox events in a separate workspace first.

Free · 30 min

Get GoCardless and Customer.io joined properly

Free30 minutesNo obligation