Skip to main content
Zoho → PostHogIntegration guide

Connecting Zoho CRM to PostHog

Zoho CRM holds the deal, which is where the money is recorded — and it is a different object from the lead that created it. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Zoho deal before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Zoho CRM deal outcomes as PostHog company events

Use PostHog group analytics with a company group keyed on your product's account ID, stored on the Zoho Account, and send Closed Won or Closed Lost events from a Zoho workflow to that group with deal amount and pipeline. For person-level joins, capture distinct_id in the webform and map it through conversion. Derive event UUIDs from Deal IDs.

PostHog shows what a trial account did in your product; Zoho knows whether it bought. Joining them answers which product behavior predicts a closed deal. Use PostHog's group analytics with a company group type, keyed on the same account ID your product uses, and store that ID on the Zoho Account. Then a Zoho workflow on Closed Won or Closed Lost sends an event to PostHog attached to the company group, with the deal amount and pipeline.

Person-level joins are harder. The Zoho Contact rarely knows the PostHog distinct_id, because the person filled a webform before using the product and signed up later. Capture the distinct_id on the webform as a hidden field and map it through Lead conversion, or identify users with email at signup so the product user and the Zoho Contact share a key. Without one of these, send deal outcomes at company level only.

Name events after the Zoho meaning, such as deal won and deal lost, and include the pipeline name, since Zoho's pipelines may define won differently. On a self-hosted instance, supply an event UUID derived from the Zoho Deal ID so a retried webhook does not create a second won event that inflates the cohort.

Zoho → PostHog · what breaks

Why this join usually fails — Zoho → PostHog

  1. 01

    The distinct_id never reaches Zoho

    Zoho turns one Lead into a Contact, an Account and a Deal, and a custom field on the Lead with no mapped counterpart is discarded at conversion — precisely when the record starts carrying money. This is the defining Zoho failure.

  2. 02

    The identifier dies at Lead conversion

    Three records are created from one and unmapped fields vanish. Five minutes with a test lead finds it, and most Zoho accounts have never looked.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Zoho → PostHog · the fix

What working looks like — Zoho → PostHog

  • The distinct_id on every deal

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

    Zoho CRM's own records are the reference, not either dashboard.

Zoho → PostHog · architecture

How Zoho and PostHog actually connect

  1. 1

    Zoho CRM holds the truth

    Zoho supports several pipelines with different stage sets, so pin down which stage counts as won in each before any number is quoted.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Zoho deal.

  4. 4

    The event source decides reliability

    Fire when the deal reaches Closed Won, carrying the deal amount. Not from the webform, which is the easiest thing to wire and the least predictive.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Zoho → PostHog · normal or broken

Working vs. broken, side by side — Zoho → PostHog

Normal, not a fault

  • The distinct_id present on the deal

    Visible on the record itself in Zoho CRM, not merely captured somewhere on the site.

  • Sent from a Zoho workflow webhook on stage change

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

    PostHog's count and Zoho CRM's records agree within a few percent over a closed window.

Actually broken

  • The distinct_id missing on most records

    Zoho turns one Lead into a Contact, an Account and a Deal, and a custom field on the Lead with no mapped counterpart is discarded at conversion — precisely when the record starts carrying money. This is the defining Zoho failure.

  • Sent from the browser

    Three records are created from one and unmapped fields vanish. Five minutes with a test lead finds it, and most Zoho accounts have never looked.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Zoho CRM.

Zoho → PostHog · diagnose

Diagnostic order — Zoho → PostHog

  1. 01

    Count deals carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Deal

    If the identifier is not on the Deal, the mapping is missing and nothing downstream can work.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Zoho → PostHog · prove

How it gets proven — Zoho → PostHog

Against Zoho CRM's own records, not against either platform's dashboard.

Source of truth

Zoho's deals marked Closed Won by closing date, at their amounts.

  • The distinct_id confirmed present on a live deal.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A test Lead converted end to end with the identifier confirmed on the resulting Deal.

Zoho → PostHog · free audit

What we check in the free audit

  • Count deals carrying the distinct_id
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Deal
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Zoho's deals marked Closed Won by closing date, at their amounts.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zoho → PostHog · when not to buy

When you don't need this — Zoho → PostHog

  • If PostHog already reports conversions that reconcile against Zoho CRM's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the distinct_id.
  • If stages are applied inconsistently across pipelines, fix that before building conversions on them.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Zoho → PostHog · what we deliver

What gets built — Zoho → PostHog

  • Identifier capture into Zoho

    Create the custom field on Lead, Contact, Account and Deal, then configure the Lead conversion mapping and verify it by converting a real test lead.

  • Event source: a Zoho workflow webhook on stage change

    Fire when the deal reaches Closed Won, carrying the deal amount. Not from the webform, which is the easiest thing to wire and the least predictive.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    A deal reopened and later lost should not leave a conversion standing, though many teams accept the small error rather than wire it.

Written guarantee

95%+ tracking accuracy

Measured against Zoho's deals marked Closed Won by closing date, at their amounts.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zoho → PostHog questions, answered

Send Closed Won and Closed Lost from a Zoho workflow as PostHog events attached to a company group keyed on your product's account ID.

Free · 30 min

Get Zoho and PostHog joined properly

Free30 minutesNo obligation