Skip to main content
Gorgias → SalesforceIntegration guide

Connecting Gorgias to Salesforce

Gorgias is ecommerce customer support, and the commercially interesting thing it holds is the conversation that led to a sale rather than the sale itself. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Gorgias ticket before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Gorgias to Salesforce: route wholesale inquiries, not support tickets

Only Gorgias tickets tagged as wholesale or B2B inquiries should reach Salesforce, via a native integration or an HTTP integration calling middleware. Search Contacts by email first, then create a Lead with company, email, ticket link and any captured click ID. When the Opportunity closes won, that click ID goes to the ad platform. Consumer tickets never go.

This pair fits brands with a wholesale or B2B side that sales manages in Salesforce, while direct-to-consumer support lives in Gorgias. Some of the conversations in Gorgias are retailers asking about stocking the product, and those belong in the sales pipeline. Check whether Gorgias offers a Salesforce integration for your plan. If not, a Gorgias HTTP integration calling middleware that writes to Salesforce does the same job.

Filter hard. Only tickets tagged as wholesale or B2B inquiries should create anything in Salesforce, and they should create a Lead with the company name, email, the ticket link, and any click identifier captured during the chat session in a custom field. Before creating a Lead, search Contacts by email. Existing retail accounts write in about orders all the time, and a new Lead for each of those emails produces the duplicate records Salesforce orgs spend months merging.

The ad value shows up later, on the Opportunity. When a wholesale inquiry that started from a paid click closes won, the click ID on the Lead, mapped through conversion, is what lets you send that deal back to the ad platform. Consumer support tickets never go to Salesforce.

Gorgias → Salesforce · what breaks

Why this join usually fails — Gorgias → Salesforce

  1. 01

    The Lead or Contact identity never reaches Gorgias

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  2. 02

    Support volume mistaken for demand

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  3. 03

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Gorgias → Salesforce · the fix

What working looks like — Gorgias → Salesforce

  • The Lead or Contact identity on every ticket

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

Gorgias → Salesforce · architecture

How Gorgias and Salesforce actually connect

  1. 1

    Gorgias holds the truth

    Gorgias can attribute revenue to support conversations, which is genuinely useful internally and is calculated on its own rules. It is not a substitute for the store's order record.

  2. 2

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Gorgias ticket.

  4. 4

    The event source decides reliability

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  5. 5

    Deduplication at the destination

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

Gorgias → Salesforce · normal or broken

Working vs. broken, side by side — Gorgias → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the ticket

  • Sent from your store's order webhook, joined to the ticket where relevant

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity missing on most records

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  • Sent from the browser

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  • Counted twice, or not at all

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

Gorgias → Salesforce · diagnose

Diagnostic order — Gorgias → Salesforce

  1. 01

    Count tickets carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what proportion of tickets are pre-sales rather than support

    It is usually a small minority, and only that minority is relevant to acquisition.

  4. 04

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Gorgias → Salesforce · prove

How it gets proven — Gorgias → Salesforce

Source of truth

Your store's orders — Gorgias records the conversation and the store records the money.

  • The Lead or Contact identity confirmed present on a live ticket.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Pre-sales conversations separated from support volume before any conversion claim is made.

Gorgias → Salesforce · free audit

What we check in the free audit

  • Count tickets carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Check what proportion of tickets are pre-sales rather than support
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Your store's orders — Gorgias records the conversation and the store records the money.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gorgias → Salesforce · when not to buy

When you don't need this — Gorgias → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the Lead or Contact identity.
  • If your Gorgias is purely post-purchase support, it is not a conversion source and should not be treated as one.
  • If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

Gorgias → Salesforce · what we deliver

What gets built — Gorgias → Salesforce

  • Identifier capture into Gorgias

    Where pre-sales chat matters, carry the identifier into the ticket's custom fields so a conversation that precedes a first order can be connected to the click that started it.

  • Event source: your store's order webhook, joined to the ticket where relevant

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  • Dispatch to Salesforce

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

  • Reversals where they exist

    Refunds come from the store.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders — Gorgias records the conversation and the store records the money.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gorgias → Salesforce questions, answered

Check whether a native integration is available on your plan. Otherwise, a Gorgias HTTP integration plus a small middleware step can create a Salesforce Lead from tagged tickets.

Free · 30 min

Get Gorgias and Salesforce joined properly

Free30 minutesNo obligation