How it works

Follow these 5 simple steps to automate this task automatically.

Shopify logo icon

A Shopify order is created

App connector: Shopify • Time to complete: 1 minute

The workflow starts when a new order is placed in Shopify, capturing the order details for further processing.

Loop over line items

App connector: Loop • Time to complete: 1 minute

Uses the built-in Loop tool to iterate through each line item in the order to check inventory levels and identify any products that may be out of stock.

Retrieve product variant

App connector: Shopify • Time to complete: 1 minute

Fetches the product variant’s inventory data from Shopify using the variant ID associated with each line item.

Check if inventory quantity is Out of Stock

App connector: Filter • Time to complete: 1 minute

Compares the product’s inventory quantity to zero. If the stock level is 0 or less, the workflow proceeds to the next step.

discord icon

Send Discord notification

App connector: Discord • Time to complete: 1 minute

Sends an automated Discord message alerting your team of an out-of-stock product, including its SKU, title, and a Shopify link for restocking.

Make it your own

Customize this workflow even further:

Set custom delays
Schedule actions to trigger after a set time period, such as sending follow-up emails 3 days after an event.
Chain multiple actions
Connect several steps together in one workflow, like tagging data, updating records, and notifying your team simultaneously.
Store data in tables
Save order details, customer preferences, or custom metrics in your own database for reference and reporting.
Deploy AI agents for smart decisions
Let AI agents evaluate complex scenarios and choose the right action path based on your defined rules.

Frequently asked questions

What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to automate this task automatically?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 5 min setup • Cancel anytime