# Generate comprehensive business analysis reports with Gemini: n8n workflow

> Started by someone submitting a form, and works across Gmail, Google Docs, Google Drive and n8n data table. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/generate-comprehensive-business-analysis-reports-with-gemini (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 comprehensive business analysis reports with Gemini

Started by someone submitting a form, and works across Gmail, Google Docs, Google Drive and n8n data table. It hands the judgement calls to Gemini. 23 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-comprehensive-business-analysis-reports-with-gemini)

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

**0** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 5 Logic 5 Service 12

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

- 1 **Submit Form** Form trigger *Starts it*
- 2 **URL_search** Http Request Tool *Service*
- 3 **insert_row_in_data_table** Data Table Tool *Service*
- 4 **online_Search** Perplexity Tool *Service*
- 5 **serp_Search** Tool Workflow *Model*
- 6 **ai_Mode** Tool Workflow *Model*
- 7 **Think_tool** Tool Think *Model*
- 8 **deep_research** Perplexity Tool *Service*
- 9 **get_internal_links** Tool Workflow *Model*
- 10 **Get Country & Language Code** Code *Logic*
- 11 **Business Analyst** Google Gemini *Model*
- 12 **Session ID** Code *Logic*
- 13 **Get Business Data** Data Table *Service*
- 14 **Get All Data** Set *Logic*
- 15 **Make Copy of Template** Google Drive *Service*
- 16 **Change Variables in Doc** Google Docs *Service*
- 17 **Generate Doc** Google Drive *Service*
- 18 **Add Doc to Drive** Google Drive *Service*
- 19 **Generate PDF** Google Drive *Service*
- 20 **Add PDF To Drive** Google Drive *Service*
- 21 **Get Links** Set *Logic*
- 22 **Send email** Gmail *Service*
- 23 **Get Session Data** Set *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 23
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Docs, Google Drive, n8n data table
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Docs and Google Drive accounts, and a key for Gemini. 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 Gemini. 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 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 23 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-comprehensive-business-analysis-reports-with-gemini)
- **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 Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

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

- [**AI research agents to automate PDF analysis with Mistral** 23 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-research-agents-to-automate-pdf-analysis-with-mistral)
- [**AI-powered email automation for business: Summarize & respond** 23 steps · calls a model · Email, Google Drive](https://millionrounds.com/workflow/ai-powered-email-automation-for-business-summarize-and-respo)
- [**Automate privacy risk detection, approvals, and audit reports** 23 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/automate-privacy-risk-detection-approvals-and-audit-reports)
- [**Contract extraction, risk analysis & compliance automation** 23 steps · calls a model · Gmail, Postgres](https://millionrounds.com/workflow/contract-extraction-risk-analysis-and-compliance-automation)
- [**Generate continuous PRD updates in Google Docs** 23 steps · calls a model · Google Docs, Jira](https://millionrounds.com/workflow/generate-continuous-prd-updates-in-google-docs)
- [**IPhone scraping + AI evaluation + Google Sheets & Airtable** 23 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/iphone-scraping-ai-evaluation-google-sheets-and-airtable)
