Skip to main content
ReferralCandy → SalesforceIntegration guide

Connecting ReferralCandy to Salesforce

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and Salesforce: referrer on the Contact, if at all

Most ReferralCandy merchants do not need Salesforce. For B2B or rep-sold lines, put referred by, code and date on the Lead or Contact, resolving the referrer to their existing Contact. Do not create Opportunities from consumer orders, watch duplicate rules where personal and work emails differ, and confirm referral fields survive Lead conversion.

ReferralCandy is built for consumer stores and Salesforce for sales pipelines, so for most ReferralCandy merchants this pair is unnecessary. It makes sense when a store also sells to businesses, or runs a high-ticket line with a sales rep, and a referral from an existing customer is a lead someone should follow up personally.

In that case the useful fields sit on the Lead or Contact: referred by (the referring customer, resolved to their own Contact), the code used, and the date. Resolving the referrer to an existing Contact is the step most setups skip, and it is what lets a rep thank them or see how many people a customer has sent. Do not create Opportunities from referred consumer orders.

Watch the duplicate rules. Referrals arrive with the friend's email, often a personal address, while the same person may already exist as a Lead under a work address. Salesforce matching will not see them as one person, and the referral attaches to a new record with no history. Confirm the referral fields survive Lead conversion too, because referral source is exactly what a rep wants on the Opportunity later.

ReferralCandy → Salesforce · what breaks

Why this join usually fails — ReferralCandy → Salesforce

  1. 01

    The Lead or Contact identity never reaches ReferralCandy

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → Salesforce · the fix

What working looks like — ReferralCandy → Salesforce

  • The Lead or Contact identity on every referral

  • 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

ReferralCandy → Salesforce · architecture

How ReferralCandy and Salesforce actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

  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 ReferralCandy referral.

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the referral

  • Sent from your order feed with referral attribution

  • 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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → Salesforce · diagnose

Diagnostic order — ReferralCandy → Salesforce

  1. 01

    Count referrals carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → Salesforce · prove

How it gets proven — ReferralCandy → Salesforce

Source of truth

Store orders flagged by referral, net of both rewards.

  • The Lead or Contact identity confirmed present on a live referral.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Non-referral orders reconciled against imported conversions, with referral volume and reward cost stated.

ReferralCandy → Salesforce · free audit

What we check in the free audit

  • Count referrals carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Store orders flagged by referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → Salesforce · when not to buy

When you don't need this — ReferralCandy → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the Lead or Contact identity.
  • No referral programme, no conflict.
  • 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.

ReferralCandy → Salesforce · what we deliver

What gets built — ReferralCandy → Salesforce

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 and reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → Salesforce questions, answered

Check whether ReferralCandy offers a direct connection or a general automation route for your plan; otherwise write the referral from your store's order webhook, which has the coupon code.

Free · 30 min

Get ReferralCandy and Salesforce joined properly

Free30 minutesNo obligation