Automation library · E-commerce

Review and approve Google Sheets orders by email and notify

Started by another system calling it, and works across Gmail and Google Sheets. 28 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

28 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 6Logic 12Service 10

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

  1. 1Google Sheets TriggerGoogle Sheets triggerStarts it
  2. 2Webhook – Approval HandlerWebhookStarts it
  3. 3New order?IfLogic
  4. 4Extract Approval ParamsSetLogic
  5. 5ConfigSetLogic
  6. 6Read Order from SheetsGoogle SheetsService
  7. 7Prepare Order DataSetLogic
  8. 8Token Valid?IfLogic
  9. 9Write Approval TokenGoogle SheetsService
  10. 10Already Processed?IfLogic
  11. 11Respond – Invalid TokenRespond To WebhookStarts it
  12. 12Needs Approval?IfLogic
  13. 13Respond – Already ProcessedRespond To WebhookStarts it
  14. 14Approve or Reject?IfLogic
  15. 15Build Approval LinksSetLogic
  16. 16Mark as Auto-ApprovedGoogle SheetsService
  17. 17Mark as ApprovedGoogle SheetsService
  18. 18Mark as RejectedGoogle SheetsService
  19. 19Mark as Pending ApprovalGoogle SheetsService
  20. 20Prepare LINE Notification (Auto)SetLogic
  21. 21Prepare LINE Notification (Approved)SetLogic
  22. 22Prepare LINE Notification (Rejected)SetLogic
  23. 23Send Approval RequestGmailService
  24. 24LINE Push – Auto ApprovedHttp RequestService
  25. 25LINE Push – ApprovedHttp RequestService
  26. 26LINE Push – RejectedHttp RequestService
  27. 27Respond – Order ApprovedRespond To WebhookStarts it
  28. 28Respond – Order RejectedRespond To WebhookStarts it

How it's built

Starts on
Another system calling it
Steps
28, with 5 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

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