Automation library · Data collection

Build AI-ready knowledge base from Outlook & Notion

Started by someone opening a chat with it, and works across Notion, Outlook and Pinecone. 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: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

25 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 14Logic 5Service 3

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

  1. 1Microsoft Outlook TriggerMicrosoft Outlook triggerStarts it
  2. 2Embeddings CohereEmbeddings CohereModel
  3. 3Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  4. 4Notion TriggerNotion triggerStarts it
  5. 5Embeddings Cohere1Embeddings CohereModel
  6. 6Recursive Character Text Splitter1Text Splitter Recursive Character Text SplitterModel
  7. 7When chat message receivedChat triggerStarts it
  8. 8Embeddings Cohere2Embeddings CohereModel
  9. 9OpenAI Chat ModelLm Chat Open AiModel
  10. 10Simple MemoryMemory Buffer WindowModel
  11. 11Get many messagesMicrosoft OutlookService
  12. 12Pinecone Vector StoreVector Store PineconeModel
  13. 13Default Data LoaderDocument Default Data LoaderModel
  14. 14Get many child blocksNotionService
  15. 15Pinecone Vector Store1Vector Store PineconeModel
  16. 16Default Data Loader1Document Default Data LoaderModel
  17. 17AI AgentAgentModel
  18. 18Pinecone Vector Store2Vector Store PineconeModel
  19. 19Pinecone Vector Store3Vector Store PineconeModel
  20. 20Remove DuplicatesRemove DuplicatesLogic
  21. 21IfIfLogic
  22. 22Get many child blocks1NotionService
  23. 23MergeMergeLogic
  24. 24Split OutSplit OutLogic
  25. 25Remove Duplicates1Remove DuplicatesLogic

How it's built

Starts on
Someone opening a chat with it
Steps
25, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Notion, Outlook, Pinecone
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, Outlook and Pinecone accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

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.