Automation library · Lead generation

Lead Status-Based Email Automation with Google Sheets

Started by another system calling it, and works across Email and Google Sheets. 20 steps, 4 branches, 4 loops or waits: a working afternoon to understand properly.

Medium

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

The flow

Starts it 1Logic 11Service 8

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

  1. 1WebhookWebhookStarts it
  2. 2Append or update row in sheetGoogle SheetsService
  3. 3Fetch rows from Google SheetsGoogle SheetsService
  4. 4Process rows one by oneSplit In BatchesLogic
  5. 5SwitchSwitchLogic
  6. 6If1IfLogic
  7. 7If2IfLogic
  8. 8If3IfLogic
  9. 9Send email1Email SendService
  10. 10Send email2Email SendService
  11. 11Send email3Email SendService
  12. 12Wait1WaitLogic
  13. 13Wait2WaitLogic
  14. 14Wait3WaitLogic
  15. 15Edit Fields1SetLogic
  16. 16Edit Fields2SetLogic
  17. 17Edit Fields3SetLogic
  18. 18Update row in Google Sheets1Google SheetsService
  19. 19Update row in Google Sheets2Google SheetsService
  20. 20Update row in Google Sheets3Google SheetsService

How it's built

Starts on
Another system calling it
Steps
20, with 4 branches, 4 loops or waits
Size
Medium: a working afternoon
Connects to
Email, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

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.