Connecting Saleor to Salesforce
Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. 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 Saleor order 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
Saleor to Salesforce: B2B orders and buyer accounts from the API
For B2B Saleor portals, map customers to Contacts and companies to Accounts using the Saleor user ID as an external ID, and paid orders to Orders or Opportunities keyed on the Saleor order ID. Store click identifiers from order metadata on the Contact for later offline uploads. Sync paid, cancelled and refunded webhooks, and tag staff draft orders.
Saleor with Salesforce is usually a B2B or wholesale setup: buyers order through a headless portal while account managers work in Salesforce. Map Saleor customers to Contacts and their companies to Accounts, with the Saleor user ID as an external ID, and paid orders to Salesforce Orders or Opportunities keyed on the Saleor order ID so re-syncs update instead of duplicating.
Marketing context belongs on the Contact from the first order: the click identifiers the storefront wrote into order metadata. That is what lets a later offline conversion, say a large contract signed after a first web order, be uploaded to an ad platform with the original click. Sync from webhooks for paid, cancelled and refunded orders so Salesforce never shows revenue that was reversed in Saleor.
Draft orders created by staff in the Saleor dashboard are orders too, but they never had an ad click; tag their origin so they don't dilute web attribution. Check validation rules and field-level security for the integration user, because Salesforce can accept a write and leave a field empty. Look for a Salesforce app in the Saleor App Store before building a sync yourself.
Saleor → Salesforce · what breaks
Why this join usually fails — Saleor → Salesforce
- 01
The Lead or Contact identity never reaches Saleor
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
- 02
A storefront that knows the click and an API that holds the money
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
- 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.
- 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.
Saleor → Salesforce · the fix
What working looks like — Saleor → Salesforce
The Lead or Contact identity on every order
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
Saleor → Salesforce · architecture
How Saleor and Salesforce actually connect
- 1
Saleor holds the truth
In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.
- 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
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Saleor order.
- 4
The event source decides reliability
Send fully paid orders at their net total, sourced from the API.
- 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.
Saleor → Salesforce · normal or broken
Working vs. broken, side by side — Saleor → Salesforce
Normal, not a fault
The Lead or Contact identity present on the order
Sent from the Saleor order webhook
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
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
Sent from the browser
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
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
Saleor → Salesforce · diagnose
Diagnostic order — Saleor → Salesforce
- 01
Count orders carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Inspect order metadata on a live order for the identifier
Either it is on the order or the attribution is guesswork. There is no middle state.
- 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.
- 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.
Saleor → Salesforce · prove
How it gets proven — Saleor → Salesforce
Source of truth
Saleor orders by payment status, read from the API rather than inferred from the storefront.
- The Lead or Contact identity confirmed present on a live order.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Paid orders reconciled from the API against imported conversions.
Saleor → Salesforce · free audit
What we check in the free audit
- Count orders carrying the Lead or Contact identity
- Follow one real conversion end to end
- Inspect order metadata on a live order for the identifier
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Saleor orders by payment status, read from the API rather than inferred from the storefront.
Free30 minutesNo obligation
Saleor → Salesforce · when not to buy
When you don't need this — Saleor → Salesforce
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
- If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
- 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.
Saleor → Salesforce · what we deliver
What gets built — Saleor → Salesforce
Identifier capture into Saleor
Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.
Event source: the Saleor order webhook
Send fully paid orders at their net total, sourced from the API.
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 and cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Saleor → Salesforce questions, answered
Check the Saleor App Store. Most teams build a sync from Saleor webhooks to Salesforce's API, keyed on Saleor IDs stored as external IDs.
Orders for web purchases that are already complete; Opportunities when a sales process follows, such as a first order leading to a contract.
Almost always because the Lead or Contact identity never reached the Saleor order. The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
The Saleor order webhook. Send fully paid orders at their net total, sourced from the API.
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.
More on Saleor → Salesforce
- Saleor → Marketing CloudConnecting Saleor to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Saleor → Salesforce fits in the rest of your tracking
- WooCommerce Subscriptions → SalesforceConnecting WooCommerce Subscriptions to Salesforce
- EDD → SalesforceConnecting Easy Digital Downloads to Salesforce
- Checkout Extensibility → SalesforceConnecting Shopify Checkout Extensibility to Salesforce
- Saleor → MarketoConnecting Saleor to Marketo
- Saleor → HubSpotConnecting Saleor to HubSpot
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- BigCommerce → SalesforceConnecting BigCommerce to Salesforce
- Shopify POS → SalesforceConnecting Shopify POS to Salesforce
Free · 30 min
Get Saleor and Salesforce joined properly
Free30 minutesNo obligation
