Automation library · Research and reporting

Analyze Google Ads competitors with OpenRouter and OpenAI

Started by a clock, and works across Gmail, Google Sheets and Telegram. It puts OpenAI and OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 39 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI, OpenRouterRetrieval

39 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 1Model 15Logic 15Service 8

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

  1. 1OpenRouter Chat ModelLm Chat Open RouterModel
  2. 2OpenRouter Chat Model1Lm Chat Open RouterModel
  3. 3OpenRouter Chat Model2Lm Chat Open RouterModel
  4. 4OpenRouter Chat Model3Lm Chat Open RouterModel
  5. 5Schedule (Trigger Every Day)Schedule triggerStarts it
  6. 6Structured Output ParserOutput Parser StructuredModel
  7. 7Structured Output Parser1Output Parser StructuredModel
  8. 8Structured Output Parser2Output Parser StructuredModel
  9. 9OpenAI Chat ModelLm Chat Open AiModel
  10. 10Structured Output Parser3Output Parser StructuredModel
  11. 11Code ToolTool CodeModel
  12. 12Simple MemoryMemory Buffer WindowModel
  13. 13Value Proposition & Messaging AnalysisChain LlmModel
  14. 14Site Link Extension MiningChain LlmModel
  15. 15Keyword-Ad MappingChain LlmModel
  16. 16Generate HTMLAgentModel
  17. 17Google Sheet (Get Keywords)Google SheetsService
  18. 18Edit Fields (value proposition)SetLogic
  19. 19Edit Fields (site links)SetLogic
  20. 20Edit Fields (keywords)SetLogic
  21. 21Send a Email messageGmailService
  22. 22Rapiwa (Send WhatsApp Alert)RapiwaService
  23. 23Send a text messageTelegramService
  24. 24Filter (KeyWords)FilterLogic
  25. 25Merge AllMergeLogic
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27Rapiwa (Send WhatsApp Complete Message)RapiwaService
  28. 28Edit Fields (Set keyword)SetLogic
  29. 29HTTPS (Fetch Google Search Results JSON)Http RequestService
  30. 30Filter (Ads)FilterLogic
  31. 31Rapiwa (Send WhatsApp Error Alert)RapiwaService
  32. 32Edit Fields (Ads found)SetLogic
  33. 33Code (Extract Ads)CodeLogic
  34. 34Aggregate (value proposition)AggregateLogic
  35. 35Aggregate (Extensions)AggregateLogic
  36. 36Aggregate (keywords)AggregateLogic
  37. 37Split Out (Ads)Split OutLogic
  38. 38Filter (keyword)SetLogic
  39. 39Google Sheet (Save Top Ads)Google SheetsService

How it's built

Starts on
A clock
Steps
39, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Telegram
Model
OpenAI, OpenRouter
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Telegram accounts, and a key for OpenAI and OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI and OpenRouter. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 39 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 39 steps before you point it at anything that matters.