Skip to main content
GoCardless → SnowflakeIntegration guide

Connecting GoCardless to Snowflake

GoCardless is bank debit rather than card, which changes everything about timing — a mandate is set up now and money moves days later, repeatedly. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the GoCardless mandate before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

GoCardless to Snowflake: mandate-level lifetime value by campaign

Load GoCardless mandates, payments, refunds, payouts and raw webhook events into Snowflake with the click and campaign IDs stored in each mandate's metadata. Deduplicate on the GoCardless event ID, keep charge and payout dates separate, and compute 90- or 180-day value per mandate by campaign, net of failures, to set the acquisition value sent to ad platforms.

Snowflake is where GoCardless data becomes most useful for paid media, because bank debit revenue only makes sense over time. Load mandates, payments, refunds, payouts and the raw webhook events into tables you own, with the click and campaign identifiers you wrote into each mandate's metadata at signup. Then collected revenue, failed collections and cancellations can all be attributed back to the campaign that produced each mandate.

Deduplicate on load. GoCardless can deliver the same webhook more than once and a retried pipeline adds more, so key event rows on the GoCardless event ID and resources on their own IDs, and keep the raw payload alongside the parsed columns. Store charge dates and payout dates separately, since finance will reconcile against payouts and marketing will want charge dates, and the two differ by days.

The payoff is a feedback loop. Compute value per mandate by campaign over 90 or 180 days, net of failures and chargebacks, and use it to set the acquisition value you send to ad platforms when a new mandate is confirmed. That replaces the guess most bank debit businesses send today with a number derived from their own collections.

GoCardless → Snowflake · what breaks

Why this join usually fails — GoCardless → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier 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 clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

GoCardless → Snowflake · the fix

What working looks like — GoCardless → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every mandate

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

GoCardless → Snowflake · architecture

How GoCardless and Snowflake 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

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, 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

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

GoCardless → Snowflake · normal or broken

Working vs. broken, side by side — GoCardless → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the mandate

  • Sent from the GoCardless payment confirmed webhook

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier 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

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

GoCardless → Snowflake · diagnose

Diagnostic order — GoCardless → Snowflake

  1. 01

    Count mandates carrying whatever join key both parties agree on, usually a hashed identifier

  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

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

GoCardless → Snowflake · prove

How it gets proven — GoCardless → Snowflake

Source of truth

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

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live mandate.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • A collection weeks after setup confirmed traceable to the original mandate and click.

GoCardless → Snowflake · free audit

What we check in the free audit

  • Count mandates carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Check whether the identifier is on the mandate or only the first payment
  • Write down both parties' conversion definitions before writing any query
  • 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 → Snowflake · when not to buy

When you don't need this — GoCardless → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred mandates and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If you take one-off bank payments with no mandate, this reduces to a much simpler integration.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

GoCardless → Snowflake · what we deliver

What gets built — GoCardless → Snowflake

  • 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 Snowflake

    Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.

  • 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 → Snowflake questions, answered

Load GoCardless resources and webhook events through a pipeline you control or a connector that supports GoCardless, and deduplicate on GoCardless IDs because loads are at-least-once.

Free · 30 min

Get GoCardless and Snowflake joined properly

Free30 minutesNo obligation