Skip to main content
Rebuy → SalesforceIntegration guide

Connecting Rebuy to Salesforce

Rebuy adds personalised upsells across the cart, checkout and post-purchase, which means the order value at checkout is frequently not the order value that settles. 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 Rebuy-influenced 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

Rebuy and Salesforce: upsell data for wholesale or service teams

Rebuy brands rarely need Salesforce for consumer orders. For a service org, write a Contact summary of lifetime settled order value, Rebuy upsell revenue and first-order acquisition campaign and click identifiers, keyed on email or Shopify customer ID, after the post-purchase window. For B2B buyers, write orders with upsell lines under the Account, checking your connector syncs edits.

A Shopify brand running Rebuy rarely needs Salesforce for its consumer orders, and creating an Opportunity per DTC order fills the org with records nobody works. Say plainly whether Salesforce here is a sales CRM for wholesale and B2B accounts or a service org for customers, because the right write is different for each, and for many brands neither applies.

For a service org, the useful write is a summary on the Contact: lifetime settled order value, upsell revenue accepted through Rebuy, and the original acquisition campaign and click identifiers from the first order. Key it on email or a Shopify customer ID in an external ID field, and update it after the post-purchase window, not at checkout, or the totals understate every customer who took an offer.

For B2B buyers who order through the same store, write orders to a custom object or Salesforce Orders under the Account, with the upsell lines kept, so reps can see what was added after checkout. Check whether your Shopify-to-Salesforce connector, if you have one, syncs order edits at all; many sync the order once at creation, which means Rebuy's post-purchase lines never reach Salesforce.

Rebuy → Salesforce · what breaks

Why this join usually fails — Rebuy → Salesforce

  1. 01

    The Lead or Contact identity never reaches Rebuy

    Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.

  2. 02

    Upsell revenue missing from every conversion

    Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.

  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.

Rebuy → Salesforce · the fix

What working looks like — Rebuy → 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

Rebuy → Salesforce · architecture

How Rebuy and Salesforce actually connect

  1. 1

    Rebuy holds the truth

    A post-purchase upsell creates additional revenue on the same order, seconds to minutes after the original conversion fired. If the conversion was sent at checkout, that revenue is missing from every report.

  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 Rebuy-influenced order.

  4. 4

    The event source decides reliability

    Send the settled order total including accepted upsells, with the upsell contribution recorded separately.

  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.

Rebuy → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the order

  • Sent from the Shopify order webhook, after post-purchase

  • 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

    Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.

  • Sent from the browser

    Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.

  • 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

Rebuy → Salesforce · diagnose

Diagnostic order — Rebuy → Salesforce

  1. 01

    Count orders carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare checkout-time order value against final settled order value

    The gap is your upsell revenue, and it is the amount your conversion reporting is currently discarding.

  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.

Rebuy → Salesforce · prove

How it gets proven — Rebuy → Salesforce

Source of truth

The final Shopify order total after any post-purchase upsell has been accepted.

  • 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.
  • Settled order totals reconciled against imported conversions, with upsell contribution stated separately.

Rebuy → 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
  • Compare checkout-time order value against final settled order value
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

The final Shopify order total after any post-purchase upsell has been accepted.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rebuy → Salesforce · when not to buy

When you don't need this — Rebuy → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
  • If you run no post-purchase offers, checkout-time value is the final value and the timing question does not arise.
  • 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.

Rebuy → Salesforce · what we deliver

What gets built — Rebuy → Salesforce

  • Identifier capture into Rebuy

    Send the conversion from the order webhook after the post-purchase window closes, or send an adjustment when the upsell is accepted.

  • Event source: the Shopify order webhook, after post-purchase

    Send the settled order total including accepted upsells, with the upsell contribution recorded separately.

  • 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 reverse, including refunded upsells specifically.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total after any post-purchase upsell has been accepted.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rebuy → Salesforce questions, answered

Only if your Shopify-to-Salesforce sync picks up order edits. Many sync at creation, before post-purchase offers are added; check one upsell order.

Free · 30 min

Get Rebuy and Salesforce joined properly

Free30 minutesNo obligation