Skip to main content
Loop → Customer.ioIntegration guide

Connecting Loop Returns to Customer.io

Loop is built to turn returns into exchanges rather than refunds, which means the outcome of a return is a decision with three different revenue consequences. 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 Loop return 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

Loop Returns to Customer.io: trigger on closed, not created

Trigger Customer.io messages from the Loop status that settles the outcome, not return created, keyed on the person identifier from the Shopify order. Send outcome, credit amount, replacement item and label link as attributes, validated so templates aren't empty. Refunds should exit post-purchase campaigns and exchanges hold review requests. Test in a sandbox, since test returns email real shoppers.

Customer.io acts on events within seconds, and Loop return statuses change. A customer can open a return, switch from refund to exchange, or cancel it entirely. If your workflow triggers on return created, the customer can get a refund confirmation for a return they later turned into an exchange. Trigger messages from the status that settles the outcome, and treat earlier statuses as attributes, not triggers.

Key the event on the person identifier you already use for that customer, normally from the Shopify order rather than the email typed into the Loop portal. Then send the attributes the message templates reference: outcome, credit amount, replacement item, shipping label link if you message it. Customer.io will happily send a store-credit email with an empty amount if the attribute is missing, so validate the payload before posting.

The most useful downstream rule is suppression: a refund event should exit the customer from any active post-purchase campaign about that order, and an exchange should hold review requests until the replacement arrives. Test the whole flow against a test workspace or a sandboxed person; this is the destination where a test return creates a real email to a real shopper.

Loop → Customer.io · what breaks

Why this join usually fails — Loop → Customer.io

  1. 01

    The person identifier you assign never reaches Loop

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  2. 02

    Every return treated as a full refund

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse 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.

Loop → Customer.io · the fix

What working looks like — Loop → Customer.io

  • The person identifier you assign on every return

  • 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

    Loop Returns's own records are the reference, not either dashboard.

Loop → Customer.io · architecture

How Loop and Customer.io actually connect

  1. 1

    Loop Returns holds the truth

    An exchange keeps the revenue and costs you shipping. A refund reverses it entirely. Store credit sits in between. Treating all three as one reversal loses the distinction Loop exists to create.

  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 Loop return.

  4. 4

    The event source decides reliability

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  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.

Loop → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the return

    Visible on the record itself in Loop Returns, not merely captured somewhere on the site.

  • Sent from the store order record, adjusted by Loop outcomes

  • 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

    Customer.io's count and Loop Returns's records agree within a few percent over a closed window.

Actually broken

  • The person identifier you assign missing on most records

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  • Sent from the browser

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse 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

    The dashboard shows a number and no one has compared it to Loop Returns.

Loop → Customer.io · diagnose

Diagnostic order — Loop → Customer.io

  1. 01

    Count returns carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Split returns by outcome — refund, exchange, store credit

    The mix differs by campaign and by product, and it changes the net revenue figure materially.

  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.

Loop → Customer.io · prove

How it gets proven — Loop → Customer.io

Against Loop Returns's own records, not against either platform's dashboard.

Source of truth

Store orders net of returns, with exchanges and refunds distinguished.

  • The person identifier you assign confirmed present on a live return.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Net revenue reconciled after the return window with the three outcomes adjusted separately.

Loop → Customer.io · free audit

What we check in the free audit

  • Count returns carrying the person identifier you assign
  • Follow one real conversion end to end
  • Split returns by outcome — refund, exchange, store credit
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Store orders net of returns, with exchanges and refunds distinguished.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loop → Customer.io · when not to buy

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

  • If Customer.io already reports conversions that reconcile against Loop Returns's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the person identifier you assign.
  • If you only issue refunds, a simple full reversal is correct and this distinction adds nothing.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Loop → Customer.io · what we deliver

What gets built — Loop → Customer.io

  • Identifier capture into Loop

    Join on the order identifier. There is no identifier to capture here — the work is carrying the order's through and reversing correctly.

  • Event source: the store order record, adjusted by Loop outcomes

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  • 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

    This is the whole integration. Three outcomes, three different adjustments.

Written guarantee

95%+ tracking accuracy

Measured against Store orders net of returns, with exchanges and refunds distinguished.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loop → Customer.io questions, answered

The status that closes the outcome, such as the return being processed as a refund or the exchange shipping. Statuses before that can still change in the Loop portal.

Free · 30 min

Get Loop and Customer.io joined properly

Free30 minutesNo obligation