Reverse ETL is the process of copying data from your data warehouse into the business tools your teams work in, such as a CRM, an email platform, an ad platform or a spreadsheet. ETL and ELT bring data from those tools into the warehouse. Reverse ETL sends the results back out: a health score onto every HubSpot company, a lead score onto every Salesforce lead, a high-value segment into a Klaviyo list.

The name is a little misleading. Nothing is reversed. Reverse ETL is a second pipeline that runs in the opposite direction, from the warehouse to an API, on a schedule. For a short definition, see the reverse ETL dictionary entry. This guide is the long version: how a sync works step by step, the use cases by team, what a hand-built sync has to handle, and a worked example that sends a customer_health model to HubSpot and follows it through a second run.

Reverse ETL flow, four steps from left to right. Sources: an app database, Stripe and Zendesk are loaded into the warehouse by ETL or ELT, the inbound leg. Warehouse: a customer_health model with one row per account, holding a health score and usage. Mapping: the sync settings, keyed on the HubSpot company ID, in Update mode, with five fields mapped. Tools: HubSpot, Klaviyo and Google Sheets receive the data. Mapping and syncing to the tools is reverse ETL, the outbound leg.

ETL vs ELT vs reverse ETL

ETL and ELT are the inbound leg: they extract data from sources and load it into the warehouse. The difference between them is where the transformation happens, before loading (ETL) or inside the warehouse after loading (ELT). Most teams with a cloud warehouse now run ELT. If you want the long version of that comparison, read ETL vs ELT.

Reverse ETL is the outbound leg. It starts where ELT ends, with a clean, modelled table in the warehouse, and writes it into the tools where people work.

ETLELTReverse ETL
DirectionSources to warehouseSources to warehouseWarehouse to business tools
Reads fromSaaS APIs, databases, filesSaaS APIs, databases, filesA model or table in the warehouse
Writes toWarehouse tablesWarehouse tablesRecords in a CRM, email, ad or support tool, or a sheet
Where transformation isIn the pipeline, before loadingIn the warehouse, with SQL or dbtAlready done: the model is the transformation
Hard partKeeping transformation code in step with sourcesSchema changes and incremental loadsDestination APIs: rate limits, matching keys, required fields
Who uses the resultAnalysts and dashboardsAnalysts, dashboards, modelsSales, marketing, support and finance, inside their own tools
ExampleNightly job that cleans orders, then loads themStripe and Shopify tables synced hourlyHealth score written onto every HubSpot company each morning

The three are not alternatives. A working setup usually has ELT into the warehouse, SQL models on top, and reverse ETL out of it.

Why reverse ETL matters

Most companies that build a warehouse get the inbound half right. Data from the product database, billing, CRM and support desk lands in one place, analysts join it, and dashboards show the result. Then it stops. The account manager who should act on a falling health score works in HubSpot, not in the BI tool. The marketer building a campaign works in Klaviyo. The support agent triaging a ticket works in Zendesk. A dashboard they have to remember to open is a dashboard most of them never open.

Reverse ETL closes that gap in three ways:

  • The number goes where the decision is made. An at-risk flag on the HubSpot company record can trigger a workflow, a task or an email. The same flag on a dashboard waits for someone to look.
  • Every team uses one definition. When MRR, health score or lifetime value is computed once in the warehouse and written into every tool, sales, marketing and finance stop arguing about whose number is right. Each tool shows the same figure because each tool got it from the same model.
  • It replaces point-to-point integrations. Without a warehouse in the middle, you wire Stripe to HubSpot, HubSpot to Klaviyo and the product database to Intercom, each with its own logic. With reverse ETL, every tool reads from the warehouse, so a change to the logic happens in one SQL model.

How a reverse ETL sync works

Every reverse ETL tool, and every script that does the same job, goes through the same five decisions.

1. The model: what to send

The source is a table or view in the warehouse, usually a model built for the purpose. The rule that matters most is one row per destination record. If you sync to HubSpot companies, the model needs exactly one row per company. Duplicate rows for the same company produce two updates in the same run, and whichever lands last wins.

Keep the model narrow: the key, plus the fields the destination needs. A wide model with 80 columns invites someone to map the wrong one.

2. The destination object

Each sync writes to one object type in one tool: HubSpot companies, Salesforce Lead, a Klaviyo list, a Google Sheet tab. If you need the same data on contacts and companies, that is two syncs.

3. The sync key: how rows find records

The sync key (also called the identifier or match key) is the pair of fields that says "this row is that record": a column in your model and a property in the destination. Typical keys:

  • Email for contacts and leads.
  • The destination's own record ID, when the warehouse already has it because ELT loaded the destination's data. This is the most reliable key, since it cannot be mistyped or duplicated.
  • An external ID, such as your own account_id, stored on the destination record in a property with unique values.

A weak key is the most common cause of duplicate records in a CRM. If two contacts in HubSpot share an email address, an email key cannot tell them apart.

4. The field mapping

The mapping pairs each model column with a destination field: health_score to the Health score company property, mrr to MRR, and so on. Required fields come first, because the destination rejects a record without them (Salesforce will not create a lead without a last name and a company). Types matter too: a number column mapped to a text property arrives as text, and a date property in HubSpot expects a date, not a timestamp string.

5. The sync mode: what happens to each row

ModeWhat it doesWhen to use it
InsertCreates a new record for every rowEvent-like data: activity, conversions, rows that are never updated
UpdateUpdates records that match the key; skips rows with no matchEnriching records the destination already owns, without creating new ones
UpsertUpdates records that match, creates the restKeeping contacts, leads or audiences in step with the warehouse
MirrorSends the full result every run, so the destination matches the modelSheets, files and other destinations where the whole table is the record

Which modes you get depends on the destination. A Google Sheet can be mirrored. A CRM usually offers insert, update and upsert, and leaves deletion to you.

6. The schedule

Finally, the sync needs a trigger. Daily is enough for a health score. Hourly suits lead routing. Conversion data for ad platforms often runs several times an hour. The schedule that causes least trouble is "right after the model rebuilds": if the model runs at 06:00 and the sync at 05:00, you send yesterday's data and wonder why it is a day behind.

Worked example: a customer health score in HubSpot

A B2B software company wants its account managers to see each customer's health inside HubSpot, on the company record, and to get a task when a customer slips to at-risk. The data lives in three places: product usage in the app database, account details in the same database, and open tickets in Zendesk. ELT already loads all three into the warehouse.

The model

The model scores each active account out of 100: up to 60 points for the share of seats used in the last 30 days, 30 points if anyone logged in during the last 7 days, and 10 points if there are no open support tickets. It is written for Postgres. In BigQuery, use date_sub(current_date, interval 30 day) for the date arithmetic and cast() in place of the :: casts.

SQL
1-- customer_health: one row per active account, keyed on the HubSpot company ID
2with usage as (
3  select
4    account_id,
5    count(distinct case when created_at >= current_date - 30 then user_id end) as active_users_30d,
6    max(created_at)::date                                                     as last_seen_at
7  from app.events
8  group by account_id
9),
10
11tickets as (
12  select organization_id, count(*) as open_tickets
13  from zendesk.ticket
14  where status in ('new', 'open', 'pending')
15  group by organization_id
16),
17
18scored as (
19  select
20    a.hubspot_company_id,
21    a.name                                 as company_name,
22    a.seats,
23    coalesce(u.active_users_30d, 0)        as active_users_30d,
24    u.last_seen_at,
25    coalesce(t.open_tickets, 0)            as open_tickets,
26      round(60 * least(coalesce(u.active_users_30d, 0)::numeric / a.seats, 1))
27    + case when u.last_seen_at >= current_date - 7 then 30 else 0 end
28    + case when coalesce(t.open_tickets, 0) = 0 then 10 else 0 end
29                                           as health_score
30  from app.accounts a
31  left join usage   u on u.account_id = a.account_id
32  left join tickets t on t.organization_id = a.zendesk_org_id
33  where a.status = 'active'
34)
35
36select
37  *,
38  case
39    when health_score >= 70 then 'healthy'
40    when health_score >= 40 then 'watch'
41    else 'at_risk'
42  end as health_band
43from scored

On 9 November 2026 it returns four rows:

hubspot_company_idcompany_nameseatsactive_users_30dlast_seen_atopen_ticketshealth_scorehealth_band
9120001Northwind Bikes20182026-11-08094healthy
9120002Fjord Coffee1032026-10-12218at_risk
9120003Halden Studio40222026-11-07163watch
9120004Oslo Outdoor502026-09-30010at_risk

Check one: Halden Studio used 22 of 40 seats, so 60 × 0.55 = 33 points, plus 30 for a login two days ago, plus 0 because one ticket is open. 63, which lands in the watch band.

The sync settings

In HubSpot, create five custom company properties: Health score (number), Health band (dropdown: healthy, watch, at_risk), Active users, 30 days (number), Last seen in product (date picker) and Open tickets (number). Then set up the sync:

  • Destination object: HubSpot companies.
  • Sync key: hubspot_company_id in the model, matched to HubSpot's company Record ID. The ID comes from the HubSpot data ELT already loads, joined onto app.accounts, so there is nothing to mistype.
  • Sync mode: Update. Every paying customer already exists as a company in HubSpot, and the sales team owns company creation. Update enriches those records and never creates a new one from the app database. If you did want new accounts created, Upsert on a unique property would be the choice.
  • Schedule: daily, right after the model rebuilds.
Model columnHubSpot company propertyProperty type
hubspot_company_idRecord ID (sync key)HubSpot ID
health_scoreHealth scoreNumber
health_bandHealth bandDropdown select
active_users_30dActive users, 30 daysNumber
last_seen_atLast seen in productDate picker
open_ticketsOpen support ticketsNumber

company_name and seats stay out of the mapping. HubSpot already has the name, and two systems writing the same field is how names flip back and forth.

The first run updates four companies. A HubSpot workflow on Health band then creates a task for the company owner whenever it changes to at_risk, so Fjord Coffee's and Oslo Outdoor's owners each get one.

The next run: one row changes, one disappears

Overnight, two things happen. Fjord Coffee's team comes back: six people log in, the last on 10 November. And Oslo Outdoor cancels, so its row in app.accounts moves to status = 'churned' and drops out of the model.

CompanyRun 1Run 2What the sync does
Northwind Bikes94, healthy94, healthyNothing to change
Fjord Coffee18, at_risk66, watchUpdates score, band, active users and last seen
Halden Studio63, watch63, watchNothing to change
Oslo Outdoor10, at_riskRow gone from the modelNothing. HubSpot still shows 10, at_risk

Fjord Coffee's new score: 6 of 10 seats is 36 points, plus 30 for a login yesterday, plus 0 for the two open tickets. 66, watch.

How much the second run sends depends on the tool. A sync that keeps the previous result compares the two and sends one update. A script that does not keep state sends all three rows again. HubSpot ends up in the same state either way, but the second approach makes three times the API calls, and at 50,000 accounts that difference decides whether you hit the rate limit. (In real data, last_seen_at moves every day for every active account, which is a reason to sync a date rather than a timestamp, and to leave out fields nobody acts on.)

Oslo Outdoor is the interesting row. A row that leaves the model is not a delete instruction. In Update or Upsert mode, the sync simply stops sending that company, and the HubSpot record keeps its last values forever: an at-risk score on a customer who has already left, and possibly an account manager still chasing them. Two fixes, depending on what you want HubSpot to show:

  • Keep the row and change its state. Include churned accounts in the model for a while and give them their own band. The next run then writes "churned" onto the record, which is usually what the sales team wants to see.
SQL
1-- in scored: keep accounts that churned in the last 90 days
2where a.status = 'active'
3   or (a.status = 'churned' and a.churned_at >= current_date - 90)
4
5-- in the final select: churned accounts get their own band
6case
7  when status = 'churned' then 'churned'
8  when health_score >= 70 then 'healthy'
9  when health_score >= 40 then 'watch'
10  else 'at_risk'
11end as health_band

(Add a.status to the scored select, and add churned to the Health band dropdown in HubSpot.)

  • Delete or archive on purpose. If records really should disappear from the destination, handle it as its own step, with a mirror mode where the destination supports one or a separate job that archives records, rather than relying on rows quietly falling out of a model.

This is the behaviour worth checking in any reverse ETL setup before it goes live: what happens to a destination record when its row leaves the model.

Reverse ETL use cases by team

TeamWhat they get in their toolTypical destination and objectMode
SalesProduct usage and a product-qualified-lead flag on accounts and leadsSalesforce Lead or Account, HubSpot companyUpdate
Customer successHealth score, seats used, renewal date on the company recordHubSpot company, Vitally accountUpdate
MarketingAudiences such as "bought twice, not in 90 days" for emailKlaviyo list, Customer.io customerUpsert
Paid mediaCustomer lists for exclusion or lookalikes, and offline conversionsGoogle Ads user list, Meta Conversions APIUpdate, insert
SupportPlan, MRR and priority next to every ticketZendesk organization, Intercom companyUpdate
Finance and opsA monthly revenue table or an overdue-invoice list that stays currentGoogle Sheets, ExcelMirror

Two patterns cover most of these. Enrichment adds warehouse fields to records a tool already has (health score on a company, MRR on a ticket's organization). Audiences maintain a list of people that match a rule (lapsed customers, trial users who hit a usage threshold) and keep it current as people enter and leave. The second pattern is the core of a warehouse-native CDP, which CDP vs data warehouse covers in detail. For a HubSpot walkthrough from our own team, see how we use reverse ETL to support onboarding in HubSpot.

Build or buy reverse ETL

A first version of a reverse ETL script is quick to write: query the model, loop over the rows, call the destination's API. Most of the work arrives later. Before you build one, check that it will handle:

  • Authentication. OAuth tokens expire and need refreshing. Someone has to own the connected account, and the sync breaks when that person leaves.
  • Rate limits and batching. Every API caps requests per second or per day, and batch endpoints limit how many records fit in one call. A naive loop works for 200 rows and fails at 200,000.
  • Matching and upserts. The script needs the sync key logic above: find the existing record, update it, or create one, without creating duplicates when two runs overlap.
  • State and diffing. To send only what changed, you need to store what you sent last time and compare. Without it, every run resends everything.
  • Deletes. Decide what a row leaving the model means, and implement it explicitly.
  • Partial failures and retries. A batch of 100 where 3 records fail validation is normal. The script has to retry the transient failures, keep the permanent ones, and say which records failed and why.
  • Field mapping and types. Dates, booleans, picklist values and required fields all differ per destination, and each needs converting.
  • Schema drift. Someone renames a model column or deletes a HubSpot property. The script should fail loudly, not write nulls into 10,000 records.
  • Monitoring. Run history, rows sent, rows failed and an alert when a sync stops. Without these, a broken sync is discovered by a salesperson weeks later.

Building makes sense for one destination and one object that rarely change, with an engineer who owns it. Once there are several destinations, or the people asking for syncs are not engineers, buying is usually cheaper than the maintenance. The same trade-off applies to the inbound side; build or buy data pipelines walks through it for ELT.

Reverse ETL is offered by dedicated tools such as Hightouch and Census, and as part of broader data platforms, Weld among them.

What to look for in a reverse ETL tool

  • The destinations and objects you need. A tool that supports HubSpot contacts but not HubSpot companies or associations does not cover a B2B setup. Check the object, not just the logo.
  • Sync modes per destination. Insert, update, upsert and mirror, and what each one does with rows that leave the model.
  • Keys and mapping you can see. Which identifier each sync uses, which fields are mapped, and suggestions you can check rather than accept blindly.
  • Scheduling tied to your models. The option to run a sync after the models it reads from have rebuilt, not just on a clock.
  • Failed rows, visible. Per-run counts of rows sent and failed, with the error the destination returned for each failure.
  • Where the data lives. The model stays in your warehouse; check what the tool stores on its side, and whether it can hash personal data such as emails before sending it to ad platforms.
  • Pricing that fits your volume. Some tools price per destination, some per row synced, some per field. Run your real row counts through the pricing before you commit.
  • Automation. An API, or an MCP server, so syncs can be created and run from code or by an AI agent.

Reverse ETL in Weld

Weld does ELT, SQL transformations and reverse ETL in one platform, so the model you sync and the data it reads live in the same workspace. Reverse ETL is included on every plan, and the rows it sends count toward your plan's active rows. Facts below are from the reverse ETL docs.

  • Sources: a published model, a table synced by one of your data sources, or an existing table or view imported from your warehouse.
  • Setup in four steps: destination, target details, map data, schedule. Each sync reads one source and writes to one destination object.
  • Sync modes: Insert, Update and Upsert, plus Mirror on destinations that offer it, such as Google Sheets. You choose the identifier as a source column and a destination property, and Auto map suggests field mappings to check.
  • Destinations include HubSpot, Salesforce, Klaviyo, Customer.io, Google Ads, the Meta Conversions API, Zendesk, Intercom and Google Sheets. On HubSpot, companies, contacts, deals, line items, tickets and products support insert, update and upsert, and associations support insert.
  • Scheduling: an independent schedule, daily at 00:00 UTC by default and as often as every 5 minutes, or a step in an orchestration so the sync runs after its models rebuild (Premium plan and up).
  • Monitoring: each sync shows its run history with rows synced and failed, and the errors the destination returned.
  • Automation: reverse ETL syncs can be created, run and managed through the Weld Connect API and the MCP server.

More on the product side is on the reverse ETL product page, and the BigQuery to HubSpot page shows one pairing end to end.

Sign up to Weld

Ready to start transforming your data into insights? Get started with Weld for free today.

FAQ