Automation library · Content

Send daily product newsletters with Gmail

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

Large

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

The flow

Starts it 6Logic 13Service 11

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

  1. 1Daily at 08:00Schedule triggerStarts it
  2. 2Tracker WebhookWebhookStarts it
  3. 3⚙️ ConfigCodeLogic
  4. 4⚙️ Config (Tracker)CodeLogic
  5. 5Read ProductsGoogle SheetsService
  6. 6Check Event TypeSwitchLogic
  7. 7Filter by TodayCodeLogic
  8. 8Log Open EventGoogle SheetsService
  9. 9Read Recent ClicksGoogle SheetsService
  10. 10Read Unsubscribed (Dedup)Google SheetsService
  11. 11Products Found?IfLogic
  12. 12Return Tracking PixelRespond To WebhookStarts it
  13. 13Dedup CheckCodeLogic
  14. 14Dedup Check (Unsub)CodeLogic
  15. 15Log Newsletter ContentsGoogle SheetsService
  16. 16Build HTML EmailCodeLogic
  17. 17Is Duplicate?IfLogic
  18. 18Is Duplicate Unsub?IfLogic
  19. 19Read RecipientsGoogle SheetsService
  20. 20Read UnsubscribedGoogle SheetsService
  21. 21Redirect (Bot)Respond To WebhookStarts it
  22. 22Log Click EventGoogle SheetsService
  23. 23Return Unsubscribe ConfirmationRespond To WebhookStarts it
  24. 24Log UnsubscribeGoogle SheetsService
  25. 25Merge Recipients + UnsubscribedMergeLogic
  26. 26Redirect to Product URLRespond To WebhookStarts it
  27. 27Filter Active RecipientsCodeLogic
  28. 28Personalize per RecipientCodeLogic
  29. 29Send NewsletterGmailService
  30. 30Log Send EventGoogle SheetsService

How it's built

Starts on
Another system calling it
Steps
30, with 4 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 30 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 30 steps before you point it at anything that matters.