Skip to main content
Freshsales → SegmentIntegration guide

Connecting Freshsales to Segment

Freshsales is Freshworks' CRM, usually bought alongside their support and marketing products, which means contact records arrive from several directions. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Freshsales deal before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Freshsales to Segment: CRM Deal Events on One Identity Spine

Use Segment when several tools need the Freshsales won deal. Write Segment's userId onto the Freshsales contact, then from the won-stage webhook send a Deal Won track call with value, currency, a deal-ID-based messageId and click IDs, plus a group call. Carry form consent state, and never fall back to email as userId for Freshdesk or Freshmarketer contacts.

Segment fits this pair when Freshsales is one of several systems that need the same deal outcome, such as an ad platform, your warehouse and product analytics, and you want one definition of a won deal instead of three integrations. The join key is Segment's userId: your website or app identifies the person once, and that userId must be written onto the Freshsales contact so deal events can be sent with it.

From a Freshsales workflow webhook on the move to won, send a track call such as Deal Won with the userId, deal value, currency and the deal ID as the basis for messageId, plus a group call for the company. Click identifiers captured at the form (gclid, fbclid, rdt_cid) go in as traits on identify and as properties on the deal event so downstream ad destinations can use them. Carry the consent state from the original form submission too; a record a rep created by hand has none, and ad destinations should be filtered for it.

The Freshworks-specific hazard is that Freshdesk and Freshmarketer create contacts that never passed through your site, so they have no userId. Do not let the webhook fall back to email or the Freshsales ID as userId for those, which creates a second identity Segment cannot merge with the web visitor. Mark them with a deal_source trait or leave them out. Check Segment's catalog for a Freshsales source before building; if there is none, the handler is small.

Freshsales → Segment · what breaks

Why this join usually fails — Freshsales → Segment

  1. 01

    The userId and anonymousId never reaches Freshsales

    Contacts can originate in Freshdesk, in Freshmarketer, or in Freshsales itself, and a custom field populated on one path is empty on the others. Support-originated contacts in particular carry no marketing context at all.

  2. 02

    Contacts arriving from the support product

    In a Freshworks stack, existing customers raising tickets create contacts that look identical to new leads. Counting them credits acquisition for your own support volume.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Freshsales → Segment · the fix

What working looks like — Freshsales → Segment

  • The userId and anonymousId on every deal

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Freshsales → Segment · architecture

How Freshsales and Segment actually connect

  1. 1

    Freshsales holds the truth

    Freshsales runs its own lead scoring and contact lifecycle stages, which are useful internally and are not conversion events. Only the deal is money.

  2. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the Freshsales deal.

  4. 4

    The event source decides reliability

    Fire on the transition to won, carrying the deal value. Not on lead score thresholds, which are an internal signal.

  5. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Freshsales → Segment · normal or broken

Working vs. broken, side by side — Freshsales → Segment

Normal, not a fault

  • The userId and anonymousId present on the deal

  • Sent from a Freshsales workflow webhook on deal stage change

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId missing on most records

    Contacts can originate in Freshdesk, in Freshmarketer, or in Freshsales itself, and a custom field populated on one path is empty on the others. Support-originated contacts in particular carry no marketing context at all.

  • Sent from the browser

    In a Freshworks stack, existing customers raising tickets create contacts that look identical to new leads. Counting them credits acquisition for your own support volume.

  • Counted twice, or not at all

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Freshsales → Segment · diagnose

Diagnostic order — Freshsales → Segment

  1. 01

    Count deals carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of deals originated from support rather than marketing

    Only marketing-originated deals should reach an ad platform.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Freshsales → Segment · prove

How it gets proven — Freshsales → Segment

Source of truth

Freshsales deals marked won by close date, at their deal values.

  • The userId and anonymousId confirmed present on a live deal.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • A deal confirmed to carry the identifier from the original web enquiry rather than from a support ticket.

Freshsales → Segment · free audit

What we check in the free audit

  • Count deals carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Check what share of deals originated from support rather than marketing
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Freshsales deals marked won by close date, at their deal values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Freshsales → Segment · when not to buy

When you don't need this — Freshsales → Segment

  • Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the userId and anonymousId.
  • If most of your deals come from existing customers via support, paid attribution has very little to reach.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Freshsales → Segment · what we deliver

What gets built — Freshsales → Segment

  • Identifier capture into Freshsales

    Create the custom field on both contact and deal, populate it at contact creation from the web form, and copy it onto the deal via workflow.

  • Event source: a Freshsales workflow webhook on deal stage change

    Fire on the transition to won, carrying the deal value. Not on lead score thresholds, which are an internal signal.

  • Dispatch to Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • Reversals where they exist

    Deals reopened and later lost should not leave a conversion standing.

Written guarantee

95%+ tracking accuracy

Measured against Freshsales deals marked won by close date, at their deal values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Freshsales → Segment questions, answered

Check the Segment catalog for your workspace. If none fits, a Freshsales workflow webhook into a small handler that calls Segment's tracking API is the usual route.

Free · 30 min

Get Freshsales and Segment joined properly

Free30 minutesNo obligation