Automation library · Money admin

Send payment reminders and cancel unpaid Shopify orders

Started by a clock, and works across Gmail. 22 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

22 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 2Logic 12Service 8

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

  1. 1On Global ErrorError triggerStarts it
  2. 2Daily Schedule TriggerSchedule triggerStarts it
  3. 3Send Error NotificationGmailService
  4. 4Set Workflow ConfigSetLogic
  5. 5Fetch Unpaid Shopify OrdersGraphqlService
  6. 6Split Orders from GraphQL ResponseSplit OutLogic
  7. 7Filter Orders with Valid EmailFilterLogic
  8. 8Process Orders in BatchesSplit In BatchesLogic
  9. 9Format Order Data for CSVCodeLogic
  10. 10Generate Admin Report EmailCodeLogic
  11. 11Calculate Days & Determine ActionCodeLogic
  12. 12Convert to CSV FileConvert To FileService
  13. 13Merge CSV with EmailMergeLogic
  14. 14Build Email TemplatesCodeLogic
  15. 15Send Daily Report to AdminGmailService
  16. 16Route by Action TypeSwitchLogic
  17. 17Cancel Order in ShopifyGraphqlService
  18. 18Send Reminder EmailGmailService
  19. 19No Action RequiredSetLogic
  20. 20Cancel Succeeded?IfLogic
  21. 21Add Reminder Tag to OrderGraphqlService
  22. 22Send Cancellation EmailGmailService

How it's built

Starts on
A clock
Steps
22, with 2 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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