# Generate deep research markdown reports with Tavily Search: n8n workflow

> Started by someone submitting a form, and works across Google Sheets. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/generate-deep-research-markdown-reports-with-tavily-search (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)

# Generate deep research markdown reports with Tavily Search

Started by someone submitting a form, and works across Google Sheets. It hands the judgement calls to OpenRouter. 32 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-deep-research-markdown-reports-with-tavily-search)

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

**0** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 1 Model 11 Logic 13 Service 7

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

- 1 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 2 **5 Topics** Output Parser Structured *Model*
- 3 **OpenRouter Chat Model1** Lm Chat Open Router *Model*
- 4 **OpenRouter Chat Model7** Lm Chat Open Router *Model*
- 5 **Title, Intro, Chapters** Output Parser Structured *Model*
- 6 **On form submission** Form trigger *Starts it*
- 7 **OpenRouter Chat Model8** Lm Chat Open Router *Model*
- 8 **Plan Topics** Agent *Model*
- 9 **Intro** Agent *Model*
- 10 **Sources** Agent *Model*
- 11 **Table of Contents** Agent *Model*
- 12 **Writer5** Agent *Model*
- 13 **Split Out** Split Out *Logic*
- 14 **Set Topics** Set *Logic*
- 15 **Send Intro** Google Sheets *Service*
- 16 **Send Sources** Google Sheets *Service*
- 17 **Send ToC** Google Sheets *Service*
- 18 **Aggregate10** Aggregate *Logic*
- 19 **Merge1** Merge *Logic*
- 20 **Split Out1** Split Out *Logic*
- 21 **Merge** Merge *Logic*
- 22 **Get All Content** Google Sheets *Service*
- 23 **Get Sections** Code *Logic*
- 24 **Merge8** Merge *Logic*
- 25 **Loop Over Items** Split In Batches *Logic*
- 26 **Aggregate12** Aggregate *Logic*
- 27 **Tavily5** Http Request *Service*
- 28 **Google Sheets** Google Sheets *Service*
- 29 **Split Out7** Split Out *Logic*
- 30 **Get Sources** Google Sheets *Service*
- 31 **Code5** Code *Logic*
- 32 **Aggregate11** Aggregate *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 32, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenRouter

## Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 32 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 32 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%2Fgenerate-deep-research-markdown-reports-with-tavily-search)
- **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 research and reporting, with the same services where possible, closest in size first.

- [**Weekly stock/ETF analysis with Claude and Gmail** 33 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/weekly-stock-etf-analysis-with-claude-and-gmail)
- [**Automate ESG compliance routing and reporting with OpenAI** 30 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/automate-esg-compliance-routing-and-reporting-with-openai)
- [**Brand visibility & sentiment analysis across AI search tools** 30 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/brand-visibility-and-sentiment-analysis-across-ai-search-too)
- [**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)
- [**Survey insights with Qdrant and Python** 30 steps · calls a model · Google Sheets, Qdrant](https://millionrounds.com/workflow/survey-insights-with-qdrant-and-python)
