What is a Notion node?

A Notion node is a knowledge base that you can use to store static documents (i.e., that don’t change). The files uploaded to the Knowledge Base node can be reused across multiple flows. All created knowledge bases are automatically synced to the Knowledge Base Dashboard.

Notion Node Settings

If you click the gear icon in the node, you will see the available settings.

At the top of the settings modal, you can find a drop-down menu to select a Knowledge Base.

Below that the configurations for the Search Parameters

  • Output Format: Choose between chunks, pages, and docs.
  • Metadata Filter Strategy: Choose between Strict Filter, Loose Filter, and No Filter.
  • Query Strategy: Choose between Semantic, Keyword, and Hybrid.
  • Top Results: Number of search results ranked by relevance.
  • Max Characters: Limits the number of characters sent to the LLM.
  • Answer Multiple Questions: Get the answers from multiple questions in parallel.
  • Advanced Q&A: Handle questions to compare or summarize documents.
  • Rerank: Get more precise information retrieval
  • Query Transformation: Get more precise information retrieval

Connect to your Notion account

When you first create a Notion node, you will see a button to connect your Notion account. Click to grant Stack AI access to your Notion.

Pick files to upload

After creating your connection, you will see a list of files in your Notion. You can select the files you want to upload to Stack AI by clicking the checkbox next to the file name. Be aware that the more files you select, the longer it will take to upload them.

File statuses

You will see a label for each document that you upload with the following meaning:

  • Pending: the document is being processed and indexed.
  • ✅: the document was successfully indexed.
  • Error: the document could not be indexed (e.g., due to a formatting issue).

How to use it?

How to connect with other nodes

To utilize the Notion node, you must establish connections to both its input and output edges:

Input: This node necessitates a text input. Typically, you would connect the input to an LLM or Input node.

Output: This node outputs chunks of information. Typically, you would connect the output to an LLM or Output node.