Overview
A daily n8n workflow compares Shopify stock with reorder points you keep in a sheet and leaves a templated purchase order email draft for each supplier, which you check and send.
Problem or Objective
- Which agents run multi-step workflows across your apps?
- Which agents attempt to run whole business processes, and where do people stay in control?
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Shopify · Google Sheets · Gmail
- Prerequisites
- An n8n instance (cloud or self-hosted) with Shopify, Google Sheets and Gmail credentials. The workflow must be published for the schedule to run.
How It Works
Keep a Google Sheet of reorder rules with one row per product: SKU, reorder point, reorder quantity, supplier name and supplier email. In n8n, start with a Schedule Trigger that runs every morning. Read the rules with a Google Sheets node and the products with a Shopify node, then compare each product's stock with its reorder point using plain rules, with no AI step. Group the products that fall below their point by supplier and fill a fixed email template: your store name, a table of SKU, product and quantity, and the delivery address. A Gmail node creates one draft per supplier; it does not send. Each morning, open the drafts, check the quantities against open orders and anything already on the way, edit, and send only the orders you approve. Change reorder points in the sheet, not in the workflow.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Shopify, Google Sheets, Gmail.
- Check the prerequisitesAn n8n instance (cloud or self-hosted) with Shopify, Google Sheets and Gmail credentials. The workflow must be published for the schedule to run.
- Gather your detailsCollect what the prompt asks for: Store name, Daily run time, Google Sheet with reorder rules, Purchase order email template.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Set up the daily reorder check
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Help me build an n8n workflow for [Store name]. Every day at [Daily run time], read reorder rules from the sheet [Google Sheet with reorder rules] (SKU, reorder point, reorder quantity, supplier, supplier email) and current stock from Shopify. For every SKU at or below its reorder point, group by supplier and create one Gmail draft per supplier using this template: [Purchase order email template]. Use plain comparisons, no AI. Only create drafts; never send email or place orders. I review and approve each draft before sending it myself.Review every draft each morning against open orders and stock on the way, and send only the orders you approve.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs support running a workflow at fixed times, getting products from Shopify, calling the Shopify API through the HTTP Request node when an operation is missing, working with Google Sheets, and creating Gmail drafts. They say nothing about stock accuracy or time saved, and nothing here measured either.
Limitations and Considerations
Nothing is ordered automatically: each purchase order stays a draft until you approve and send it, because an order commits money with the supplier. Check before the first run whether the Shopify node's product data includes the stock counts you need; if not, use the HTTP Request node with the same credential as the page describes. Rules only know what is in the sheet; stock already on order or seasonal demand still need your judgement. Check your supplier's ordering terms and minimum quantities. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Schedule Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- Use the Schedule Trigger node to run workflows at fixed intervals and times.
- Shopify | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 16:49 UTC
What this source supports
- n8n has built-in support for a wide range of Shopify features, including creating, updating, deleting, and getting orders and products.
- If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
- Google Sheets | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- Use the Google Sheets node to automate work in Google Sheets, and integrate Google Sheets with other applications.
- Gmail | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 13:54 UTC
What this source supports
- n8n has built-in support for a wide range of Gmail features, including creating, updating, deleting, and getting drafts, messages, labels, and threads.

