Intégration Notion pour chatbots et agents IA
À propos de cette intégration
Notion est l’une de nos intégrations les plus populaires pour les chatbots IA.
Connecter un chatbot à Notion permet aux créateurs de créer, modifier et rechercher des pages ou des bases de données directement depuis les conversations, transformant Notion en une base de connaissances dynamique et un système de stockage de données pour les workflows du chatbot.
Grâce à cette intégration, les chatbots peuvent extraire des informations de Notion pour répondre aux questions des utilisateurs, stocker les données clients recueillies pendant les discussions, et enregistrer automatiquement des notes de réunion, des tâches ou des retours. Cela facilite la connexion entre l’IA conversationnelle et la documentation d’équipe, la gestion de projet ou les dossiers clients.
L’intégration Notion est particulièrement utile pour les entreprises qui utilisent déjà Notion comme espace de travail central. Plus besoin de copier-coller les informations issues des discussions : le chatbot met à jour Notion en temps réel.
Ainsi, les équipes disposent toujours des dernières informations clients, des tickets de support ou des mises à jour de tâches directement dans leur espace Notion.
En connectant Notion à un chatbot, les créateurs réduisent la saisie manuelle, maintiennent des données fiables et utilisent Notion à la fois comme source et destination pour l’automatisation du chatbot.
Fonctionnalités principales
- Créer et mettre à jour des pages Notion depuis les conversations du chatbot
- Stocker les données clients dans les bases de données Notion
- Rechercher du contenu Notion pour alimenter les réponses du chatbot
- Enregistrer automatiquement des tâches, des notes et des retours
- Synchroniser les saisies du chatbot avec les tableaux de gestion de projet
- Organiser les informations de support dans Notion
- Déclencher des mises à jour Notion depuis les workflows du chatbot
- Garder les espaces de travail d’équipe à jour en temps réel
Comment connecter un chatbot à Notion ?
Pour connecter un chatbot à Notion, il suffit d’authentifier votre compte Notion dans les paramètres d’intégration de la plateforme du chatbot. Cela permet au chatbot de lire et d’écrire sur les pages et bases de données Notion.
Comment créer ou mettre à jour une page Notion depuis une conversation avec un chatbot ?
Vous configurez le chatbot pour envoyer les données de la conversation à Notion via l’intégration. Lorsqu’un déclencheur se produit — par exemple, lorsqu’un utilisateur envoie un retour — le chatbot crée une nouvelle page ou met à jour une page existante avec ce contenu.
Comment utiliser Notion comme base de connaissances pour les réponses du chatbot ?
Vous pouvez connecter le chatbot à une base de données Notion contenant des FAQ, des politiques ou de la documentation. Le chatbot interroge alors cette base et renvoie le contenu pertinent d’une page en réponse pendant la conversation.
Comment rechercher du contenu Notion via un chatbot ?
Vous activez la recherche en reliant le chatbot aux bases de données Notion via l’intégration. Lorsqu’un utilisateur pose une question, le chatbot recherche des mots-clés ou des entités dans Notion et fournit l’information correspondante.
Comment enregistrer différents types de données issues des discussions dans Notion ?
Vous pouvez enregistrer des saisies texte comme les noms, emails, retours et notes, ainsi que des données structurées comme des cases à cocher, des tags ou des statuts. L’intégration associe les variables du chatbot aux champs de la base de données Notion.
Comment garder les espaces de travail Notion automatiquement à jour avec les informations du chatbot ?} Debugging assistantSure! Here is the translated JSON in French (France), following all your instructions and rules, including the narrow non-breaking space before ? and ! where appropriate, and preserving all placeholders and tags as in the original content. Brand and product names are left untranslated as requested. Here is your output: {
Vous créez des workflows où les événements du chatbot déclenchent des mises à jour dans Notion. Par exemple, lorsqu’un client fait une demande dans le chat, le chatbot crée ou met à jour automatiquement l’entrée correspondante dans Notion, maintenant ainsi l’espace de travail à jour sans intervention manuelle.
The Notion Integration for Botpress Studio allows you to do the following things:
## Migrating from version `0.x` or `1.x` to `2.x`
Version `2.0` of the Notion integration adds OAuth support, which is now the default configuration option.
If you previously created a Notion integration in the Notion developer portal and wish to keep using this integration, please select the manual configuration option and follow the instructions below.
Otherwise, select the automatic configuration option and click the authorization button, then follow the on-screen instructions to connect your Botpress chatbot to Notion.
## Configuration
### Automatic configuration with OAuth (recommended)
This is the simplest way to set up the integration. To set up the Notion integration using OAuth, click the authorization button and follow the on-screen instructions to connect your Botpress chatbot to Notion. This method is recommended as it simplifies the configuration process and ensures secure communication between your chatbot and Notion.
When using this configuration mode, a Botpress-managed Notion application will be used to connect to your Notion account. Actions taken by the bot will be attributed to this application, not your personal Notion account.
### Manual configuration with a custom Notion integration
#### Step 1 - Create Integration
Create a Notion integration [Create an integration - Notion Developers](https://developers.notion.com/docs/create-a-notion-integration)
#### Step 2 - Give access to Notion Assets
Give your integration access to all the pages and databases that you want to use with Botpress
#### Step 3 - Configure your Bot
Give your integration access to all the pages and databases that you want to use with Botpress. [Share a database with your integration - Notion Developers](https://developers.notion.com/docs/create-a-notion-integration#step-2-share-a-database-with-your-integration)
You need a token to get your newly created Notion Integration _(not the same as Botpress Studio's Notion Integration)_ connected with Botpress Studio:
- `Auth Token` - You'll find this by going to your integration under `https://www.notion.so/my-integrations`. Once you click on your integration, go to the "Secrets" section and find the "Internal Integration Secret" field. Click "Show" then "Copy". Paste the copied token under `Auth Token` field for Notion integration under the "Integrations" tab for your bot.
With that you just need to enable your integration and you can start expanding your Bot's capabilities with Notion.
## Usage
The following actions require you to know the Ids of the Notion entities your bot will work with. All notion entities (pages, databases, etc) have and id that can be found in the URL when you visit those in your Notion account in a Browser,or by getting the link by clicking on the "Copy Link" item in the (...) menu. See [Get a Database Id - Notion Developers](https://developers.notion.com/docs/create-a-notion-integration#step-3-save-the-database-id) for more information
### Add Comment to a Discussion
This action allows you to add a comment to an existing discussion. Use this for replying to a comment.
### Add Comment to a Page
You can add page level comments with this action.
### Get a Database
This allows you to get the details of a Database. This is ideally used with the `Add Page to a Database` action. In addition to the response from the Notion API ([Retreive a Database - Notion Developers](https://developers.notion.com/reference/retrieve-a-database)), this action also returns a optimized `structure` property (technically a type decleration) that can be used as an input for an AI task to instruct it to generate a payload for adding or updating a page in a Notion Database based on a user input.
### Add Page to a Database
This action should ideally be used in tandem with `Get a Database` that returns the structure of the Database that you can use to instruct an [AI task](https://botpress.com/docs/cloud/generative-ai/ai-task-card/) to generate a payload. See [Working with Databases - Notion Developers](https://developers.notion.com/docs/working-with-databases) for more info.
### Delete a block
You can delete the following entities:
- a page in a database
- a page
- a block