# Business AI command center: Modular agents: n8n workflow

> Started by an incoming WhatsApp message, and works across Gmail, Google Drive, Google Sheets, Slack and three others.

Source: https://millionrounds.com/workflow/business-ai-command-center-modular-agents (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)

# Business AI command center: Modular agents

Started by an incoming WhatsApp message, and works across Gmail, Google Drive, Google Sheets, Slack and three others. It puts Claude, OpenAI and one other behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 58 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude, OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbusiness-ai-command-center-modular-agents)

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

**2** Branches: places the flow splits

**0** Loops or waits

**7** Services it connects to

## The flow

Starts it 8 Model 25 Logic 6 Service 19

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

- 1 **Google Sheets - Read Data** Google Sheets Tool *Service*
- 2 **Google Sheets - Clear Data** Google Sheets Tool *Service*
- 3 **Google Sheets - Add Data** Google Sheets Tool *Service*
- 4 **Google Sheets - Create Sheet** Google Sheets Tool *Service*
- 5 **Google Sheets - Update Data** Google Sheets Tool *Service*
- 6 **Google Sheets - Delete Sheet** Google Sheets Tool *Service*
- 7 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 8 **Recursive Character Text Splitter1** Text Splitter Recursive Character Text Splitter *Model*
- 9 **Embeddings OpenAI1** Embeddings Open Ai *Model*
- 10 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 11 **Read File From GDrive** Tool Workflow *Model*
- 12 **Search Files from Gdrive** Google Drive Tool *Service*
- 13 **Postgres Chat Memory1** Memory Postgres Chat *Model*
- 14 **Embeddings OpenAI2** Embeddings Open Ai *Model*
- 15 **Reranker Cohere1** Reranker Cohere *Model*
- 16 **Anthropic Chat Model1** Lm Chat Anthropic *Model*
- 17 **structured data1** Postgres Tool *Service*
- 18 **Think1** Tool Think *Model*
- 19 **Message a model in Perplexity1** Perplexity Tool *Service*
- 20 **search about any doc in google drive1** Mcp Client Tool *Model*
- 21 **MCP Sheets** Mcp Client Tool *Model*
- 22 **Reasoning model (recommended)** Lm Chat Open Router *Model*
- 23 **Calculator** Tool Calculator *Model*
- 24 **Postgres Chat Memory** Memory Postgres Chat *Model*
- 25 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 26 **HTTP Request1** Http Request Tool *Service*
- 27 **Create reports** Tool Workflow *Model*
- 28 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 29 **Slack Trigger** Slack trigger *Starts it*
- 30 **Telegram Trigger** Telegram trigger *Starts it*
- 31 **Gmail Trigger** Gmail trigger *Starts it*
- 32 **WhatsApp Trigger** Whats App trigger *Starts it*
- 33 **MCP Server Sheets** Mcp trigger *Starts it*
- 34 **Download file** Google Drive *Service*
- 35 **Default Data Loader1** Document Default Data Loader *Model*
- 36 **Add to Supabase Vector DB** Vector Store Supabase *Model*
- 37 **Operation** Switch *Logic*
- 38 **Google Drive MCP Server** Mcp trigger *Starts it*
- 39 **Knowledge Agent1** Agent Tool *Model*
- 40 **General knowledge1** Vector Store Supabase *Model*
- 41 **MAIN AGENT** Agent *Model*
- 42 **Linkedin Scraper** Agent Tool *Model*
- 43 **Create structured Reports** Agent *Model*
- 44 **Set message variable** Set *Logic*
- 45 **Download File1** Google Drive *Service*
- 46 **Send a text message** Telegram *Service*
- 47 **Send message** Whats App *Service*
- 48 **Send a message2** Slack *Service*
- 49 **Send a message1** Gmail *Service*
- 50 **Markdown to HTML** Markdown *Logic*
- 51 **FileType** Switch *Logic*
- 52 **Send a message** Gmail *Service*
- 53 **Extract from PDF** Extract From File *Service*
- 54 **Extract from CSV** Extract From File *Service*
- 55 **Analyse Image** Open Ai *Model*
- 56 **Transcribe Audio** Open Ai *Model*
- 57 **Get PDF Response** Set *Logic*
- 58 **Get CSV Response** Set *Logic*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 58, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Drive, Google Sheets, Slack, Supabase vectors, Telegram, WhatsApp
- **Model:** Claude, 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 Drive, Google Sheets, Slack, Supabase vectors, Telegram and WhatsApp accounts, and a key for Claude and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls Claude, 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 58 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 58 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%2Fbusiness-ai-command-center-modular-agents)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Supabase vectors](https://millionrounds.com/workflows?service=Supabase+vectors#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

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

- [**Automated US stock portfolio analysis with Telegram** 59 steps · calls a model · Postgres, Supabase](https://millionrounds.com/workflow/automated-us-stock-portfolio-analysis-with-telegram)
- [**Automated Google Business reports with OpenAI** 56 steps · calls a model · Gmail, Google Business Profile](https://millionrounds.com/workflow/automated-google-business-reports-with-openai)
- [**Create a Stakeholder 360 Report with OpenAI and Gmail** 56 steps · calls a model · Gmail, Notion](https://millionrounds.com/workflow/create-a-stakeholder-360-report-with-openai-and-gmail)
- [**AI-powered stock analysis with OpenAI and OpenRouter** 54 steps · calls a model · Gmail, Supabase vectors](https://millionrounds.com/workflow/ai-powered-stock-analysis-with-openai-and-openrouter)
- [**AI-powered Meta ads analysis & creation with Gemini** 49 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-powered-meta-ads-analysis-and-creation-with-gemini)
- [**Automate stock trades with Claude and OpenAI** 70 steps · calls a model · Gmail, Supabase vectors](https://millionrounds.com/workflow/automate-stock-trades-with-claude-and-openai)
