Skip to main content
Saleor → SnowflakeIntegration guide

Connecting Saleor to Snowflake

Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. 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 Saleor order 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

Saleor to Snowflake: orders from the API, deduplicated by status

Bring Saleor orders into Snowflake through order webhooks to a small receiver plus a periodic GraphQL backfill, since hosted plans may block database access. Model one row per order number and status from raw payloads. Store amount and currency separately, with gross, shipping, tax, voucher and refund columns, and share partners a view with hashed email.

Saleor runs on PostgreSQL, but on a hosted Saleor environment you may not get direct database access; check what your plan allows. The dependable routes into Snowflake are Saleor's order webhooks, delivered to a small receiver that writes rows, and a periodic GraphQL export that backfills anything a webhook missed. Webhooks are at-least-once, so the same paid order can arrive twice; keep every raw payload and build a model with one row per order number and status.

Money needs care. Each Saleor channel has its own currency, so store the amount and currency separately and convert in the model with a dated rate, never by summing raw totals. Keep gross total, shipping, tax, voucher discount and refunds as separate columns, because every partner will define a conversion's value differently and you will need to answer each of them.

The reason to put Saleor orders in Snowflake rather than any warehouse is sharing with a retail or media partner without sending raw customer data. Share a view with order number, timestamp, net value and a normalized hashed email, agree the conversion definition and window in writing with the partner, and reconcile the view's totals against Saleor before anyone queries it.

Saleor → Snowflake · what breaks

Why this join usually fails — Saleor → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Saleor

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  2. 02

    A storefront that knows the click and an API that holds the money

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  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.

Saleor → Snowflake · the fix

What working looks like — Saleor → Snowflake

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

  • 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

Saleor → Snowflake · architecture

How Saleor and Snowflake actually connect

  1. 1

    Saleor holds the truth

    In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.

  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 Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  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.

Saleor → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from the Saleor order 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

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  • Sent from the browser

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  • 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

Saleor → Snowflake · diagnose

Diagnostic order — Saleor → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Inspect order metadata on a live order for the identifier

    Either it is on the order or the attribution is guesswork. There is no middle state.

  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.

Saleor → Snowflake · prove

How it gets proven — Saleor → Snowflake

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live order.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Paid orders reconciled from the API against imported conversions.

Saleor → Snowflake · free audit

What we check in the free audit

  • Count orders carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Inspect order metadata on a live order for the identifier
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Saleor orders by payment status, read from the API rather than inferred from the storefront.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → Snowflake · when not to buy

When you don't need this — Saleor → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard 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.

Saleor → Snowflake · what we deliver

What gets built — Saleor → Snowflake

  • Identifier capture into Saleor

    Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.

  • Event source: the Saleor order webhook

    Send fully paid orders at their net total, sourced from the API.

  • 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

    Refunds and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → Snowflake questions, answered

Use order webhooks into a receiver that writes raw rows, plus a scheduled GraphQL export to backfill gaps. Deduplicate on order number and status in a model.

Free · 30 min

Get Saleor and Snowflake joined properly

Free30 minutesNo obligation