The flow
Starts it 2Model 4Logic 13Service 4
The steps in the order they run, from what starts it.
- 1Manual TriggerManual triggerStarts it
- 2OpenAI Chat ModelLm Chat Open AiModel
- 3AI Model SelectorLm Chat Open AiModel
- 4Workflow TriggerExecute Workflow triggerStarts it
- 5Set Dummy CaptionSetLogic
- 6Generate Initial HashtagsChain LlmModel
- 7Select Top 5 HashtagsChain LlmModel
- 8Fetch Cached HashtagsGoogle SheetsService
- 9Parse & Clean TagsCodeLogic
- 10Format OutputSetLogic
- 11Merge InputMergeLogic
- 12Check Cache StatusCodeLogic
- 13Route Cached vs NewIfLogic
- 14Merge Cache & FreshMergeLogic
- 15Split In BatchesSplit In BatchesLogic
- 16Aggregate & Rank CandidatesCodeLogic
- 17Get Hashtag InfoFacebook Graph ApiService
- 18Check if Tag ExistsIfLogic
- 19Rate Limit WaitWaitLogic
- 20Get Hashtag MetricsFacebook Graph ApiService
- 21Calculate Average MetricsCodeLogic
- 22Format New Hashtag DataSetLogic
- 23Save to CacheGoogle SheetsService
How it's built
- Starts on
- An event in a connected app
- Steps
- 23, with 2 branches, 2 loops or waits
- Size
- Large: read it before trusting it with anything live
- Connects to
- Google Sheets
- Model
- OpenAI
Questions
What does it need to run?
An n8n account, plus your own Google Sheets account, 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 23 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 23 steps before you point it at anything that matters.