Skip to main content
This demo files a customer call summary into a Notion database and reads it back. The point: the same database is the one your AEs open in Notion. The agent files structured notes (markdown locally, blocks in Notion); humans read and edit them in the UI they already use.
wiki_notion.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as wiki_notion.py, then run:
Full source: cookbook/12_context/15a_wiki_notion.py