Your team already works in Notion. Now your agent can too.
With the new Notion adapter for Chat SDK, the same agent you run on Slack, Discord, GitHub, Teams, or WhatsApp can join comment discussions on your Notion pages, no separate codebase required.
import { Chat } from "chat" ;
import { createNotionAdapter } from "@chat-adapter/notion" ;
import { createRedisState } from "@chat-adapter/state-redis" ;
const bot = new Chat ( {
userName : "my-bot" ,
adapters : {
notion : createNotionAdapter ( ) ,
} ,
state : createRedisState ( ) ,
} ) ;
bot . onNewMention ( async ( thread , message ) => {
await thread . post ( "Hello from Notion!" ) ;
} ) ;
Respond to a comment on Notion with your agent
Each Notion page maps to a channel and each comment thread to a thread, so replies stay threaded automatically.
The adapter supports mentions, message editing, conversation history, and up to three file attachments.…