Integrasyon ng Notion para sa mga chatbot at AI agent
Tungkol sa integrasyong ito
Isa ang Notion sa pinakasikat naming integrasyon para sa AI chatbot.
Sa pagkonekta ng chatbot sa Notion, maaaring lumikha, mag-update, at maghanap ng mga pahina o database nang direkta mula sa usapan, kaya nagiging dinamiko itong imbakan ng kaalaman at sistema ng pag-iimbak ng datos para sa mga daloy ng chatbot.
Sa tulong ng integrasyon, maaaring kumuha ng impormasyon ang mga chatbot mula sa Notion para sagutin ang mga tanong ng user, mag-imbak ng datos ng customer na nakalap sa chat, at awtomatikong magtala ng mga tala sa pagpupulong, gawain, o puna. Pinapadali nitong ikonekta ang conversational AI sa dokumentasyon ng team, pamamahala ng proyekto, o talaan ng customer.
Lalo itong kapaki-pakinabang para sa mga negosyo na gumagamit na ng Notion bilang pangunahing puwang ng trabaho. Sa halip na kopyahin at idikit ang mga detalye mula sa chat, ang chatbot na mismo ang nag-a-update ng Notion nang real time.
Ibig sabihin, laging napapanahon ang mga kaalaman tungkol sa customer, mga support ticket, o mga update sa gawain ng team sa mismong workspace nila sa Notion.
Sa pagkonekta ng Notion at chatbot, nababawasan ang mano-manong paglalagay ng datos, napapanatiling tama ang impormasyon, at nagagamit ang Notion bilang input at output ng awtomasyon ng chatbot.
Pangunahing tampok
- Gumawa at mag-update ng mga pahina sa Notion mula sa usapan sa chatbot
- Mag-imbak ng datos ng customer sa mga database ng Notion
- Maghanap ng nilalaman sa Notion para sa sagot ng chatbot
- Awtomatikong magtala ng mga gawain, tala, at puna
- I-sync ang input ng chatbot sa mga project management board
- Ayusin ang impormasyon ng suporta sa loob ng Notion
- Mag-trigger ng update sa Notion mula sa mga daloy ng chatbot
- Panatilihing napapanahon ang workspace ng team nang real time
Paano ko ikokonekta ang chatbot sa Notion?
Para ikonekta ang chatbot sa Notion, i-authenticate ang iyong Notion account sa integration settings ng chatbot platform. Papayagan nito ang chatbot na magbasa at magsulat sa mga pahina at database ng Notion.
Paano ako makakagawa o makakapag-update ng pahina sa Notion mula sa usapan sa chatbot?
I-configure ang chatbot para magpadala ng datos ng usapan sa Notion gamit ang integrasyon. Kapag may trigger—halimbawa, kapag nagbigay ng feedback ang user—gagawa ang chatbot ng bagong pahina o mag-a-update ng umiiral na pahina gamit ang nilalamang iyon.
Paano ko magagamit ang Notion bilang batayan ng kaalaman para sa mga sagot ng chatbot?
Maaaring ikonekta ang chatbot sa database ng Notion na naglalaman ng FAQ, polisiya, o dokumentasyon. Maaaring mag-query ang chatbot sa database na iyon at ibalik ang kaugnay na nilalaman ng pahina bilang sagot sa usapan.
Paano ako makakapaghanap ng nilalaman sa Notion gamit ang chatbot?
Maaaring paganahin ang paghahanap sa pamamagitan ng pag-link ng chatbot sa mga database ng Notion gamit ang integrasyon. Kapag may tanong ang user, hahanapin ng chatbot ang mga keyword o entity sa Notion at ibibigay ang tumugmang impormasyon.
Paano ko maiimbak ang iba't ibang uri ng datos mula sa chat papunta sa Notion?
Maaaring mag-imbak ng text input gaya ng pangalan, email, puna, at tala, pati na rin ng estrukturadong datos gaya ng checkbox, tag, o status field. Ikinokonekta ng integrasyon ang mga variable ng chatbot sa mga field ng database ng Notion.
Paano ko mapapanatiling awtomatikong napapanahon ang mga workspace sa Notion gamit ang mga input mula sa chatbot?
Gumawa ng mga daloy kung saan ang mga kaganapan sa chatbot ang magti-trigger ng update sa Notion. Halimbawa, kapag may nagpadala ng request sa chat, awtomatikong gagawa o mag-a-update ang chatbot ng kaukulang entry sa Notion, kaya laging napapanahon ang workspace nang hindi na kailangang mano-mano.
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