# Analyze Google Ads competitors with OpenRouter and OpenAI: n8n workflow

> 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...

Source: https://millionrounds.com/workflow/analyze-google-ads-competitors-with-openrouter-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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.

Large Calls a model: OpenAI, OpenRouter Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-google-ads-competitors-with-openrouter-and-openai)

**39 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 1 Model 15 Logic 15 Service 8

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

- 1 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 2 **OpenRouter Chat Model1** Lm Chat Open Router *Model*
- 3 **OpenRouter Chat Model2** Lm Chat Open Router *Model*
- 4 **OpenRouter Chat Model3** Lm Chat Open Router *Model*
- 5 **Schedule (Trigger Every Day)** Schedule trigger *Starts it*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **Structured Output Parser1** Output Parser Structured *Model*
- 8 **Structured Output Parser2** Output Parser Structured *Model*
- 9 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 10 **Structured Output Parser3** Output Parser Structured *Model*
- 11 **Code Tool** Tool Code *Model*
- 12 **Simple Memory** Memory Buffer Window *Model*
- 13 **Value Proposition & Messaging Analysis** Chain Llm *Model*
- 14 **Site Link Extension Mining** Chain Llm *Model*
- 15 **Keyword-Ad Mapping** Chain Llm *Model*
- 16 **Generate HTML** Agent *Model*
- 17 **Google Sheet (Get Keywords)** Google Sheets *Service*
- 18 **Edit Fields (value proposition)** Set *Logic*
- 19 **Edit Fields (site links)** Set *Logic*
- 20 **Edit Fields (keywords)** Set *Logic*
- 21 **Send a Email message** Gmail *Service*
- 22 **Rapiwa (Send WhatsApp Alert)** Rapiwa *Service*
- 23 **Send a text message** Telegram *Service*
- 24 **Filter (KeyWords)** Filter *Logic*
- 25 **Merge All** Merge *Logic*
- 26 **Loop Over Items** Split In Batches *Logic*
- 27 **Rapiwa (Send WhatsApp Complete Message)** Rapiwa *Service*
- 28 **Edit Fields (Set keyword)** Set *Logic*
- 29 **HTTPS (Fetch Google Search Results JSON)** Http Request *Service*
- 30 **Filter (Ads)** Filter *Logic*
- 31 **Rapiwa (Send WhatsApp Error Alert)** Rapiwa *Service*
- 32 **Edit Fields (Ads found)** Set *Logic*
- 33 **Code (Extract Ads)** Code *Logic*
- 34 **Aggregate (value proposition)** Aggregate *Logic*
- 35 **Aggregate (Extensions)** Aggregate *Logic*
- 36 **Aggregate (keywords)** Aggregate *Logic*
- 37 **Split Out (Ads)** Split Out *Logic*
- 38 **Filter (keyword)** Set *Logic*
- 39 **Google Sheet (Save Top Ads)** Google Sheets *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-google-ads-competitors-with-openrouter-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Optimize multi-property rents and analytics with OpenAI** 37 steps · calls a model · Gmail](https://millionrounds.com/workflow/optimize-multi-property-rents-and-analytics-with-openai)
- [**Generate professional reports from Excel/CSV with Gemini** 35 steps · calls a model · Gmail, in-memory vectors](https://millionrounds.com/workflow/generate-professional-reports-from-excel-csv-with-gemini)
- [**Customer feedback analysis with HTML** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/customer-feedback-analysis-with-html)
- [**Draft and manage academic research papers with OpenAI** 34 steps · calls a model · Google Sheets, in-memory vectors](https://millionrounds.com/workflow/draft-and-manage-academic-research-papers-with-openai)
- [**Document analysis & chatbot creation with Llama and Gemini** 33 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/document-analysis-and-chatbot-creation-with-llama-and-gemini)
- [**Orchestrate sustainability lifecycle analytics with OpenAI** 33 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/orchestrate-sustainability-lifecycle-analytics-with-openai)
