FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Guides

An AI score the sales team never sees has not been deployed

Reverse ETL handles the last mile, syncing churn scores and ticket labels from the warehouse into Salesforce or Zendesk, where people actually work.

The entrance to Salesforce Tower in New York, with the blue Salesforce cloud logo above it and pedestrians walking along the sidewalk.
Photo: ajay_suresh / CC BY 2.0
ShareLinkedInFacebookX

In brief

  • Reverse ETL runs ETL backwards: it takes processed data from the warehouse and pushes it into the CRM, Zendesk and internal tools.
  • For an FDE, it is the step that turns AI output into something sales and support teams see on the screens they use every day.
  • Three common mistakes: syncing the whole table every run, overwriting fields users are editing, and underestimating connector work.
Big-number chart: sending only changed records is 1.5% of the volume. A long bar shows the full table at 20,000 updates; a very short orange bar shows 300 updates.
The article's example is 20,000 Salesforce accounts, of which about 300 change score each night. Syncing only the changes takes 300 updates a night instead of 20,000. Source: hypothetical example in the article, based on Metabase recommendations.

Two weeks after a churn prediction model goes live, the head of sales asks a simple question: “Where do I see the score?” The scores are computed every night and written neatly to a table in the warehouse. Accuracy on the test set is solid.

That question means the project is only halfway done. The sales team lives in Salesforce, the support team lives in Zendesk, and nobody opens your dashboard. An AI result that does not appear on the screen people use every day has created no value for the customer.

For an FDE, this last stretch of work often decides whether a deployment succeeds or fails. The technique for doing it has a name: reverse ETL.

Reverse of what?

To understand reverse ETL, start with the forward direction. In ETL, as Snowflake describes it, data is extracted from source systems such as applications, databases or APIs, transformed, and then loaded into a central store. Data flows from many places into one.

Reverse ETL mirrors that flow: processed data in the central store is moved regularly back into the operational systems where people work. Typical destinations are a CRM such as Salesforce or a support tool such as Zendesk, and a very common job is pushing customer segments from the warehouse into Salesforce.

In FDE work, the output of an AI model is that “processed data.” Churn scores, ticket classification labels and call summaries all need to travel this last mile.

A worked example, from score table to CRM field

Take a hypothetical client: a B2B software company with 20,000 accounts in Salesforce. Your model writes results every night to the table ai_outputs.churn_scores, containing the internal account ID, a score from 0 to 1, a one-sentence reason generated by an LLM, and the scoring timestamp.

The goal: three new fields, AI_Churn_Score__c, AI_Churn_Reason__c and AI_Scored_At__c, appear on every account page in Salesforce. A salesperson opens the account and sees them at once, without switching tabs.

The first step is to write a model, meaning a dataset defined in SQL whose structure matches the destination system. Hightouch’s documentation describes models in exactly these terms: reusable datasets written in SQL, dbt or a visual builder. This is the layer where you shape the AI output before sending it.

-- model: churn_scores_for_salesforce
select
  m.salesforce_account_id          as sf_id,
  round(s.churn_score, 2)          as ai_churn_score,
  left(s.reason, 255)              as ai_churn_reason,
  s.scored_at                      as ai_scored_at
from ai_outputs.churn_scores s
join crm_mapping.accounts m
  on s.account_id = m.internal_account_id
where s.scored_at = (select max(scored_at) from ai_outputs.churn_scores)
  and m.salesforce_account_id is not null

Note three small decisions in that SQL. The join with the mapping table deals with the fact that internal IDs are not Salesforce IDs. The round function keeps the score readable, and left(..., 255) trims the reason to fit the length limit of the text field.

These details sound trivial, yet they are what make a sync fail at 2 a.m.

Why not send all 20,000 rows every night?

The second step is the sync. According to Hightouch’s documentation, a sync delivers modeled data to sales, support and internal tools, on a schedule or when the data changes. The tool runs on the warehouse itself, so customer data is not copied into a separate system.

The naive approach is to send all 20,000 rows every night. Metabase warns about exactly this trap: sync only the records that have actually changed, so you do not exhaust the destination system’s API call quota (rate limit). Suppose only about 300 accounts have a different score from the day before; you send 300 updates instead of 20,000, or 1.5% of the volume.

If you build it yourself, a simple diff mechanism keeps a snapshot table of the previous sync. Use is distinct from instead of <>, because <> returns NULL and misses changes when either value is empty:

select c.*
from churn_scores_for_salesforce c
left join sync_state.last_sent l on c.sf_id = l.sf_id
where l.sf_id is null
   or c.ai_churn_score  is distinct from l.ai_churn_score
   or c.ai_churn_reason is distinct from l.ai_churn_reason

Update last_sent only when the CRM’s API reports success. A failed record then reappears in the next diff instead of disappearing silently.

Who is allowed to edit this field?

The third step is the one most often skipped: data ownership. Airbyte points out that with two-way syncing, you must resolve conflicts when a record is edited in both systems. Say a salesperson finds a score of 0.82 absurd, changes it by hand to 0.3, and that night the sync overwrites it.

The safe approach is to avoid two-way sync by design. The AI_* fields are owned by the warehouse and set to read-only for users in the CRM. If sales want to give feedback, create a separate field such as AI_Feedback__c, owned by users, and pull it back into the warehouse with ordinary ETL.

That feedback in turn becomes valuable data for evaluating the model.

Field Written by Data direction
AI_Churn_Score__c, AI_Churn_Reason__c Warehouse Warehouse → CRM (reverse ETL)
AI_Feedback__c Sales in the CRM CRM → Warehouse (ETL)
Owner, Stage Sales in the CRM Not synced back

The client should sign off on this short table before you switch the sync on. When someone asks why a number was overwritten, the answer is already on paper.

The steps on the client site

In practice the sequence runs like this. Start by sitting next to the end users and asking which screen, which field and what time of day they want to see the result. Then check the identifier mapping table between the warehouse and the CRM: an account with no matching key has nowhere for its score to be written.

Next, write the SQL model to match the destination field types and lengths exactly, and build the mechanism that sends only changed records. Agree the field ownership table with the client, run a test against a CRM sandbox with a few dozen records, and only then turn on the production schedule, with an alert when the error rate rises.

If the client’s tool is an internal system rather than Salesforce or Zendesk, budget extra time. Portable acknowledges that integrating with existing tools can be complex and labor-intensive, and that some tools need custom-built connectors.

Before reading on, test yourself: if you drop the left function and the LLM generates a 300-character reason, which field breaks, and what happens to that record the following night? Answer: AI_Churn_Reason__c is rejected, last_sent is not updated, so the account comes back in every diff and fails every time.

That is why the error-rate alert must exist from day one. “Resend on failure” is only safe when someone can see the failures repeating.

Mistakes that make a project look finished when it is not

The most common mistake is sending the whole table on every run, which works fine in the first week and then hits the rate limit as the account count grows. Next is leaving AI fields editable by users, which creates conflicts nobody can trace.

Another is sending raw output: a score of 0.8234719 and a 2,000-character reason no one reads. Then there is estimating integration work as if every destination had a ready-made connector. The subtlest mistake is never checking whether users actually look at the field.

If you have worked on a project like the churn example above, do not write “built a churn model” on your CV.

A good model solves the data problem. Reverse ETL solves the rest: making sure that on Monday morning, a salesperson opens an account and knows straight away whom to call first.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
5 sources
Read next on the roadmap · Stage 5: DeploymentThe UPDATE that silently rewrites last year's revenueSCD Type 2 keeps every version of a customer or product: write it by hand in SQL to learn the mechanics, then hand it to dbt snapshots.