Skip to main content
Open in Hubv2.2.0 The Notion Integration with Botpress enables seamless integration to boost productivity, allowing interactions such as commenting on discussions or pages and database manipulations right from your Botpress bot. Enhance your Workflows and experience a streamlined interaction between Botpress and Notion.

Prerequisites

Setup in Botpress

  1. Go to the Integration Hub in Botpress Cloud (if you don’t have the integration installed yet).
  2. Find and open the Notion integration then click on the “Install to Bot” button, now go back to your bot settings.
The Notion integration has the following settings:
  • Enabled: Whether Botpress will communicate with Telegram
  • Webhook URL: The URL for receiving data in Botpress
  • Auth Token: The token for authenticating requests from Notion

Setup up Notion

  1. To get the Auth Token, visit My Integrations in Notion. Initiate a new integration, associate it with a workspace, and note down the Internal Integration Secret. Insert this secret in the Auth Token field under the Integrations tab of your bot.
  1. Enable Notion Comment Capabilities under the Capabilities tab of your bot.
That’s it! Now the Notion integration is operational and ready for use within your bot.
InfoTo execute certain actions, identification of Notion entities like pages or databases is essential. These IDs can be derived from the URL while viewing the entity or by choosing “Copy Link” from the options menu. For more details, refer to Get a Database ID - NotionDevelopers.

Cards

Here’s a reference for all Cards available with the integration:

Add Comment to Discussion

Input: Output: This Card has no output.

Add Comment to Page

Input: Output: This Card has no output.

Create Page in Database

Input: Output: This Card has no output.

Delete Block

Input: Output: This Card has no output.

List items in folder

Input: Output:

Transfer file to Botpress

Input: Output:

Get Database

Input: Output:

Triggers

Here’s a reference for all Triggers available with the integration:
You can access data returned from any of these Triggers by reading event.payload after the Trigger fires.

Aggregate File Changes

payload
object

File Created

payload
object

File Deleted

payload
object

File Updated

payload
object

Folder Deleted Recursive

payload
object
I