챗봇과 AI 에이전트를 위한 Notion 연동
이 통합에 대하여
Notion은 AI 챗봇을 위한 가장 인기 있는 연동 중 하나입니다.
챗봇을 Notion에 연결하면 대화 중에 페이지나 데이터베이스를 직접 생성, 업데이트, 검색할 수 있어 Notion을 동적인 지식 베이스이자 챗봇 워크플로우의 데이터 저장소로 활용할 수 있습니다.
이 연동을 통해 챗봇은 Notion에서 정보를 가져와 사용자 질문에 답변하고, 대화 중 수집된 고객 데이터를 저장하며, 회의록, 업무, 피드백 등을 자동으로 기록할 수 있습니다. 이를 통해 대화형 AI와 팀 문서, 프로젝트 관리, 고객 기록을 쉽게 연결할 수 있습니다.
Notion 연동은 이미 Notion을 중앙 업무 공간으로 사용하는 기업에 특히 유용합니다. 대화 내용을 복사해서 붙여넣을 필요 없이 챗봇이 실시간으로 Notion을 업데이트합니다.
즉, 팀은 항상 최신 고객 인사이트, 지원 티켓, 업무 업데이트를 Notion 워크스페이스에서 바로 확인할 수 있습니다.
Notion과 챗봇을 연결하면 수작업 데이터 입력을 줄이고, 정보를 정확하게 유지하며, Notion을 챗봇 자동화의 입력 및 출력으로 모두 활용할 수 있습니다.
주요 기능
- 챗봇 대화에서 Notion 페이지 생성 및 업데이트
- 고객 데이터를 Notion 데이터베이스에 저장
- Notion 콘텐츠를 검색해 챗봇 답변에 활용
- 업무, 노트, 피드백을 자동으로 기록
- 챗봇 입력을 프로젝트 관리 보드와 동기화
- 지원 정보를 Notion 내에서 체계적으로 관리
- 챗봇 워크플로우에서 Notion 업데이트 트리거
- 팀 워크스페이스를 실시간으로 최신 상태로 유지
챗봇을 Notion에 어떻게 연결하나요?
챗봇을 Notion에 연결하려면 챗봇 플랫폼의 연동 설정에서 Notion 계정을 인증하면 됩니다. 이렇게 하면 챗봇이 Notion 페이지와 데이터베이스를 읽고 쓸 수 있습니다.
챗봇 대화에서 Notion 페이지를 생성하거나 업데이트하려면 어떻게 해야 하나요?
연동을 통해 챗봇이 대화 데이터를 Notion으로 전송하도록 설정할 수 있습니다. 예를 들어 사용자가 피드백을 제출하면 챗봇이 해당 내용을 담은 새 페이지를 생성하거나 기존 페이지를 업데이트합니다.
챗봇 응답의 지식 베이스로 Notion을 어떻게 사용할 수 있나요?
FAQ, 정책, 문서 등을 저장한 Notion 데이터베이스에 챗봇을 연결할 수 있습니다. 챗봇은 해당 데이터베이스를 조회해 관련 페이지 내용을 대화 중 답변으로 제공합니다.
챗봇을 통해 Notion 콘텐츠를 어떻게 검색할 수 있나요?
챗봇을 Notion 데이터베이스와 연동해 검색 기능을 활성화할 수 있습니다. 사용자가 질문하면 챗봇이 Notion에서 키워드나 항목을 찾아 일치하는 정보를 제공합니다.
채팅에서 다양한 유형의 데이터를 Notion에 어떻게 저장할 수 있나요?
이름, 이메일, 피드백, 노트 같은 텍스트 입력뿐 아니라 체크박스, 태그, 상태 필드 등 구조화된 데이터도 저장할 수 있습니다. 연동을 통해 챗봇 변수와 Notion 데이터베이스 필드를 매핑합니다.
챗봇 입력으로 Notion 워크스페이스를 자동으로 최신 상태로 유지하려면 어떻게 해야 하나요?
챗봇 이벤트가 Notion 업데이트를 트리거하는 워크플로우를 만들 수 있습니다. 예를 들어 고객이 채팅에서 요청을 제출하면 챗봇이 자동으로 Notion에 해당 항목을 생성하거나 업데이트해 수작업 없이 워크스페이스를 최신 상태로 유지합니다.
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