# Answer Slack knowledge questions with Notion and Google Drive: n8n workflow

> Started by a clock, and works across Google Drive, Notion, Pinecone and Slack. It puts OpenAI behind a retrieval step, so answers are drawn from documents...

Source: https://millionrounds.com/workflow/answer-slack-knowledge-questions-with-notion-and-google-driv (Millionrounds; every figure on the page links to its filing or article)

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

# Answer Slack knowledge questions with Notion and Google Drive

Started by a clock, and works across Google Drive, Notion, Pinecone and Slack. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 25 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanswer-slack-knowledge-questions-with-notion-and-google-driv)

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

**1** Branch: places the flow splits

**1** Loop or waits

**4** Services it connects to

## The flow

Starts it 3 Model 7 Logic 8 Service 7

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

- 1 **Nightly Sync (2am)** Schedule trigger *Starts it*
- 2 **Insert Embeddings** Embeddings Open Ai *Model*
- 3 **Doc Loader** Document Default Data Loader *Model*
- 4 **Slack Q&A Trigger** Slack trigger *Starts it*
- 5 **OpenAI Chat Model (Q&A)** Lm Chat Open Ai *Model*
- 6 **Retrieval Embeddings** Embeddings Open Ai *Model*
- 7 **Error Trigger** Error trigger *Starts it*
- 8 **Search Notion Pages** Notion *Service*
- 9 **Search Drive Files** Google Drive *Service*
- 10 **Pinecone: Insert Docs** Vector Store Pinecone *Model*
- 11 **Strip Mention** Code *Logic*
- 12 **Answer Question (AI Agent)** Agent *Model*
- 13 **Knowledge Base (RAG Tool)** Vector Store Pinecone *Model*
- 14 **Notify Ops** Slack *Service*
- 15 **Combine Doc Sources** Merge *Logic*
- 16 **Process Each Doc** Split In Batches *Logic*
- 17 **Reply in Thread** Slack *Service*
- 18 **Normalize Doc List** Code *Logic*
- 19 **Sync Done** No Op *Logic*
- 20 **Is Notion Doc?** If *Logic*
- 21 **Get Notion Page Blocks** Notion *Service*
- 22 **Download Drive File** Google Drive *Service*
- 23 **Flatten Notion Text** Code *Logic*
- 24 **Extract Drive Text** Extract From File *Service*
- 25 **Build Drive Doc** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 25, with 1 branch, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Notion, Pinecone, Slack
- **Model:** OpenAI
- **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 Google Drive, Notion, Pinecone and Slack accounts, and a key for OpenAI. 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. 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 25 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 25 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%2Fanswer-slack-knowledge-questions-with-notion-and-google-driv)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Notion](https://millionrounds.com/workflows?service=Notion#library)[Pinecone](https://millionrounds.com/workflows?service=Pinecone#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

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

- [**Answer HR questions with OpenAI and PostgreSQL** 26 steps · calls a model · Pinecone, Postgres](https://millionrounds.com/workflow/answer-hr-questions-with-openai-and-postgresql)
- [**Automate Airbnb guest support with OpenAI and Google Drive** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-airbnb-guest-support-with-openai-and-google-drive)
- [**Run a WhatsApp customer support chatbot with OpenWA and OpenAI** 26 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/run-a-whatsapp-customer-support-chatbot-with-openwa-and-open)
- [**AI email support system: Gmail, Gemini, GPT-4, Slack & Google** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-email-support-system-gmail-gemini-gpt-4-slack-and-google)
- [**Automate customer support with Slack and CRM** 27 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-customer-support-with-slack-and-crm)
- [**Build RAG-powered support agent for Jira issues with Pinecone** 23 steps · calls a model · Pinecone](https://millionrounds.com/workflow/build-rag-powered-support-agent-for-jira-issues-with-pinecon)
