Automation library · E-commerce

Send low-stock inventory reorder emails from Snowflake

Started by a clock, and works across Google Docs and Outlook. It hands the judgement calls to Claude. 17 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Claude

17 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 10Service 4

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

  1. 1When 7am DailySchedule triggerStarts it
  2. 2Claude Email GenerationLm Chat AnthropicModel
  3. 3Send Error AlertMicrosoft OutlookService
  4. 4Workflow ConfigSetLogic
  5. 5Build Email DraftChain LlmModel
  6. 6Query Snowflake DBSnowflakeService
  7. 7Convert Markdown to HTMLMarkdownLogic
  8. 8If Low Stock ExistsIfLogic
  9. 9Check Configured Doc IDIfLogic
  10. 10Group Items by SupplierCodeLogic
  11. 11Pass ThroughNo OpLogic
  12. 12Log to Google DocsGoogle DocsService
  13. 13Skip LoggingNo OpLogic
  14. 14Loop Over SuppliersSplit In BatchesLogic
  15. 15Send Reorder EmailMicrosoft OutlookService
  16. 16Set Supplier DetailsSetLogic
  17. 17Complete Vendor ProcessNo OpLogic

How it's built

Starts on
A clock
Steps
17, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Docs, Outlook
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Google Docs and Outlook accounts, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

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 17 steps before you point it at anything that matters.