Notion Loader

The notion loader is a HelperAI loader that allows you to load data from a notion page into the HelperAI Knowledge Base.
Each sub-page in the Notion page will be converted into a HelperAI Knowledge Base record.

The provided Notion page should have the following page structure:

Main Page (Provied this page's id to the loader)
|-- Sub-Page 1
|-- Sub-Page 2
|-- Sub-Page 3
|-- ...
          

Please note that only the titles and content of sub-pages will be loaded by the loader. Therefore, any direct inline content on the main page will be ignored.

Loader Properties

PropertyTypeDescription
notionTokenstringNotion integration token
notionPageIdstringThe Notion page ID to load data from. Each sub-page in the Notion page will be converted into a HelperAI Knowledge Base record.

Example

In this example, we will start by getting the Notion integration token and the Notion page ID.

Get Notion Integration Token

  1. Go to Notion's My Integrations page.
  2. Click on the + Create New Integration button.
  3. In the Associate a Workspace section, select the workspace you want to associate with the integration.
  4. In the Name section, enter a name for your integration. For example: "HelperAI Integration".
  5. Click the Submit button.
  6. You will be redirected to the integration page. Click on the Internal Integration Token button to copy the integration token to the clipboard.

Grant Page Access to the Integration

  1. Go to the Notion page (the main page) you want to load data from.

  2. Click the ... button in the top right corner of the page, and select Add Connection from the dropdown menu.

  3. Select the integration you created in the previous step. For example: "HelperAI Integration".

Get Notion Page ID

  1. Go to the Notion page you want to load data from.

  2. Click the Share button in the top right corner of the page.

  3. Click the Copy Link button to copy the page url to the clipboard.

  4. The copied url ends with the Notion page ID. For example, if the url is https://www.notion.so/helperai/MY-KNOWLEDGE-7966917701234d19ad2452a23e3b0eb1?pvs=4, then the Notion page ID is 7966917701234d19ad2452a23e3b0eb1.

If your URL has query parameters like ?pvs=4 at the end, please be sure to ignore them as they are not part of the page ID. In summary, any string after the ? can be disregarded.