Skip to main content
Medusa → AttentiveIntegration guide

Connecting Medusa to Attentive

Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. 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 Medusa order 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

Medusa orders into Attentive to stop the wrong texts

A Medusa shipping-address phone is not SMS consent, so subscribers must opt in through Attentive's signup unit. A payment-capture subscriber then posts the order with E.164 phone, items and total, stopping abandoned-cart texts. Send at capture, not placement, to skip failed payments, and add shipped and delivered events with tracking links.

Attentive fits a consumer Medusa store well, but the phone number on a Medusa order's shipping address is not SMS consent. Subscribers have to opt in through Attentive's signup unit or another compliant flow on your storefront; the Medusa order only tells Attentive what that subscriber did. Check whether Attentive offers a Medusa integration in your account; most headless builds post events from a subscriber instead.

The most valuable job is suppression. Abandoned-cart and browse texts keep firing until Attentive learns the subscriber bought, and in a headless build the storefront may not report the purchase reliably. A subscriber on payment capture that posts the order with the phone, items and total stops those flows. Normalize the number to E.164 using the order's shipping country first, since Medusa stores the phone as typed.

Send the order at payment capture, not when it is placed. Order placed includes pending and failed payments, and a thank-you text sent for a payment that later fails creates a support ticket. Fulfillment events are useful too: shipped and delivered can trigger post-purchase texts with the tracking link, which Attentive can only send if your subscriber includes it.

Medusa → Attentive · what breaks

Why this join usually fails — Medusa → Attentive

  1. 01

    The subscriber's phone number never reaches Medusa

    The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.

  2. 02

    Firing on order placed rather than payment captured

    They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.

  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.

Medusa → Attentive · the fix

What working looks like — Medusa → Attentive

  • The subscriber's phone number on every order

  • 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

Medusa → Attentive · architecture

How Medusa and Attentive actually connect

  1. 1

    Medusa holds the truth

    Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.

  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 Medusa order.

  4. 4

    The event source decides reliability

    Send orders at payment capture, at the paid total.

  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.

Medusa → Attentive · normal or broken

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

Normal, not a fault

  • The subscriber's phone number present on the order

  • Sent from a Medusa subscriber on order payment capture

  • 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

    The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.

  • Sent from the browser

    They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.

  • 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

Medusa → Attentive · diagnose

Diagnostic order — Medusa → Attentive

  1. 01

    Count orders carrying the subscriber's phone number

  2. 02

    Follow one real conversion end to end

  3. 03

    Check which event your subscriber listens to

    One line of code, and it decides whether you are counting orders or counting money.

  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.

Medusa → Attentive · prove

How it gets proven — Medusa → Attentive

Source of truth

Medusa orders by payment status, emitted from your own subscriber code.

  • The subscriber's phone number confirmed present on a live order.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • Payment-captured orders reconciled against imported conversions.

Medusa → Attentive · free audit

What we check in the free audit

  • Count orders carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Check which event your subscriber listens to
  • Verify that events for non-consented customers cannot trigger a send
  • Read the match rate, not the success message

Checked against

Medusa orders by payment status, emitted from your own subscriber code.

Get my free conversion tracking audit

Free30 minutesNo obligation

Medusa → Attentive · when not to buy

When you don't need this — Medusa → Attentive

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the subscriber's phone number.
  • If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
  • 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.

Medusa → Attentive · what we deliver

What gets built — Medusa → Attentive

  • Identifier capture into Medusa

    Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.

  • Event source: a Medusa subscriber on order payment capture

    Send orders at payment capture, at the paid total.

  • 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

    Refunds emit their own event and should reverse.

Written guarantee

95%+ tracking accuracy

Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Medusa → Attentive questions, answered

No. Marketing SMS needs opt-in through a compliant signup, such as Attentive's own signup unit. The order phone is only a match key.

Free · 30 min

Get Medusa and Attentive joined properly

Free30 minutesNo obligation