Skip to main content
Salesforce → AttentiveIntegration guide

Connecting Salesforce to Attentive

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Salesforce Lead or Opportunity before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Salesforce contacts into Attentive SMS: consent comes first

This pair suits B2C Salesforce orgs, and a rep-entered phone is not texting consent, so never create Attentive subscribers from Salesforce. For existing subscribers, normalize MobilePhone to E.164 and send Closed Won so quote follow-ups stop. Trigger the flow only when the opportunity first meets Closed Won, and write opt-in status back to the Contact.

This pair fits B2C businesses that run Salesforce as their customer CRM, such as home services, education or membership sales, not a B2B pipeline. A mobile number a rep typed onto a Contact is permission for a sales call at best, not express written consent for marketing texts. Never bulk-create Attentive subscribers from Salesforce phone fields; let Attentive's own sign-up units create subscribers and send Salesforce data only for people already subscribed.

The join is the phone number, and Salesforce stores it in Phone and MobilePhone on both Lead and Contact, in whatever format each rep used. Pick MobilePhone, normalize it to E.164 before sending, and skip records where it is empty rather than falling back to an office line. The event worth sending is a Closed Won opportunity, mainly so quote follow-up texts stop for someone who has already signed.

The usual break is the flow. A record-triggered flow set to run whenever an opportunity is updated fires again each time someone edits a Closed Won deal's amount or close date, and each run reaches the subscriber as another text. Set it to run only when the record is updated to meet the Closed Won condition. Write Attentive opt-in status back to the Contact as well, so reps can see who agreed to marketing texts.

Salesforce → Attentive · what breaks

Why this join usually fails — Salesforce → Attentive

  1. 01

    The subscriber's phone number never reaches Salesforce

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  3. 03

    Consent state treated as a tracking detail rather than a legal one

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  4. 04

    Nothing reconciles afterwards

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Salesforce → Attentive · the fix

What working looks like — Salesforce → Attentive

  • The subscriber's phone number on every opportunity

  • Conversions arriving in Attentive

    The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Salesforce → Attentive · architecture

How Salesforce and Attentive actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  2. 2

    Attentive needs a click to match

    Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.

  3. 3

    The identifier is the bridge

    The subscriber's phone number, captured at the visit and carried into the Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  5. 5

    Deduplication at the destination

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

Salesforce → Attentive · normal or broken

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

Normal, not a fault

  • The subscriber's phone number present on the opportunity

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • Deduplicated correctly

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

  • Reconciles with the source

Actually broken

  • The subscriber's phone number missing on most records

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • Counted twice, or not at all

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  • Nobody has reconciled it

Salesforce → Attentive · diagnose

Diagnostic order — Salesforce → Attentive

  1. 01

    Count opportunitys carrying the subscriber's phone number

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  4. 04

    Verify that events for non-consented customers cannot trigger a send

    Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.

  5. 05

    Read the match rate, not the success message

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Salesforce → Attentive · prove

How it gets proven — Salesforce → Attentive

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • The subscriber's phone number confirmed present on a live opportunity.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → Attentive · free audit

What we check in the free audit

  • Count opportunitys carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Verify that events for non-consented customers cannot trigger a send
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → Attentive · when not to buy

When you don't need this — Salesforce → Attentive

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the subscriber's phone number.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.

Salesforce → Attentive · what we deliver

What gets built — Salesforce → Attentive

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • Dispatch to Attentive

    The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.

  • Reversals where they exist

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → Attentive questions, answered

Not as subscribers without documented SMS marketing consent; a phone number on a CRM record is not consent. Use Attentive's sign-up flows to collect it and send Salesforce events only for existing subscribers.

Free · 30 min

Get Salesforce and Attentive joined properly

Free30 minutesNo obligation