Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Trigger Supplier Reorders When Stock Runs Low

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

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.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, Shopify, Google Sheets, Gmail.
  3. 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.
  4. Gather your detailsCollect what the prompt asks for: Store name, Daily run time, Google Sheet with reorder rules, Purchase order email template.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. 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].

Preview
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

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. 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.
  2. 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.
  3. 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.
  4. 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.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Expand an Editorial Outline into an SEO-Ready Long Article

An n8n workflow passes an editor's outline through two Basic LLM Chain nodes: one writes a long draft section by section, the other returns structured search metadata for the editor to review.

docs.n8n.ion8n-io/n8n
Planned, not done

Combine Daily News, Mail, Calendar, and Weather Into One Digest

Build an n8n workflow that runs each morning, gathers headlines from RSS feeds, recent Gmail messages, today's Google Calendar events and the weather, and emails you one short digest.

docs.n8n.ion8n-io/n8n

View all: n8n