# Automated content strategy with Google Trends and News: n8n workflow

> Started by a clock, and works across Google Sheets. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/automated-content-strategy-with-google-trends-and-news (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Automated content strategy with Google Trends and News

Started by a clock, and works across Google Sheets. It hands the judgement calls to Claude. 37 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-content-strategy-with-google-trends-and-news)

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

**2** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 1 Model 7 Logic 13 Service 16

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

- 1 **Structured Output Parser** Output Parser Structured *Model*
- 2 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 3 **Schedule Trigger** Schedule trigger *Starts it*
- 4 **Sonnet 4.6** Lm Chat Anthropic *Model*
- 5 **Sorting queries** Chain Llm *Model*
- 6 **Get Query** Google Sheets *Service*
- 7 **Article analysis query 3** Chain Llm *Model*
- 8 **Article analysis query 2** Chain Llm *Model*
- 9 **Article analysis query 1** Chain Llm *Model*
- 10 **Sorting output > table** Code *Logic*
- 11 **Loop Over Items** Split In Batches *Logic*
- 12 **Add article datas query 3** Google Sheets *Service*
- 13 **Add article datas query 2** Google Sheets *Service*
- 14 **Add article datas query 1** Google Sheets *Service*
- 15 **Create sheets** Google Sheets *Service*
- 16 **Add datas** Google Sheets *Service*
- 17 **Search trend** Serp Api *Service*
- 18 **Merge queries** Merge *Logic*
- 19 **Sort related query** Code *Logic*
- 20 **Trends OK?** If *Logic*
- 21 **Switch** Switch *Logic*
- 22 **Classing query** Code *Logic*
- 23 **Search GNews query 1** Serp Api *Service*
- 24 **Search GNews query 2** Serp Api *Service*
- 25 **Search GNews query 3** Serp Api *Service*
- 26 **Return URL only query 1** Code *Logic*
- 27 **Return URL only query 2** Code *Logic*
- 28 **Return URL only query 3** Code *Logic*
- 29 **Scrape query 1** Firecrawl *Service*
- 30 **Article error google sheets query 1** Google Sheets *Service*
- 31 **Scrape query 2** Firecrawl *Service*
- 32 **Article error google sheets query 2** Google Sheets *Service*
- 33 **Scrape query 3** Firecrawl *Service*
- 34 **Article error google sheets query 3** Google Sheets *Service*
- 35 **Clean markdown for AI Query 1** Code *Logic*
- 36 **Clean markdown for AI Query 2** Code *Logic*
- 37 **Clean markdown for AI Query 3** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 37, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 37 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 37 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%2Fautomated-content-strategy-with-google-trends-and-news)
- **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.

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

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Auto-create and publish AI social videos with Telegram** 37 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/auto-create-and-publish-ai-social-videos-with-telegram)
- [**Automate RSS to Medium publishing with Groq and Gemini** 37 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/automate-rss-to-medium-publishing-with-groq-and-gemini)
- [**Create SEO-optimized WordPress blogs with Perplexity** 37 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/create-seo-optimized-wordpress-blogs-with-perplexity)
- [**WordPress SEO publisher with Anthropic AI and Google Docs** 37 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/wordpress-seo-publisher-with-anthropic-ai-and-google-docs)
- [**Automate RSS content to blog posts with WordPress and LinkedIn** 36 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-rss-content-to-blog-posts-with-wordpress-and-linked)
- [**Automate video creation from voice input with HeyGen** 36 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-video-creation-from-voice-input-with-heygen)
