Skip to main content
Cloudbeds → SnowflakeIntegration guide

Connecting Cloudbeds to Snowflake

Cloudbeds is an all-in-one property management, channel manager and booking engine, which means it holds both the direct booking you want and the OTA booking you paid commission on. 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 Cloudbeds reservation 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

Cloudbeds to Snowflake: keeping every version of a reservation

Land every Cloudbeds webhook or API pull in Snowflake as a raw versioned row with reservation number and last-modified time, then build a scheduled current-state table taking the latest version per reservation. Keep source channel as a first-class column. With a clean-room partner, agree in writing which date and status count as a conversion.

Snowflake is a sound destination for Cloudbeds data because the questions lodging teams ask are joins: ad spend by booking date against revenue by stay date, direct versus OTA by market, cancellation rate by channel and lead time. None of the ad platforms can answer those, and Cloudbeds' own reports do not hold your spend.

The modeling trap is that a reservation is not a fixed record. Dates move, rates change, rooms are added, and the status goes from confirmed to cancelled weeks later. If your loader overwrites the row with the latest version, you lose the booking-date view of what was sold; if it appends every webhook without care, the same reservation counts several times. Land each webhook or API pull as a raw versioned row with the reservation number and its last-modified time, then build a current-state table that takes the latest version per reservation, and schedule that step rather than running it by hand.

Keep source channel as a first-class column so direct and OTA never sum by accident, and store both booking and stay dates. If you share data with a media partner through a clean room, agree in writing on which date and which status counts as a conversion; a partner measuring on bookings and you measuring on completed stays will each get a confident and different answer from the same tables.

Cloudbeds → Snowflake · what breaks

Why this join usually fails — Cloudbeds → Snowflake

  1. 01

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

    The booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  2. 02

    OTA bookings blended with direct

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  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.

Cloudbeds → Snowflake · the fix

What working looks like — Cloudbeds → Snowflake

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

  • 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

Cloudbeds → Snowflake · architecture

How Cloudbeds and Snowflake actually connect

  1. 1

    Cloudbeds holds the truth

    The channel split is the whole commercial story in lodging. A direct booking and a Booking.com booking for the same room earn very differently, and a report that sums them tells you nothing about whether your marketing worked.

  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 Cloudbeds reservation.

  4. 4

    The event source decides reliability

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  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.

Cloudbeds → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from the Cloudbeds reservation 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 booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  • Sent from the browser

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  • 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

Cloudbeds → Snowflake · diagnose

Diagnostic order — Cloudbeds → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by source channel before anything else

    Direct versus OTA. Every subsequent number depends on that split and it is usually the first thing nobody has done.

  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.

Cloudbeds → Snowflake · prove

How it gets proven — Cloudbeds → Snowflake

Source of truth

Cloudbeds reservations by stay date, split by source channel.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live reservation.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Direct reservations reconciled per reservation, with OTA volume reported separately and cancellations reversed.

Cloudbeds → Snowflake · free audit

What we check in the free audit

  • Count reservations carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Split reservations by source channel before anything else
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Cloudbeds reservations by stay date, split by source channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cloudbeds → Snowflake · when not to buy

When you don't need this — Cloudbeds → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If nearly all your occupancy comes through OTAs, the commercial question is your channel mix rather than your ad tracking, and we would say so.
  • 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.

Cloudbeds → Snowflake · what we deliver

What gets built — Cloudbeds → Snowflake

  • Identifier capture into Cloudbeds

    Pass the click identifier into the booking engine through its supported parameters so it lands on the reservation, and segment OTA-sourced reservations out before quoting any coverage figure.

  • Event source: the Cloudbeds reservation webhook

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  • 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 are frequent in lodging and Cloudbeds records them. Without the reversal, reported direct revenue only ever climbs.

Written guarantee

95%+ tracking accuracy

Measured against Cloudbeds reservations by stay date, split by source channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cloudbeds → Snowflake questions, answered

Store every change as a raw versioned row, then build a current table that keeps the latest version per reservation number, on a scheduled job.

Free · 30 min

Get Cloudbeds and Snowflake joined properly

Free30 minutesNo obligation