Skip to main content
LoyaltyLion → SalesforceIntegration guide

Connecting LoyaltyLion to Salesforce

LoyaltyLion is built around tiers, which means a customer's discount rate changes as they spend more — and so does the margin on every subsequent order. 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 LoyaltyLion tier 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

LoyaltyLion into Salesforce: tier on the Contact, mostly for B2B

Build LoyaltyLion to Salesforce only when people work there, such as wholesale, a VIP desk or Service Cloud. Store the customer ID as an external ID on the Contact or Person Account and write tier, points balance and lifetime spend to custom fields, with dated tier changes. Check field-level security, and skip an Opportunity per consumer order.

Most LoyaltyLion stores are direct-to-consumer and don't run Salesforce CRM, so this pair is worth building only when people actually work in Salesforce: wholesale accounts, a high-touch VIP desk, or a service team on Service Cloud. Then the join is the store customer ID stored as an external ID on the Contact or Person Account, with current tier, points balance and lifetime spend written to custom fields.

Tier changes are what a rep needs to see happen, because a VIP slipping down a tier is an early churn signal. Write tier changes with dates, not just the current value, or the history is lost on every overwrite. Field-level security on new custom fields often blocks the integration user silently; open a synced record in the UI and confirm the values are there.

Don't create an Opportunity for every direct-to-consumer order; it bloats the org and helps nobody. Summaries on the Contact are enough unless orders follow a sales process. Check LoyaltyLion's integration list for a Salesforce connector before building one. If Salesforce will ever feed offline conversions, put the click identifiers from the first order on the Contact too.

LoyaltyLion → Salesforce · what breaks

Why this join usually fails — LoyaltyLion → Salesforce

  1. 01

    The Lead or Contact identity never reaches LoyaltyLion

    Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.

  2. 02

    Tier discounts absorbed silently into order value

    Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.

  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.

LoyaltyLion → Salesforce · the fix

What working looks like — LoyaltyLion → Salesforce

  • The Lead or Contact identity on every redemption

  • 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

LoyaltyLion → Salesforce · architecture

How LoyaltyLion and Salesforce actually connect

  1. 1

    LoyaltyLion holds the truth

    A top-tier customer buys at a permanently lower margin. Their order value looks identical to a new customer's and is worth meaningfully less, which matters when you are deciding what a new customer is worth acquiring.

  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 LoyaltyLion tier order.

  4. 4

    The event source decides reliability

    Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.

  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.

LoyaltyLion → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the redemption

  • Sent from your order feed with tier attached

  • 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

    Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.

  • Sent from the browser

    Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.

  • 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

LoyaltyLion → Salesforce · diagnose

Diagnostic order — LoyaltyLion → Salesforce

  1. 01

    Count redemptions carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare average margin by loyalty tier

    As the programme matures this gap widens, and it is the reason a growing loyal base can coincide with falling profitability.

  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.

LoyaltyLion → Salesforce · prove

How it gets proven — LoyaltyLion → Salesforce

Source of truth

Store orders with the customer's loyalty tier recorded at the time of purchase.

  • The Lead or Contact identity confirmed present on a live redemption.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Orders reconciled net of tier discount against imported conversions, with tier recorded.

LoyaltyLion → Salesforce · free audit

What we check in the free audit

  • Count redemptions carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Compare average margin by loyalty tier
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Store orders with the customer's loyalty tier recorded at the time of purchase.

Get my free conversion tracking audit

Free30 minutesNo obligation

LoyaltyLion → Salesforce · when not to buy

When you don't need this — LoyaltyLion → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the Lead or Contact identity.
  • Flat-rate loyalty programmes without tiers do not have this problem.
  • 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.

LoyaltyLion → Salesforce · what we deliver

What gets built — LoyaltyLion → Salesforce

  • Identifier capture into LoyaltyLion

    Record the tier on the order and net tier discounts out of the reported value.

  • Event source: your order feed with tier attached

    Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.

  • 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.

Written guarantee

95%+ tracking accuracy

Measured against Store orders with the customer's loyalty tier recorded at the time of purchase.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LoyaltyLion → Salesforce questions, answered

Check LoyaltyLion's integration list for your plan. If there's no connector, sync by API keyed on the store customer ID as an external ID on the Contact.

Free · 30 min

Get LoyaltyLion and Salesforce joined properly

Free30 minutesNo obligation