Overview
Icon for Signal House

Signal House

SMS order updates and campaigns

Signal House for Medusa

SMS for Medusa stores, powered by Signal House. Install one package into your Medusa backend and your store can send order and shipping texts, recover abandoned carts, run marketing broadcasts, and track delivery and revenue, all from the Medusa admin.

  • Transactional SMS. Order confirmations and shipping updates, sent through Medusa's own Notification module as an Copy to clipboardsms provider.
  • Cart recovery. A text for abandoned carts, with a link straight back to the cart.
  • Consent built in. Customers opt in by replying JOIN and opt out by replying STOP. Nothing sends without a consent record, except a phone sign-in code the customer just asked for.
  • Marketing broadcasts. Send to every opted-in customer, or to one Medusa customer group.
  • Phone sign-in. Customers sign in with a code texted to their phone, sent from your 2FA campaign, as a Medusa auth provider next to email and password.
  • Admin pages. Connect your Signal House account, register your 10DLC brand, compose broadcasts, and see delivery, cart-save, and revenue analytics.

Requires Medusa 2.19+ and Node 20.19+ or 22.12+, plus a Signal House account and API key.

Quick start

1. Install

npm install @signalhouse-sms/medusa-plugin

2. Register the plugin and the SMS provider in Copy to clipboardmedusa-config.ts:

module.exports = defineConfig({
// ...
plugins: ["@signalhouse-sms/medusa-plugin"],
modules: [
{
resolve: "@medusajs/medusa/notification",
options: {
providers: [
{
resolve: "@signalhouse-sms/medusa-plugin/providers/signalhouse-sms",
id: "signalhouse-sms",
options: {
channels: ["sms"],
apiKey: "<your Signal House API key>",
senderPhoneNumber: "<your Signal House number>",
},
},
],
},
},

3. Run migrations

npx medusa db:migrate

Run this again after every upgrade.

4. Connect your account. Open the Medusa admin and choose Signal House in the sidebar. Paste your API key, then fill in the 10DLC brand registration form.

5. Add an SMS opt-in checkbox to checkout. Your storefront calls Copy to clipboardPOST /store/sms-consent/join-prompt with the cart id; the customer gets a "Reply JOIN to confirm" text, and their reply is what opts them in. A ready-made Next.js checkbox is in the consent guide.

6. Receive replies and delivery updates. In Signal House, create a webhook endpoint pointing to Copy to clipboardhttps://<your-medusa-backend>/webhooks/signalhouse, subscribed to Copy to clipboardMESSAGE_RECEIVED, Copy to clipboardMESSAGE_DELIVERED, and Copy to clipboardMESSAGE_FAILED. Set its signing secret as Copy to clipboardSIGNALHOUSE_WEBHOOK_SIGNING_SECRET on your Medusa host.

Order and shipping texts work as soon as a customer has opted in. Cart recovery and broadcasts stay off until you turn them on (see below).

Provider options

Option Required Description Copy to clipboardapiKey Yes Signal House API key used to send messages. Copy to clipboardsenderPhoneNumber Yes Default sending number. A notification that carries its own Copy to clipboardfrom overrides it. Copy to clipboardbaseUrl No Signal House API URL. Defaults to Copy to clipboardhttps://v2.signalhouse.io.

Environment variables

Set these on your Medusa host.

Variable Default Purpose Copy to clipboardSIGNALHOUSE_SETTINGS_ENCRYPTION_KEY none 64 hex characters (for example Copy to clipboardopenssl rand -hex 32). Encrypts the API key stored by the admin page. Needed before you connect an account. Copy to clipboardSIGNALHOUSE_WEBHOOK_SIGNING_SECRET none Verifies Signal House webhooks for JOIN/STOP replies and delivery tracking. Copy to clipboardSIGNALHOUSE_INBOUND_NUMBERS your providers' sender numbers Comma-separated numbers whose JOIN replies opt people in. Only needed if customers text a number that isn't a configured sender. Copy to clipboardSIGNALHOUSE_CART_ABANDONMENT_ENABLED Copy to clipboardfalse Turns on cart recovery texts. Copy to clipboardSIGNALHOUSE_CART_ABANDONMENT_THRESHOLD_MINUTES Copy to clipboard60 How long a cart sits before it counts as abandoned. Copy to clipboardSIGNALHOUSE_CART_RECOVERY_URL_BASE none Your storefront's cart recovery page. Without it, recovery texts go out with no link. Copy to clipboardSIGNALHOUSE_MARKETING_BROADCAST_ENABLED Copy to clipboardfalse Turns on broadcast sending. Copy to clipboardSIGNALHOUSE_ATTRIBUTION_WINDOW_DAYS Copy to clipboard7 How long after a text an order is credited to it. Copy to clipboardSIGNALHOUSE_API_BASE_URL Copy to clipboardhttps://v2.signalhouse.io Change only for a non-production Signal House environment. Copy to clipboardSIGNALHOUSE_PORTAL_URL Copy to clipboardhttps://app2.signalhouse.io Where the admin's billing link points.

Cart recovery and broadcasts

Both ship turned off so each store decides when to send. Before turning them on, read the compliance checklist. The main thing to plan for is send timing: keep these texts between 8am and 9pm in your customers' local time.

  • Cart recovery checks every 15 minutes and sends at most one text per phone number per 24 hours. Only carts abandoned after you turn it on are texted, so enabling it never messages last week's carts. The cart recovery route guide has a Next.js route for the link.
  • Broadcasts are composed in the admin under SH Broadcasts, sent to every opted-in customer or one customer group, and can be scheduled. Consent is re-checked right before each send.

Phone sign-in

Register the Copy to clipboardsignalhouse-phone auth provider and customers can sign in or sign up with a 6-digit code texted to their US phone number. Codes come from a number on a campaign registered for the 2FA use case, which takes carrier approval, so set that up first. Codes expire in 10 minutes, five wrong guesses end a code, and sends are limited per number, per network and per store. Signing in never opts anyone into texts. The phone sign-in guide has the setup and a sample login form.

  • Consent is granted only when the phone's owner replies JOIN, and it covers marketing, cart recovery, and transactional texts.
  • STOP, END, QUIT, CANCEL, UNSUBSCRIBE and similar replies opt the number out of everything.
  • "Reply STOP to opt out." is added to the first text a number receives from your store. Phone sign-in codes are the exception: they go only to a number that just asked for one, never carry the footer, and never count as consent or as that number's first text.
  • A confirmation text is sent automatically when someone replies JOIN.

Billing

The plugin is free. Messages bill to your Signal House wallet like any other Signal House usage, and the admin page shows your plan and wallet status with a link to manage billing.

Guides

The full guides ship with the package in Copy to clipboardnode_modules/@signalhouse-sms/medusa-plugin/docs/:

Support

Questions or issues: signalhouse.io.

License

MIT

You may also like

Browse all integrations

Build your own

Develop your own custom integration

Build your own integration with our API to speed up your processes. Make your integration available via npm for it to be shared in our Library with the broader Medusa community.

gift card interface

Ready to build your custom commerce setup?