The flow
Starts it 1Model 2Logic 19Service 5
The steps in the order they run, from what starts it.
- 1When clicking ‘Test workflow’Manual triggerStarts it
- 2Generate queriesOpen AiModel
- 3fomate queriesCodeLogic
- 4Loop Over queriesSplit In BatchesLogic
- 5Wait1WaitLogic
- 6Gmail searchHttp RequestService
- 7Extract UrlsCodeLogic
- 8Filter urlsFilterLogic
- 9If url is not emptyIfLogic
- 10Remove DuplicatesRemove DuplicatesLogic
- 11Loop Over ItemsSplit In BatchesLogic
- 12Loop Over Items1Split In BatchesLogic
- 13HTTP Request1Http RequestService
- 14AggregateAggregateLogic
- 15Extract EmailsCodeLogic
- 16Split OutSplit OutLogic
- 17Remove Duplicates2Remove DuplicatesLogic
- 18Loop Over Items4Split In BatchesLogic
- 19Extract Domain NameCodeLogic
- 20get website with Jina.aiHttp RequestService
- 21If1IfLogic
- 22Limit MarkdownCodeLogic
- 23Generate Email contentOpen AiModel
- 24Gmail1GmailService
- 25Google SheetsGoogle SheetsService
- 26Code6CodeLogic
- 27Wait2WaitLogic
How it's built
- Starts on
- An event in a connected app
- Steps
- 27, with 2 branches, 6 loops or waits
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail, Google Sheets
- Model
- OpenAI
Questions
What does it need to run?
An n8n account, plus your own Gmail and Google Sheets accounts, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Take your time. At 27 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 itNothing 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 27 steps before you point it at anything that matters.