Skip to main content
SendGrid → Customer.ioIntegration guide

Connecting SendGrid to Customer.io

SendGrid carries both transactional and marketing mail through one account, which is convenient operationally and the source of the measurement problem: only one of those two streams has anything to do with acquisition. 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 SendGrid send 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

SendGrid and Customer.io: who sends the order confirmation?

Decide first who owns receipts: SendGrid from your app with Customer.io sending only follow-ups, or Customer.io replacing the SendGrid template. Use one person ID in both, passed in SendGrid custom arguments, and forward unsubscribes and spam reports from the Event Webhook to Customer.io subscription state. Test in a separate workspace first.

Customer.io triggers messages on events, and SendGrid usually already sends your transactional mail from application code. Put them together without a plan and the first purchase event you send to Customer.io starts a campaign that emails a customer who has already received a SendGrid receipt. The first decision in this pair is ownership: either the app keeps sending receipts through SendGrid and Customer.io only sends follow-ups, or receipts move to Customer.io and the SendGrid template is retired.

Identity is the second decision. Customer.io keys people on an ID you choose, often email. If SendGrid lists hold emails with different casing or old addresses, importing them creates people who do not match your app's identifiers and receive campaigns twice. Use the same ID in both, and pass it in SendGrid custom arguments so Event Webhook data can be matched to the Customer.io person.

Forward suppression events, not engagement. An unsubscribe or spam report on a SendGrid marketing send should update the person's subscription state in Customer.io, otherwise the second sender ignores an opt-out. Test the whole flow in a separate Customer.io workspace first, because a purchase event fired at production sends a real email the moment it lands.

SendGrid → Customer.io · what breaks

Why this join usually fails — SendGrid → Customer.io

  1. 01

    The person identifier you assign never reaches SendGrid

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  2. 02

    Receipt clicks credited to email marketing

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  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.

SendGrid → Customer.io · the fix

What working looks like — SendGrid → Customer.io

  • The person identifier you assign on every message

  • 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

SendGrid → Customer.io · architecture

How SendGrid and Customer.io actually connect

  1. 1

    SendGrid holds the truth

    A receipt and a promotional campaign are both an email in the same account. Only the campaign can plausibly have caused a purchase, and only if the purchase carries the campaign's identifier.

  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 SendGrid send.

  4. 4

    The event source decides reliability

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  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.

SendGrid → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the message

  • Sent from your order system

  • 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

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  • Sent from the browser

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  • 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

SendGrid → Customer.io · diagnose

Diagnostic order — SendGrid → Customer.io

  1. 01

    Count messages carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether transactional links carry campaign parameters

    If they do, every receipt click is being credited to email and the channel's reported performance is inflated.

  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.

SendGrid → Customer.io · prove

How it gets proven — SendGrid → Customer.io

Source of truth

Your order system, with marketing sends distinguished from transactional ones.

  • The person identifier you assign confirmed present on a live message.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Orders from tagged marketing clicks reconciled against imported conversions, with transactional traffic excluded.

SendGrid → Customer.io · free audit

What we check in the free audit

  • Count messages carrying the person identifier you assign
  • Follow one real conversion end to end
  • Check whether transactional links carry campaign parameters
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Your order system, with marketing sends distinguished from transactional ones.

Get my free conversion tracking audit

Free30 minutesNo obligation

SendGrid → Customer.io · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the person identifier you assign.
  • If you send only transactional mail, there is no marketing channel here to measure.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

SendGrid → Customer.io · what we deliver

What gets built — SendGrid → Customer.io

  • Identifier capture into SendGrid

    Tag marketing links explicitly and attribute purchases from those; treat transactional traffic as returning customers, not as a channel.

  • Event source: your order system

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  • 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

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with marketing sends distinguished from transactional ones.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SendGrid → Customer.io questions, answered

Yes, if you decide which one sends each message type and sync unsubscribes between them. Otherwise customers get duplicate emails.

Free · 30 min

Get SendGrid and Customer.io joined properly

Free30 minutesNo obligation