How to send SMS back in stock and preorder alerts through Klaviyo

STOQ lets you send SMS back-in-stock and preorder alerts through Klaviyo instead of the default STOQ SMS provider. When a product is restocked or a customer places a preorder, STOQ fires a custom metric event to Klaviyo, which triggers a flow that sends the SMS notification.


This integration supports three types of SMS alerts:

  • Back-in-stock SMS alert -- Sent when a product is restocked
  • Back-in-stock SMS reminder -- A follow-up reminder after the initial alert
  • Preorder SMS confirmation -- Sent immediately after a customer places a preorder


You manage the SMS content, timing, and delivery entirely within Klaviyo. STOQ handles the event data and customer profiles.


Before You Begin


Before you can send SMS alerts through Klaviyo, make sure you have the following:

  • A paid STOQ plan. The Klaviyo SMS provider option is not available on the Free plan.
  • A Klaviyo account with SMS enabled. You need an active Klaviyo account that supports SMS messaging. Klaviyo requires a separate SMS subscription or add-on.
  • Klaviyo OAuth permissions. STOQ connects via OAuth and requires flows:read and flows:write permissions for automatic setup.


Note: STOQ supports both back-in-stock and preorder SMS through Klaviyo. Each alert type is configured separately in its own template editor.


How to Switch Your SMS Provider to Klaviyo


The first step is to change your SMS provider from STOQ to Klaviyo in the template editor.


For Back-in-Stock Alerts


  1. In the STOQ app, go to Back in stock alerts > Notifications.
  2. Click Customize SMS
  3. Click Send SMS through in the sidebar.
  4. Under SMS platform, select Klaviyo.
  5. Click connect to start the setup.




For Preorder Alerts


  1. In the STOQ app, go to Preorder > Settings > Notifications.
  2. Click Customize SMS
  3. Click Send SMS through in the sidebar.
  4. Under SMS platform, select Klaviyo.
  5. Click connect to start the setup.



How to Connect Klaviyo to STOQ


After selecting Klaviyo as your SMS provider, you need to connect your Klaviyo account via OAuth.


  1. In the Send SMS through panel, find the 1. Connect Klaviyo section.
  2. Click the Connect button.
  3. A new tab opens with the Klaviyo authorization page. Click Allow to grant STOQ access to your Klaviyo account.
  4. Return to the STOQ tab and refresh the page to confirm the connection.


Once connected, a green check mark appears next to 1. Connect Klaviyo.


Tip: If you already connected Klaviyo for email alerts, the same connection is used for SMS. You do not need to connect again.


How to Set Up SMS Flows in Klaviyo


After connecting Klaviyo, STOQ presents two setup options: Automatic and Manual. Choose the method that suits your workflow.


Option A: Automatic Setup


Automatic setup lets STOQ create and activate Klaviyo flows for you. This is the fastest way to get started.


  1. In the 2. Choose setup method section, select Automatic setup.
  2. Click Continue.
  3. STOQ creates your flows in Klaviyo automatically. You will see a progress indicator with two steps:
  • Creating flows
  • Activating flows
  1. When complete, a success banner confirms that setup is finished.


STOQ creates the following flows in your Klaviyo account:


Flow name

Trigger metric

Alert type

STOQ - Back in stock SMS alert (STOQ)

Back in stock SMS alert (STOQ)

Main back-in-stock alert

STOQ - Back in stock SMS reminder 1 (STOQ)

Back in stock SMS reminder 1 (STOQ)

Follow-up reminder

STOQ - Preorder SMS confirmed (STOQ)

Preorder SMS confirmed (STOQ)

Preorder confirmation


Note: Only the flows relevant to your current template are created. Back-in-stock flows are created when you set up a back-in-stock template, and the preorder flow is created when you set up a preorder template.


After automatic setup, you can view and customize the flows directly in your Klaviyo dashboard.




Option B: Manual Setup


Manual setup gives you full control over flow creation in Klaviyo.


  1. In the 2. Choose setup method section, select Manual.
  2. Click Continue.
  3. Open your Klaviyo account and create a new flow.
  4. Set the flow trigger to the correct STOQ metric. The metric name is displayed in the STOQ panel. For example:
  • Back in stock SMS alert (STOQ) for the main back-in-stock alert
  • Back in stock SMS reminder 1 (STOQ) for the follow-up reminder
  • Preorder SMS confirmed (STOQ) for preorder confirmations
  1. Add an SMS action to the flow and compose your message using the available template variables.
  2. Name your flow, then activate it.
  3. Return to STOQ, enter the exact flow name in the Flow name field.
  4. Click Verify flow to confirm STOQ can find your flow in Klaviyo.


A green check mark appears next to the flow name when verification succeeds.


Tip: You can click Send test event to send a dummy metric to Klaviyo. This helps you confirm the flow triggers correctly before going live.



How to Test Your SMS Flow


After setup is complete, STOQ displays a 3. Test your flow section with testing instructions.


Testing Back-in-Stock SMS


  1. Sign up for a back-in-stock alert with your phone number on your store.
  2. Confirm that STOQ's metric appears in your Klaviyo dashboard.
  3. Restock the product and check your phone for the back-in-stock SMS alert from Klaviyo.


Testing Preorder SMS


  1. Place an order for any preorder product on your store.
  2. Confirm that STOQ's metric appears in your Klaviyo dashboard.
  3. Check your phone for the preorder confirmation SMS from Klaviyo.



SMS Template Variables


When STOQ sends a metric event to Klaviyo, it includes data you can use in your SMS templates. Use Klaviyo's {{ event.variable_name }} syntax to insert these values.


Back-in-Stock SMS Variables


Klaviyo variable

Description

{{ event.product_title }}

Product name

{{ event.title_incl_variant }}

Product name including variant (e.g., "Floral Shirt - Medium")

{{ event.variant_title }}

Variant name only

{{ event.vendor }}

Product vendor

{{ event.purchase_link }}

Direct link to the product or checkout

{{ event.price }}

Product price

{{ event.image_url }}

Product image URL

{{ event.shop_name }}

Store name

{{ event.shop_domain }}

Store domain

{{ event.customer_name }}

Customer name

{{ event.customer_phone }}

Customer phone number

{{ event.customer_country_name }}

Customer country


Preorder SMS Variables


Klaviyo variable

Description

{{ event.first_product }}

Name of the first preorder product

{{ event.products }}

Comma-separated list of all preorder products

{{ event.products_count }}

Total number of preorder products

{{ event.other_count }}

Number of additional products beyond the first

{{ event.shipping_timeline }}

Estimated shipping timeline

{{ event.order_name }}

Order name (e.g., #1001)

{{ event.order_number }}

Order number

{{ event.shop_name }}

Store name

{{ event.shop_domain }}

Store domain

{{ event.customer_name }}

Customer name

{{ event.customer_phone }}

Customer phone number



How to Reset Your Setup


If you need to start over or switch between automatic and manual setup, you can reset the configuration.


  1. Scroll to the bottom of the Send SMS through panel.
  2. Click Reset setup.
  3. The setup choice screen reappears, and you can select a new method.


Warning: Resetting the setup removes the verified status of your SMS flows in STOQ. You will need to set up and verify your flows again. Flows already created in Klaviyo are not deleted.


Advanced Tips


Use these tips to get the most out of the Klaviyo SMS integration:


  • Customize flow timing in Klaviyo. Add time delays, conditional splits, or A/B tests to your SMS flows directly in Klaviyo for more control over delivery.
  • Use Klaviyo's quiet hours. Auto-created flows have SMS quiet hours enabled by default to avoid sending messages at inconvenient times.
  • Preorder SMS is marked transactional. Preorder confirmation flows are flagged as transactional in Klaviyo, which means they bypass marketing consent requirements.
  • Share one OAuth connection. If you already use Klaviyo for email alerts, the same OAuth connection works for SMS. You do not need to reconnect.
  • Monitor flow performance in Klaviyo. Use Klaviyo's analytics to track SMS delivery rates, click-through rates, and opt-outs.
  • Back-in-stock SMS supports link destination. When using STOQ as the SMS provider, you can choose between checkout and product page for the purchase link. When using Klaviyo, you control link behavior inside the Klaviyo flow instead.


Known Limitations


  • Paid plan required. Klaviyo as an SMS provider is only available on Lite, Pro, or Unlimited plans.
  • Klaviyo SMS subscription required. You need an active SMS plan in Klaviyo to send text messages. STOQ triggers the event, but Klaviyo handles SMS delivery and billing.
  • One flow per metric. Each STOQ metric should trigger only one Klaviyo flow. Creating multiple flows for the same metric may cause duplicate messages.
  • Automatic setup requires OAuth with flow permissions. The automatic setup option is only available when you connect via OAuth with flows:read and flows:write permissions. API key connections do not support automatic setup.
  • Flow name must match exactly. When using manual setup, the flow name entered in STOQ must match the exact name in Klaviyo, including capitalization and spacing.
  • SMS content is managed in Klaviyo. When Klaviyo is your SMS provider, the SMS body editor in STOQ is not used for delivery. Customize your message content directly in the Klaviyo flow.
  • Postscript is coming soon. Postscript is listed as an SMS provider option but is not yet available.
  • Reset does not delete Klaviyo flows. Resetting the setup in STOQ only removes the verification status. Flows created in Klaviyo remain active and must be paused or deleted manually.


Troubleshooting


Symptom

Cause

Fix

Klaviyo option is greyed out

Free plan does not support Klaviyo SMS

Upgrade to a paid STOQ plan

"Connect your Klaviyo account" banner appears

Klaviyo OAuth is not connected

Click Connect and authorize STOQ in Klaviyo

Automatic setup option not available

OAuth connection lacks flow permissions

Disconnect and reconnect Klaviyo to grant flows:read and flows:write scopes

Automatic setup failed

Klaviyo API error or rate limit

Wait a moment and try again, or switch to manual setup

Flow verification fails

Flow name in STOQ does not match Klaviyo

Check the exact flow name in Klaviyo and re-enter it in STOQ

SMS not received after restock

Flow is not active in Klaviyo, or Klaviyo SMS is not enabled

Open the flow in Klaviyo and confirm it is set to Live. Verify your Klaviyo SMS plan is active

"Klaviyo setup incomplete" warning on SMS drawer

Klaviyo connection or flow is not verified

Go to Send SMS through and complete the setup steps

Test event sent but no SMS received

Flow is in draft status or SMS quiet hours are active

Activate the flow and check Klaviyo's quiet hours settings



FAQs


Q : Can I use Klaviyo for SMS and STOQ for email at the same time?

A : Yes. SMS and email providers are separate settings, so you can mix and match Klaviyo for SMS and STOQ for email or any other combination.


Q : What is the difference between automatic and manual setup?

A : Automatic setup allows STOQ to create and activate Klaviyo flows for you in one click. Manual setup gives you full control to create the flow in Klaviyo and connect it by entering the flow name. Both methods result in a flow triggered by a STOQ metric.


Q : Do I need a separate Klaviyo connection for back in stock and preorder SMS?

A : No. A single Klaviyo connection works for both. However, the SMS flows for back in stock and preorder are configured separately.


Q : Can I switch from automatic to manual setup?

A : Yes. Click Reset setup in the provider panel to choose manual setup. This removes the verified status in STOQ but does not delete your existing Klaviyo flows.


Q : What happens if Klaviyo is disconnected?

A : STOQ will not be able to send SMS events to Klaviyo, so SMS notifications will stop. A warning will appear until the connection is restored.


Q : Are SMS charges billed through STOQ or Klaviyo?

A : When using Klaviyo as the SMS provider, all SMS delivery and billing are handled by Klaviyo. STOQ does not charge for these messages.


Q : Can I customize the SMS content when using Klaviyo?

A : Yes. Customization is done directly in Klaviyo by editing the SMS action in your flow and using available variables.


Q : What metric names does STOQ use for SMS?

A : STOQ uses Back in stock SMS alert (STOQ), Back in stock SMS reminder 1 (STOQ), and Preorder SMS confirmed (STOQ) as metric names for SMS events.

Updated on: 10/04/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!