การเชื่อมต่อ Notion สำหรับแชทบอทและ AI agent
เกี่ยวกับการผสานนี้
Notion เป็นหนึ่งในระบบเชื่อมต่อยอดนิยมสำหรับแชทบอทและ AI agent ของเรา
การเชื่อมต่อแชทบอทกับ Notion ช่วยให้ผู้สร้างสามารถสร้าง อัปเดต และค้นหาหน้าหรือฐานข้อมูลได้โดยตรงจากบทสนทนา เปลี่ยน Notion ให้เป็นทั้งคลังความรู้แบบไดนามิกและระบบจัดเก็บข้อมูลสำหรับกระบวนการทำงานของแชทบอท
เมื่อเชื่อมต่อแล้ว แชทบอทสามารถดึงข้อมูลจาก Notion เพื่อตอบคำถามผู้ใช้ เก็บข้อมูลลูกค้าที่ได้จากการสนทนา และบันทึกโน้ตการประชุม งาน หรือข้อเสนอแนะโดยอัตโนมัติ ช่วยให้เชื่อมโยง AI สนทนากับเอกสารทีม การจัดการโปรเจกต์ หรือข้อมูลลูกค้าได้อย่างง่ายดาย
การเชื่อมต่อ Notion นี้เหมาะอย่างยิ่งสำหรับธุรกิจที่ใช้ Notion เป็นศูนย์กลางการทำงานอยู่แล้ว แทนที่จะคัดลอกและวางข้อมูลจากแชท แชทบอทจะอัปเดต Notion ให้ทันทีแบบเรียลไทม์
นั่นหมายความว่าทีมจะมีข้อมูลเชิงลึกล่าสุดของลูกค้า ตั๋วซัพพอร์ต หรืออัปเดตงานล่าสุดอยู่ใน Notion workspace เสมอ
เมื่อเชื่อมต่อ Notion กับแชทบอท ผู้สร้างจะลดงานกรอกข้อมูลด้วยมือ รักษาความถูกต้องของข้อมูล และใช้ Notion เป็นทั้งแหล่งรับและส่งข้อมูลสำหรับระบบอัตโนมัติของแชทบอทได้
คุณสมบัติเด่น
- สร้างและอัปเดตหน้า Notion จากบทสนทนาในแชทบอท
- เก็บข้อมูลลูกค้าไว้ในฐานข้อมูล Notion
- ค้นหาข้อมูลใน Notion เพื่อใช้ตอบกลับในแชทบอท
- บันทึกงาน โน้ต และข้อเสนอแนะโดยอัตโนมัติ
- ซิงค์ข้อมูลจากแชทบอทกับบอร์ดจัดการโปรเจกต์
- จัดระเบียบข้อมูลซัพพอร์ตภายใน Notion
- สั่งให้ Notion อัปเดตจากกระบวนการทำงานของแชทบอท
- อัปเดต workspace ของทีมให้ทันสมัยอยู่เสมอแบบเรียลไทม์
ฉันจะเชื่อมต่อแชทบอทกับ Notion ได้อย่างไร?
ในการเชื่อมต่อแชทบอทกับ Notion ให้คุณยืนยันตัวตนบัญชี Notion ของคุณในหน้าตั้งค่าการเชื่อมต่อของแพลตฟอร์มแชทบอท จากนั้นแชทบอทจะสามารถอ่านและเขียนข้อมูลในหน้าและฐานข้อมูลของ Notion ได้
ฉันจะสร้างหรืออัปเดตหน้าบน Notion จากการสนทนาในแชทบอทได้อย่างไร?
คุณสามารถตั้งค่าให้แชทบอทส่งข้อมูลจากบทสนทนาไปยัง Notion ผ่านการเชื่อมต่อ เมื่อเกิดเหตุการณ์ เช่น ผู้ใช้ส่งข้อเสนอแนะ แชทบอทจะสร้างหน้าขึ้นใหม่หรืออัปเดตหน้าที่มีอยู่ด้วยเนื้อหานั้น
ฉันจะใช้ Notion เป็นฐานความรู้สำหรับตอบกลับของแชทบอทได้อย่างไร?
คุณสามารถเชื่อมต่อแชทบอทกับฐานข้อมูล Notion ที่เก็บ FAQ นโยบาย หรือเอกสารต่าง ๆ ได้ แชทบอทจะค้นหาข้อมูลในฐานข้อมูลนั้นและแสดงเนื้อหาหน้าที่เกี่ยวข้องเป็นคำตอบระหว่างสนทนา
ฉันจะค้นหาข้อมูลใน Notion ผ่านแชทบอทได้อย่างไร?
คุณสามารถเปิดใช้งานการค้นหาโดยเชื่อมโยงแชทบอทกับฐานข้อมูลของ Notion เมื่อผู้ใช้ถามคำถาม แชทบอทจะค้นหาคำสำคัญหรือข้อมูลใน Notion และแสดงข้อมูลที่ตรงกัน
ฉันจะจัดเก็บข้อมูลประเภทต่าง ๆ จากการแชทลงใน Notion ได้อย่างไร?
คุณสามารถเก็บข้อมูลที่ผู้ใช้กรอก เช่น ชื่อ อีเมล ข้อเสนอแนะ โน้ต รวมถึงข้อมูลแบบมีโครงสร้าง เช่น เช็กบ็อกซ์ แท็ก หรือสถานะ โดยการเชื่อมต่อจะจับคู่ตัวแปรของแชทบอทกับฟิลด์ในฐานข้อมูล Notion
ฉันจะทำให้พื้นที่ทำงานของ Notion อัปเดตอัตโนมัติด้วยข้อมูลจากแชทบอทได้อย่างไร?
คุณสามารถสร้างกระบวนการทำงานที่ให้เหตุการณ์ในแชทบอทเป็นตัวกระตุ้นให้ Notion อัปเดต เช่น เมื่อลูกค้าส่งคำขอในแชท แชทบอทจะสร้างหรืออัปเดตรายการที่เกี่ยวข้องใน Notion ให้อัตโนมัติ ทำให้ workspace ทันสมัยโดยไม่ต้องดำเนินการด้วยตนเอง
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