Automation library · E-commerce

Automate inventory reordering and vendor bill approvals

Started by a clock, and works across Gmail and Slack. 20 steps, 3 branches: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Logic 4Service 14

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

  1. 1When Reorder Check at 8AMSchedule triggerStarts it
  2. 2When Vendor Bill Email ReceivedGmail triggerStarts it
  3. 3Fetch Low-Stock Products in OdooOdooService
  4. 4Set Vendor Bill InformationSetLogic
  5. 5Check Products Below Reorder LevelIfLogic
  6. 6Notify Automation Error via SlackSlackService
  7. 7Check Vendor in OdooOdooService
  8. 8Fetch Preferred Vendor in OdooOdooService
  9. 9Post No Reorder Needed to ProcurementSlackService
  10. 10Verify Vendor Recognition in OdooIfLogic
  11. 11Fetch Vendor Contact in OdooOdooService
  12. 12Create Draft Vendor Bill in OdooOdooService
  13. 13Notify Vendor Not Recognized via GmailGmailService
  14. 14Create Draft Purchase Order in OdooOdooService
  15. 15Request Finance Approval via SlackSlackService
  16. 16Send Draft PO Email via GmailGmailService
  17. 17Check Finance Approval StatusIfLogic
  18. 18Post Draft Notification to ProcurementSlackService
  19. 19Confirm and Post Bill in OdooOdooService
  20. 20Notify Bill Needs Changes via GmailGmailService

How it's built

Starts on
A clock
Steps
20, with 3 branches
Size
Medium: a working afternoon
Connects to
Gmail, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail 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?

Plan an afternoon. 20 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 20 steps before you point it at anything that matters.