Skip to main content
Twilio → Customer.ioIntegration guide

Connecting Twilio to Customer.io

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. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Twilio message or call record before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Customer.io and Twilio: SMS sender and event source are two jobs

Customer.io's Twilio connection only sends its own SMS. Send events from your own Twilio application keyed on the Customer.io person identifier, only for meaningful outcomes, with the attributes campaigns reference. Don't resend status callbacks for Customer.io messages, which creates loops, and check how inbound replies and STOP are handled first.

Customer.io can send SMS through a Twilio account you connect, so many teams already have the two linked for sending. That connection delivers Customer.io's messages; it does not tell Customer.io about calls or texts your own Twilio application handles. Those need to come from your application as events, keyed on the Customer.io person identifier you already use.

Keep the two directions apart. Delivery metrics for messages Customer.io sent are already in Customer.io; re-sending Twilio status callbacks for those messages as events creates loops where a delivered text triggers a campaign that sends another text. Send events only for interactions your application handled, and only when they mean something: a missed sales call, a reply that books an appointment, a support conversation closed.

Inbound replies are the subtle case. When a customer replies to a Customer.io text, the reply arrives at your Twilio number's webhook; check how your Customer.io SMS setup handles inbound messages and opt-outs before building your own handling, or STOP may be processed twice or not at all. Include the attributes your campaigns reference on every event, since Customer.io sends with an empty placeholder when one is missing.

Twilio → Customer.io · what breaks

Why this join usually fails — Twilio → Customer.io

  1. 01

    The person identifier you assign 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

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Twilio → Customer.io · the fix

What working looks like — Twilio → Customer.io

  • The person identifier you assign on every interaction

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

Twilio → Customer.io · architecture

How Twilio and Customer.io 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

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, 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

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

Twilio → Customer.io · normal or broken

Working vs. broken, side by side — Twilio → Customer.io

Normal, not a fault

  • The person identifier you assign present on the interaction

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

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

Twilio → Customer.io · diagnose

Diagnostic order — Twilio → Customer.io

  1. 01

    Count interactions carrying the person identifier you assign

  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

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Twilio → Customer.io · prove

How it gets proven — Twilio → Customer.io

Source of truth

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

  • The person identifier you assign confirmed present on a live interaction.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Conversions confirmed to come from your application's business events rather than Twilio's delivery callbacks.

Twilio → Customer.io · free audit

What we check in the free audit

  • Count interactions carrying the person identifier you assign
  • Follow one real conversion end to end
  • Check whether your application logs the business meaning of each interaction
  • Confirm which workspace you are writing to before sending anything
  • 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 → Customer.io · when not to buy

When you don't need this — Twilio → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred interactions and count how many carry the person identifier you assign.
  • If Twilio is purely notification infrastructure in your stack, it is not a conversion source and should not be treated as one.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Twilio → Customer.io · what we deliver

What gets built — Twilio → Customer.io

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

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • 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 → Customer.io questions, answered

No. It uses your Twilio account to send Customer.io messages; calls and texts handled by your own application must be sent as events separately.

Free · 30 min

Get Twilio and Customer.io joined properly

Free30 minutesNo obligation