Skip to main content
Treatwell → SnowflakeIntegration guide

Connecting Treatwell to Snowflake

Treatwell is a beauty marketplace with a salon booking system attached, so most of the bookings flowing through it were generated by Treatwell rather than by you. 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 Treatwell booking 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

Treatwell bookings in Snowflake, net of commission

Use Snowflake to combine Treatwell marketplace and own-widget bookings in one table, joining booking and payout exports on the booking reference so commission and discount land per row. Keep gross, discount, commission and net as columns, and merge on booking reference so overlapping exports and status changes update rows instead of duplicating them.

Snowflake is where a salon group can do what Treatwell's own reports do not: put marketplace and own-widget bookings in one table with commission and discount applied per booking, then join that to ad spend by location. That table is the honest denominator for every advertising number you report.

The source is the hard part. Check whether your Treatwell account offers anything beyond downloadable reports; if bookings and payouts arrive as periodic exports, the load is a scheduled file import, and the booking report and payout report must be joined on booking reference so commission and discount land on the right row. Store gross price, discount, commission and net as separate columns rather than only the net, so the deductions stay auditable.

The common failure is loading exports with overlapping date ranges and double-counting bookings, because nothing in Snowflake deduplicates for you. Make the booking reference the merge key and update status in place, so a booking that later becomes a cancellation or no-show changes its row rather than adding one. For a single salon this is overbuilt; the payout report in a spreadsheet does the same job.

Treatwell → Snowflake · what breaks

Why this join usually fails — Treatwell → Snowflake

  1. 01

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

    The widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.

  2. 02

    Commission and discount both omitted from the value

    A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.

  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.

Treatwell → Snowflake · the fix

What working looks like — Treatwell → Snowflake

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

  • 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

Treatwell → Snowflake · architecture

How Treatwell and Snowflake actually connect

  1. 1

    Treatwell holds the truth

    Marketplace bookings carry a commission on new clients and often a promotional discount as well. Two deductions, both invisible if you import the headline price.

  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 Treatwell booking.

  4. 4

    The event source decides reliability

    Send completed appointments net of commission and discount.

  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.

Treatwell → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from the Treatwell booking record

  • 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 widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.

  • Sent from the browser

    A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.

  • 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

Treatwell → Snowflake · diagnose

Diagnostic order — Treatwell → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Reconcile against the payout, not the booking

    The payout report is the only place where both deductions have already been applied.

  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.

Treatwell → Snowflake · prove

How it gets proven — Treatwell → Snowflake

Source of truth

Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live booking.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Own-widget bookings reconciled net against imported conversions, with marketplace volume reported separately.

Treatwell → Snowflake · free audit

What we check in the free audit

  • Count bookings carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Reconcile against the payout, not the booking
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.

Get my free conversion tracking audit

Free30 minutesNo obligation

Treatwell → Snowflake · when not to buy

When you don't need this — Treatwell → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If Treatwell is purely a client-acquisition marketplace for you, evaluate it on commission economics rather than building a tracking 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.

Treatwell → Snowflake · what we deliver

What gets built — Treatwell → Snowflake

  • Identifier capture into Treatwell

    Attribute widget bookings placed from your own site; report marketplace volume separately with its commission stated.

  • Event source: the Treatwell booking record

    Send completed appointments net of commission and discount.

  • 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

    Cancellations and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Treatwell → Snowflake questions, answered

Check what your Treatwell account exports; usually it is report downloads loaded on a schedule. Join booking and payout reports on booking reference so commission sits on the right row.

Free · 30 min

Get Treatwell and Snowflake joined properly

Free30 minutesNo obligation