# Manage inventory reorders with Google Sheets and Slack: n8n workflow

> Started by a clock, and works across Gmail, Google Sheets and Slack. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/manage-inventory-reorders-with-google-sheets-and-slack (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Manage inventory reorders with Google Sheets and Slack

Started by a clock, and works across Gmail, Google Sheets and Slack. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmanage-inventory-reorders-with-google-sheets-and-slack)

**22 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Logic 11 Service 9

The steps in the order they run, from what starts it.

- 1 **When Scheduled** Schedule trigger *Starts it*
- 2 **When Slack Message Received** Slack trigger *Starts it*
- 3 **Fetch Product Inventory** Google Sheets *Service*
- 4 **Fetch Vendor Catalog** Google Sheets *Service*
- 5 **If Approval Came from the valid authority user?** If *Logic*
- 6 **Prepare Product Stock Data** Set *Logic*
- 7 **Prepare Vendor Delivery Data** Set *Logic*
- 8 **Fetch Slack Thread Replies** Slack *Service*
- 9 **Merge Inventory and Vendors** Merge *Logic*
- 10 **Parse Slack Message Data** Code *Logic*
- 11 **Calculate Reorder Needs** Code *Logic*
- 12 **Get Reorder Sheet Row** Google Sheets *Service*
- 13 **If Reorder Needed** If *Logic*
- 14 **Send Email via Gmail** Gmail *Service*
- 15 **Format Reorder Data** Set *Logic*
- 16 **Update Reorder Status in Sheets** Google Sheets *Service*
- 17 **Aggregate Reorder Items** Aggregate *Logic*
- 18 **Fetch Existing Reorders** Google Sheets *Service*
- 19 **Filter Reorder Records** Code *Logic*
- 20 **Prepare Reorder Payload** Set *Logic*
- 21 **Upsert Reorder in Sheets** Google Sheets *Service*
- 22 **Post Reorder to Slack** Slack *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, Slack
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Slack accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmanage-inventory-reorders-with-google-sheets-and-slack)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Score Shopify customer churn risk and sync results** 22 steps · Gmail, Slack](https://millionrounds.com/workflow/score-shopify-customer-churn-risk-and-sync-results)
- [**AI-powered WhatsApp customer support for Shopify brands** 22 steps · calls a model · Slack, WhatsApp](https://millionrounds.com/workflow/ai-powered-whatsapp-customer-support-for-shopify-brands)
- [**Orchestrate multi-store order allocation with OpenAI** 22 steps · calls a model · Postgres, Slack](https://millionrounds.com/workflow/orchestrate-multi-store-order-allocation-with-openai)
- [**E-commerce bestseller video generator with Algolia** 21 steps · Gmail](https://millionrounds.com/workflow/e-commerce-bestseller-video-generator-with-algolia)
- [**AI agent for transportation orders management with OpenAI** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-agent-for-transportation-orders-management-with-openai)
- [**AI-powered customer email support for e-commerce with Pinecone** 21 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-powered-customer-email-support-for-e-commerce-with-pineco)
