Automation library · E-commerce

Synchronizing WooCommerce inventory and creating products

Started by an event in a connected app, and works across Google Sheets, Slack and WooCommerce. It hands the judgement calls to Gemini. 20 steps, 2 branches, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Gemini

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

The flow

Starts it 1Model 2Logic 7Service 10

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2When clicking ‘Execute workflow’Manual triggerStarts it
  3. 3Create the HTML Data TableAgentModel
  4. 4Get Suppliers & LinksGoogle SheetsService
  5. 5Create a productWoo CommerceService
  6. 6Loop Over SuppliersSplit In BatchesLogic
  7. 7MergeMergeLogic
  8. 8Send ErrorSlackService
  9. 9Send a messageSlackService
  10. 10Get Product Stock DataBrowser ActService
  11. 11Loop Over ProductsSplit In BatchesLogic
  12. 12BrowserAct JSON BreakdownCodeLogic
  13. 13Send BrowserAct ErrorSlackService
  14. 14Get many productsWoo CommerceService
  15. 15Check for Product availabilityIfLogic
  16. 16Update a productWoo CommerceService
  17. 17Check the CategoryIfLogic
  18. 18Add Missing ProductBrowser ActService
  19. 19BrowserAct Json BreakdownCodeLogic
  20. 20Send Error 2SlackService

How it's built

Starts on
An event in a connected app
Steps
20, with 2 branches, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets, Slack, WooCommerce
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, Slack and WooCommerce accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

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

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.