# Answer Slack knowledge base questions with Notion and Pinecone: n8n workflow

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

Source: https://millionrounds.com/workflow/answer-slack-knowledge-base-questions-with-notion-and-pineco (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 base questions with Notion and Pinecone

Started by a clock, and works across 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. 15 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI Retrieval

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

**15 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 8 Logic 2 Service 3

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

- 1 **Split Text into Chunks** Text Splitter Recursive Character Text Splitter *Model*
- 2 **OpenAI GPT-4 Chat Model** Lm Chat Open Ai *Model*
- 3 **Daily Sync Trigger** Schedule trigger *Starts it*
- 4 **OpenAI Embeddings Ingestion** Embeddings Open Ai *Model*
- 5 **Slack KB Channel Trigger** Slack trigger *Starts it*
- 6 **OpenAI Embeddings Query** Embeddings Open Ai *Model*
- 7 **Load Data for Vectors** Document Default Data Loader *Model*
- 8 **CubeBot AI Agent** Agent *Model*
- 9 **Fetch Notion KB Pages** Notion *Service*
- 10 **Insert Vectors into Pinecone** Vector Store Pinecone *Model*
- 11 **Filter Out Bots and System Messages** If *Logic*
- 12 **Pinecone KB Search** Vector Store Pinecone *Model*
- 13 **Post Reply in Slack Thread** Slack *Service*
- 14 **Retrieve Notion Blocks** Notion *Service*
- 15 **Prepare Document Metadata** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 15, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** 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 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?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

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 15 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-base-questions-with-notion-and-pineco)
- **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.

[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 document questions with OpenAI and Pinecone** 15 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/answer-document-questions-with-openai-and-pinecone)
- [**Automate IT support with Telegram and Whisper** 15 steps · calls a model · Google Drive, Jira](https://millionrounds.com/workflow/automate-it-support-with-telegram-and-whisper)
- [**Classify and route DevOps support messages with Slack** 15 steps · calls a model · Qdrant, Slack](https://millionrounds.com/workflow/classify-and-route-devops-support-messages-with-slack)
- [**Extract & approve tasks from Telegram to Notion with Gemini** 15 steps · calls a model · Notion, Telegram](https://millionrounds.com/workflow/extract-and-approve-tasks-from-telegram-to-notion-with-gemin)
- [**Triage support tickets with Claude and Infini Analytics** 15 steps · calls a model · Slack](https://millionrounds.com/workflow/triage-support-tickets-with-claude-and-infini-analytics)
- [**Triage tenant complaints with Slack and Google Sheets** 15 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/triage-tenant-complaints-with-slack-and-google-sheets)
