Use STOQ triggers in Shopify Flow to customize your workflows
B-in-stock notifications and preorder management can be seamlessly integrated with your existing marketing automation tools through Shopify Flow. This guide explains how to leverage STOQ's Flow triggers to automate customer communications and inventory management workflows.
Go to Back in stock alerts > Integrations for back-in-stock related flow triggers.
Or, go to Preorders > Settings to configure triggers related to preorders.
Look for the "Shopify Flow" section and enable the trigger setting.
Enable any triggers you want STOQ to send. Then, add any of the available triggers below in Shopify Flow to receive events.


Triggered instantly when a customer signs up for back-in-stock notifications through your storefront. Use this to track signup activity and initiate customer engagement workflows.
Variables:
Triggered when STOQ needs to send back-in-stock notifications to customers. This trigger can be used to send emails through your preferred marketing automation tool instead of STOQ's built-in email system.
How it works:
Create a new workflow with STOQ's "Customer notified for email back in stock alert" as the trigger
Connect your marketing tool's extension to the workflow
Use the event data to populate the email template and notify your customer.
Variables:
When using the "Customer notified for email back in stock alert" trigger, you can continue to send emails through STOQ's email system or use your preferred marketing automation tool through Shopify Flow. Make sure to set the email sender in Back in stock alerts > Notifications > Customize email.
Triggered when a product variant's inventory is restocked and matches all conditions set in STOQ's dashboard. This allows you to automate actions based on inventory changes.
Variables:
Triggered when a product is added to a selling plan or offer, enabling automation of offer-related workflows and inventory management.
Variables:
Triggered when a customer successfully places a preorder, allowing you to track and manage preorder activities in your marketing or inventory systems.
Variables:
Flow events are rate limited. For large sets of customers in waitlists, you may experience some delay in receiving trigger events.
Enable Flow triggers
Go to Back in stock alerts > Integrations for back-in-stock related flow triggers.
Or, go to Preorders > Settings to configure triggers related to preorders.
Look for the "Shopify Flow" section and enable the trigger setting.
Enable any triggers you want STOQ to send. Then, add any of the available triggers below in Shopify Flow to receive events.


Available triggers for back in stock alerts
1. Customer signed up
Triggered instantly when a customer signs up for back-in-stock notifications through your storefront. Use this to track signup activity and initiate customer engagement workflows.
Variables:
Variable | Description |
---|---|
Customer ID | Unique identifier for the customer |
Customer name | Customer's full name |
Customer locale | Customer's locale setting |
Customer email | Customer's email address |
Customer phone | Customer's phone number |
Product reference | Reference to the product in Shopify |
Product ID | Shopify product ID |
Variant ID | Shopify variant ID |
Market ID | Shopify market ID |
2. Customer notified for email back in stock alert
Triggered when STOQ needs to send back-in-stock notifications to customers. This trigger can be used to send emails through your preferred marketing automation tool instead of STOQ's built-in email system.
How it works:
Create a new workflow with STOQ's "Customer notified for email back in stock alert" as the trigger
Connect your marketing tool's extension to the workflow
Use the event data to populate the email template and notify your customer.
Variables:
Variable | Description |
---|---|
Customer ID | Unique identifier for the customer |
Customer name | Customer's full name |
Customer email | Recipient's email address |
Customer locale | Customer's locale setting |
Customer phone | Customer's phone number |
Product reference | Reference to the product in Shopify |
Product ID | Shopify product ID |
Variant ID | Shopify variant ID |
Market ID | Shopify market ID |
Notification type | Type of notification (email/sms) |
Checkout link | Direct link to checkout |
Product page link | Link to product page |
Unsubscribe link | Link to unsubscribe from notifications |
Email Provider Options
When using the "Customer notified for email back in stock alert" trigger, you can continue to send emails through STOQ's email system or use your preferred marketing automation tool through Shopify Flow. Make sure to set the email sender in Back in stock alerts > Notifications > Customize email.
3. Product Variant Restocked
Triggered when a product variant's inventory is restocked and matches all conditions set in STOQ's dashboard. This allows you to automate actions based on inventory changes.
Variables:
Variable | Description |
---|---|
Product reference | Reference to the product in Shopify |
Product ID | Shopify product ID |
Variant ID | Shopify variant ID |
Market IDs | Comma-separated list of Market IDs where restock occurred |
Available triggers for preorders
4. Product Added to Offer
Triggered when a product is added to a selling plan or offer, enabling automation of offer-related workflows and inventory management.
Variables:
Variable | Description |
---|---|
Product ID | Shopify product ID |
Variant ID | Shopify variant ID |
Offer Name | Name of the selling plan |
Offer Order Tags | Tags applied to orders using this offer |
5. Customer Placed Preorder
Triggered when a customer successfully places a preorder, allowing you to track and manage preorder activities in your marketing or inventory systems.
Variables:
Variable | Description |
---|---|
Order reference | Reference to the order in Shopify |
Limitations
Flow events are rate limited. For large sets of customers in waitlists, you may experience some delay in receiving trigger events.
Updated on: 17/02/2025
Thank you!