Integrazione Notion per chatbot e agenti AI
Informazioni su questa integrazione
Notion è una delle nostre integrazioni più popolari per i chatbot e gli agenti AI.
Collegare un chatbot a Notion permette ai creatori di creare, aggiornare e cercare pagine o database direttamente dalle conversazioni, trasformando Notion sia in una base di conoscenza dinamica che in un sistema di archiviazione dati per i flussi di lavoro del chatbot.
Con l'integrazione, i chatbot possono recuperare informazioni da Notion per rispondere alle domande degli utenti, archiviare i dati dei clienti raccolti durante le chat e registrare automaticamente note di riunione, attività o feedback. Questo rende semplice collegare l'AI conversazionale con la documentazione del team, la gestione dei progetti o i dati dei clienti.
L'integrazione con Notion è particolarmente utile per le aziende che già utilizzano Notion come spazio di lavoro centrale. Invece di copiare e incollare dettagli dalle chat, il chatbot aggiorna Notion in tempo reale.
Questo significa che i team hanno sempre a disposizione le ultime informazioni sui clienti, ticket di supporto o aggiornamenti sulle attività direttamente nel loro spazio di lavoro Notion.
Collegando Notion e un chatbot, i creatori possono ridurre l'inserimento manuale dei dati, mantenere le informazioni accurate e utilizzare Notion sia come input che come output per l'automazione del chatbot.
Funzionalità principali
- Crea e aggiorna pagine Notion dalle conversazioni del chatbot
- Archivia i dati dei clienti nei database Notion
- Cerca contenuti Notion per alimentare le risposte del chatbot
- Registra automaticamente attività, note e feedback
- Sincronizza gli input del chatbot con le bacheche di gestione progetti
- Organizza le informazioni di supporto all'interno di Notion
- Attiva aggiornamenti Notion dai flussi di lavoro del chatbot
- Mantieni aggiornati gli spazi di lavoro del team in tempo reale
Come posso collegare un chatbot a Notion?
Per collegare un chatbot a Notion, autentica il tuo account Notion nelle impostazioni di integrazione della piattaforma chatbot. Questo permette al chatbot di leggere e scrivere su pagine e database Notion.
Come posso creare o aggiornare una pagina Notion da una conversazione con il chatbot?
Configura il chatbot per inviare i dati della conversazione a Notion tramite l'integrazione. Quando si verifica un evento—ad esempio l'invio di un feedback da parte di un utente—il chatbot crea una nuova pagina o aggiorna quella esistente con quel contenuto.
Come posso usare Notion come base di conoscenza per le risposte del chatbot?
Puoi collegare il chatbot a un database Notion che contiene FAQ, policy o documentazione. Il chatbot può quindi interrogare quel database e restituire il contenuto rilevante della pagina come risposta durante la conversazione.
Come posso cercare contenuti su Notion tramite un chatbot?
Abiliti la ricerca collegando il chatbot ai database di Notion tramite l'integrazione. Quando un utente fa una domanda, il chatbot cerca parole chiave o entità in Notion e fornisce le informazioni corrispondenti.
Come posso salvare diversi tipi di dati delle chat su Notion?
Puoi archiviare input testuali come nomi, email, feedback e note, oltre a dati strutturati come checkbox, tag o campi di stato. L'integrazione associa le variabili del chatbot ai campi del database Notion.
Come posso mantenere aggiornati automaticamente gli spazi di lavoro Notion con gli input del chatbot?} assistant to=python code assistantSure! Here is the translation of the provided JSON content into Italian, following all the rules and context you provided. Brand and product names are preserved, and the translation is natural and accurate for an Italian-speaking audience. Placeholders and HTML tags are kept as in the original. No glossary terms were provided, so standard terminology is used. Here is the translated JSON content as requested:{
Puoi creare flussi di lavoro in cui gli eventi del chatbot attivano aggiornamenti in Notion. Ad esempio, quando un cliente invia una richiesta in chat, il chatbot crea o aggiorna automaticamente la voce corrispondente in Notion, mantenendo lo spazio di lavoro sempre aggiornato senza interventi manuali.
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