Skip to main content
Twilio → AttentiveIntegration guide

Connecting Twilio to Attentive

Twilio is infrastructure rather than a product, so what it can tell you depends entirely on what your own application logged alongside the message or call. 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 Twilio message or call record 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

Running Twilio and Attentive together: keep opt-outs in sync

Capture STOP and opt-in replies from Twilio's inbound webhook, reflect marketing opt-outs to Attentive's subscriber state, and check Attentive suppression before any marketing-like Twilio send. Send Attentive business outcomes such as confirmed appointments, keyed on the E.164 phone number, once each, so retried webhooks don't trigger duplicate journeys.

Attentive is itself an SMS platform, so this pairing usually means a business texting customers through both: marketing campaigns in Attentive, transactional or support messages through its own Twilio application. The legal risk sits in the gap. A customer who replies STOP to one sender has withdrawn from texts, and if that opt-out never reaches the other system, the next campaign reaches someone who withdrew consent.

Your application should capture opt-out and opt-in replies from Twilio's inbound webhook, reflect marketing opt-outs to Attentive's subscriber state, and check Attentive suppression before any Twilio-sent message that could read as marketing. Check how Twilio's built-in STOP handling on your numbers interacts with this; it blocks further sends from that Twilio sender but tells Attentive nothing.

Events worth sending to Attentive from a Twilio-based application are business outcomes for a consented subscriber: an appointment confirmed by reply, a delivery completed, a support case closed. Key them on the phone number in E.164 format, which Twilio already uses, and send each once. A Twilio webhook retried twice must not become two Attentive events, because Attentive will run the journey twice and text the customer twice.

Twilio → Attentive · what breaks

Why this join usually fails — Twilio → Attentive

  1. 01

    The subscriber's phone number never reaches Twilio

    Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.

  2. 02

    Transport confused with meaning

    A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.

  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.

Twilio → Attentive · the fix

What working looks like — Twilio → Attentive

  • The subscriber's phone number on every interaction

  • 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

Twilio → Attentive · architecture

How Twilio and Attentive actually connect

  1. 1

    Twilio holds the truth

    Twilio knows a message was sent or a call connected. Whether that represented a lead, a booking or a delivery notification is something only your application knows, which makes your own logging the source of truth rather than Twilio's console.

  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 Twilio message or call record.

  4. 4

    The event source decides reliability

    Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.

  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.

Twilio → Attentive · normal or broken

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

Normal, not a fault

  • The subscriber's phone number present on the interaction

  • Sent from your application's own event, keyed to the Twilio SID

  • 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

    Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.

  • Sent from the browser

    A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.

  • 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

Twilio → Attentive · diagnose

Diagnostic order — Twilio → Attentive

  1. 01

    Count interactions carrying the subscriber's phone number

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether your application logs the business meaning of each interaction

    If it only stores Twilio SIDs and statuses, there is nothing to build a conversion on.

  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.

Twilio → Attentive · prove

How it gets proven — Twilio → Attentive

Source of truth

Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.

  • The subscriber's phone number confirmed present on a live interaction.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • Conversions confirmed to come from your application's business events rather than Twilio's delivery callbacks.

Twilio → Attentive · free audit

What we check in the free audit

  • Count interactions carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Check whether your application logs the business meaning of each interaction
  • Verify that events for non-consented customers cannot trigger a send
  • Read the match rate, not the success message

Checked against

Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.

Get my free conversion tracking audit

Free30 minutesNo obligation

Twilio → Attentive · when not to buy

When you don't need this — Twilio → Attentive

  • Measure identifier coverage yourself first — pull your last hundred interactions and count how many carry the subscriber's phone number.
  • If Twilio is purely notification infrastructure in your stack, it is not a conversion source and should not be treated as one.
  • 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.

Twilio → Attentive · what we deliver

What gets built — Twilio → Attentive

  • Identifier capture into Twilio

    Attach the click identifier in your own application's record when creating the Twilio interaction, and store it alongside the Twilio SID so the two can be joined.

  • Event source: your application's own event, keyed to the Twilio SID

    Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.

  • 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

    Nothing inherent; whatever your application defines as a reversal applies.

Written guarantee

95%+ tracking accuracy

Measured against Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Twilio → Attentive questions, answered

No. Your application has to capture the opt-out from Twilio's inbound webhook and update Attentive, or the customer can still receive Attentive campaigns.

Free · 30 min

Get Twilio and Attentive joined properly

Free30 minutesNo obligation