Notion connection: the number of pages edited and added yesterday in one database
You can set up the Notion connection yourself in the Chatmated app on the Connections page: at present it reads how many pages in one chosen database were edited or added yesterday, and shows the number with the database name in the morning view. Reading page properties, statuses and due dates is something we build to order. You need the token of a Notion internal integration and the database ID.
You can set up this connection yourself in the Chatmated app. What the ready connection reads today is written at the top of the page. Below is everything the program's API allows: the rest we build on request.
Connect NotionThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- The database name and its data source
- Pages whose last edited time falls on yesterday
- Page properties, such as status and due date, if these are built on separately
What it does when you confirm
- The ready-made connection shows in the morning view how many pages in the chosen database were edited or added yesterday
- Can be built so that pages are read by a given status or due date
What it does not do
- Does not create, change or delete anything in Notion: the integration only has the Read content capability
- Does not see pages and databases you did not share with the integration
- Does not store the content of pages
What we need from you. The token of a Notion internal integration and the database ID. A workspace owner creates the integration at app.notion.com/developers/connections, the token is on the Configuration tab. The database must be shared with the integration: ••• menu, Add connections.
What this number tells you
In many companies Notion is where clients, enquiries, the content plan or internal guides live. All of these are databases in which every row is a page. In the morning what matters is not the content of each page, but whether anything is happening in the database at all.
The morning view row "Notion: pages edited yesterday" gives one number: how many pages in the chosen database were edited or added on the previous day. The database name is next to the number. If the enquiries database usually has ten changes a day and yesterday had zero, that is a sign nobody dealt with enquiries. If something moves in the content plan every day but not on Friday, you see that on Monday morning.
Making the integration
In Notion access goes through an integration. Only a workspace owner can make one.
- Open the Notion developer portal app.notion.com/developers/connections and click New integration.
- Name it Chatmated, choose the workspace and keep the type Internal.
- Of the capabilities keep only Read content. Nothing more is needed.
- Open the Configuration tab, click Show next to the token and copy the token.
- Open the database you want to see in Notion, click the ••• menu in the top right, choose Add connections and pick Chatmated.
- Copy the ID from the database address: the 32 characters before the ?v= part. You can also paste the whole address, the app picks the ID out of it by itself.
- In the Chatmated app go to the Connections page, find Notion and paste the ID and the token into the fields.
Step five is the one most often forgotten. Notion's guide says that before an integration can see a page, the page has to be shared with it by hand. If that has not been done, Notion answers that the database does not exist, and the form leads you back to the same ••• menu.
What edited yesterday means
Every Notion page has a last edited time. The connection asks the database for the pages whose last edited time falls within yesterday by Estonian time, and counts them. A new page is counted too, because creating it is also an edit.
| What was done yesterday | Is it counted |
|---|---|
| A page was added to the database | yes |
| A page's status or text was changed | yes |
| A page was edited yesterday and again today | no, because the last edit is today |
| The page was not touched | no |
The third row is important to know. Notion keeps only the last edited time, not a history of changes. If someone edits the same page again this morning, it drops out of yesterday's number.
Notion returns pages up to a hundred at a time. The app goes through up to five such batches. If there were more than five hundred changes, a plus sign goes after the number. The number is remembered for half an hour.
Newer Notion databases can have several data sources. The connection reads the database's first data source.
Reading only, shared pages only
A Notion integration is limited in two ways. According to Notion's guide the Read content capability only allows reading existing content, not changing it. And the integration sees only the pages and databases shared with it. The rest of the workspace stays invisible to it.
Notion sends pages whole in the query response. Chatmated uses only the count and does not store the content of pages. The token is kept encrypted. To end access, remove Chatmated from the database's ••• menu or delete the integration in the developer portal.
Check and management
In the background the app checks once a day whether Notion accepts the token. Two refusals in a row mean the connection is marked broken and the company owner gets an e-mail. If Notion answers that the database cannot be found, it is not marked broken, because that can also be a momentary glitch.
On the Connections page, from the Manage button of the Notion row, you see the state of the connection and can check it again, pause, resume or remove it. The agent can check the Notion connection in the chat; it does not ask for the token in the chat.
What the Notion connection does not do yet
At present the row has one number from one database. Reading pages by status or due date, several databases side by side and the titles of edited pages in the morning view are not ready yet. We build these to order.
If your tables are in Airtable instead, see the page Airtable connection. For tasks there are the Asana connection and the Todoist connection.
The Notion connection has been made from Notion's public documentation and has not yet been tried with a real workspace.
Questions
Why does the connection show yesterday and not today?
Yesterday is over and its number no longer changes. The morning view shows how much moved in the database on the previous day. The day is counted by Estonian time.
On saving I am told the database was not found. What is wrong?
Most often the database has not been shared with the integration. Open the database in Notion, click the ••• menu in the top right, choose Add connections and pick Chatmated. Also check that the ID is the 32 characters from the address before the ?v= part.
Can I make the integration if I am not the workspace owner?
No. According to Notion's guide only a workspace owner can make an integration. Ask the owner to make the integration and give you the token, or to set up the connection themselves.
Sources
- Notion API: Authorization · read 18 November 2026
- Notion API: Capabilities · read 18 November 2026
- Notion API: Query a data source · read 18 November 2026