Connect Notion to your Wiro AI agent
Search, read and write pages and databases in your Notion workspace.
What's overdue on the Website Relaunch board, and who owns each item?
Five tasks on Website Relaunch are past due and not Done, oldest first:
- Pricing page copy, due Nov 14, Ines, In review
- Redirect map for old blog posts, due Nov 17, Hugo, In progress
- Cookie banner text, due Nov 18, Ines, Not started
- Team photos for About, due Nov 20, Ravi, Blocked
- Mobile QA pass, due Nov 21, Hugo, Not started
Ines and Hugo own four of the five.
Overview
What Notion does for your agent
A Notion connection token sees only the pages and databases shared with it, while a personal access token reaches every page its owner can open. The agent finds pages by title, reads them as Markdown, queries databases with filters and sorts, creates pages and rows, edits text in place, updates properties, ticks to-dos, and moves pages to the trash or restores them. Search looks at page titles only, and Notion's API cannot delete anything for good.
Use cases
What your Wiro agent can do with Notion
Turn meeting notes into a Notion page
Paste rough notes or a transcript in Chat and the agent writes a clean page under the parent page you name, with headings, decisions, owners and a to-do list. If the page already exists, it adds the new section at the end instead of starting over.
Add database rows with the right properties
Tell the agent about a new lead, bug or content idea and it adds a row to the right database, filling status, dates, select options and tags with the exact values your database uses. It reads the database schema first, so option names match what is already there.
A Monday list of overdue tasks
Every Monday, a Scheduled Task queries your tasks database for items not marked Done whose due date has passed, sorts them by due date and posts the list in Chat with a link to each page.
Answer questions from your wiki
Ask what your refund policy says or which vendor handles shipping. The agent finds the page by its title, reads it and answers with the relevant lines quoted and a link to the page, so the answer comes from your own docs.
Update a page without rewriting it
Ask the agent to change a price, a date or a name on a policy or wiki page. It edits only those words in place, ticks finished to-dos and updates properties such as status or due date, and leaves the rest of the page as it was.
Prepare next week's content calendar
On Fridays, a Scheduled Task picks up next week's rows in your content calendar and drafts the body of each post page from its brief, so writers start Monday with a first version to edit.
How it works
How Notion works with Wiro
- 01
Deploy an agent, open its Connectors tab, choose Notion and paste what the Connect dialog asks for.
- 02
Set each Notion action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask your agent for Notion work in Chat, or put it on a Scheduled Task that runs on its own.
Turn meeting notes into a Notion page
Add database rows with the right properties
- Where it runsInside your agent. Its requests go straight from the agent to Notion.
- Where its data goes
api.notion.com - How it signs inPaste a key. It is stored encrypted and never shown again.
What it can do
Actions your Wiro agent can take in Notion
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 11 actions
Looks things up in Notion and changes nothing.
Check the Notion connection
Checks that the Notion token works and says what it is: the connection's name, its workspace, and whether it is an internal connection (it sees only the pages shared with it) or acts as a person.
Chat AllowScheduled Tasks Allow
Search Notion pages and databases
Searches the pages and data sources (databases) this connection can see, by title (not page text), most recently edited first by default.
Chat AllowScheduled Tasks Allow
Get a Notion page
Reads one page (or database row) by its ID or link: title, link, parent, trash state, last edit, and every property with its type and value.
Chat AllowScheduled Tasks Allow
Read a Notion page as Markdown
Reads a page's body as Notion-flavored Markdown, the shortest way to read or quote a page.
Chat AllowScheduled Tasks Allow
List the blocks of a Notion page
Lists one level of a page's or block's child blocks, up to 100 per page, each with its ID, type and text: the IDs to append after a block, update one or move one to the trash.
Chat AllowScheduled Tasks Allow
Get a Notion block
Reads one block by its ID: its type, text, to-do state and whether it has children or is in the trash.
Chat AllowScheduled Tasks Allow
Get a Notion database
Reads a database by its ID or link: its title, link and the data sources inside it.
Chat AllowScheduled Tasks Allow
Get a Notion data source schema
Reads a data source's schema: every property with its type and ID (the title property first), the option names of select, multi-select and status properties, relation targets, and which properties Notion computes.
Chat AllowScheduled Tasks Allow
Query a Notion database
Lists the rows of a data source, with an optional Notion filter and sorts.
Chat AllowScheduled Tasks Allow
List Notion workspace members
Lists the people and bots of the workspace with their IDs, to fill a person property by name.
Chat AllowScheduled Tasks Allow
Read other Notion data
Reads what the actions above do not cover, straight from the Notion API.
Chat AllowScheduled Tasks Allow
Create and send 3 actions
Creates or sends something new in Notion, such as a post, a message or an email.
Create a Notion page
Creates a page under a parent page, or a row in a data source with its properties, with a body in Markdown or as blocks.
Chat AskScheduled Tasks Allow
Add Markdown to a Notion page
Adds Markdown at the end of a page (or at its start).
Chat AskScheduled Tasks Allow
Add blocks to a Notion page
Adds up to 100 Notion block objects to a page or inside a block (a toggle, a list item), at the end by default, at the start.
Chat AskScheduled Tasks Allow
Change and delete 8 actions
Changes or deletes what is already in Notion.
Edit text in a Notion page
Changes words in place.
Chat AskScheduled Tasks Allow
Replace a Notion page body
Replaces the whole body of a page with new Markdown.
Chat AskScheduled Tasks Allow
Update a Notion page's properties
Renames a page or changes a database row's properties, icon or cover.
Chat AskScheduled Tasks Allow
Update a Notion block
Changes one block.
Chat AskScheduled Tasks Allow
Move a Notion page to the trash
Moves a page or a database row to Notion's Trash.
Chat AskScheduled Tasks Allow
Restore a Notion page from the trash
Takes a page or a database row out of Notion's Trash.
Chat AskScheduled Tasks Allow
Move a Notion block to the trash
Moves one block to Notion's Trash; it is restored from Notion's Trash in the app.
Chat AskScheduled Tasks Allow
Make other Notion changes
Sends any other change straight to the Notion API.
Chat AskScheduled Tasks Allow
How to connect
Connect Notion to Wiro
Open the agent's Connectors tab, choose Notion and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| Notion API TokenRequired | Read and write the Notion pages and databases you share with your own Notion connection: search them, create pages and database entries, add content, update properties and query databases. The agent reaches only what you share with the connection, and moving anything to the trash waits for your approval.
Not a Workspace Owner? A personal access token works in the same field. Open the Personal access tokens page, select New token, give it a name, tick the Notion API capability, choose an expiration (7, 30, 90 or 180 days, or 1 year, the default) and select Create token. Copy it right away: Notion shows it only once. It acts as you, reaches every page you can open without the sharing step, and stops working when it expires. On the Free plan only workspace owners can create one, on Plus every member can, and on Business and Enterprise an admin decides who can. Limits: Notion allows a connection 180 requests a minute, or 600 on Business and Enterprise; the agent paces itself and waits when Notion asks it to. A Free workspace with more than one member can create 1,000 blocks in its lifetime (deleting blocks does not give them back). Three days after reaching that, Notion refuses new content from a connection until a workspace owner upgrades the plan; personal access tokens are not limited this way. Paid plans and single-member Free workspaces have no block limit. To revoke access, remove the connection from a page's Connections menu, or delete the connection in the Developer portal. If the token leaks, select Refresh on the Configuration tab and paste the new token here. A personal access token is revoked on the same Personal access tokens page, or by a workspace admin in Settings → Connections. |
Troubleshooting
Troubleshooting Notion
What to check when Notion stops working for your agent.
- An invalid or expired key If Notion refuses the key, for example after it was deleted or expired, the agent's Notion actions fail. Create a new key in Notion, then open the agent's Connectors tab, choose Notion and paste it in place of the old one.
- Limits set by Notion Notion limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Notion plan.
For developers
Connect Notion from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "notion" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "notion", "title": "Notion", "category": "productivity", "authtype": "fields", "credentialfields": [ { "name": "token", "label": "Notion API Token", "required": true, "secret": true, "format": "password" } ], "tools": [ { "name": "get_connection", "readonly": true }, { "name": "search", "readonly": true } ] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "notion", "values": { "token": "YOUR_SECRET" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "notion", "title": "Notion", "authtype": "fields", "status": "connected", "accounts": {}, "savedvariables": [ "token" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "notion" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
Notion and Wiro FAQ
What can a Notion AI agent do with this connector?
It searches pages and databases by title, reads pages as Markdown, queries databases with filters and sorts, and reads each database's properties. It creates pages and database rows, adds content, edits text in place or replaces a page body, changes properties, ticks to-dos, and moves pages or blocks to the trash or brings pages back. It reaches only what your Notion connection can see.
How do I connect Notion to an AI agent?
As a Workspace Owner, open Notion's Developer portal from Settings → Connections → Develop or manage connections, create a connection with an API token and tick Read content, Update content and Insert content. Copy the token, which starts with ntn_, and paste it where your agent's Connectors tab lists Notion, or ask for Notion in Chat. Then share each page or database with the connection.
I am not a Workspace Owner. Can I still connect Notion?
Yes, with a personal access token in the same field. Create one on Notion's Personal access tokens page with the Notion API capability and an expiry between 7 days and a year. It acts as you, so the agent reaches every page you can open without the sharing step, and it stops working when it expires. Whether members may create one depends on your plan and your admin.
Why can't the agent find my Notion page?
A new connection sees nothing until you share pages with it: open the page, click •••, choose Connections and add yours. Sub-pages are shared along with their parent. Search also matches titles, not the text inside pages, so ask for a page by its name or name the database to look in.
Will the agent edit or trash Notion pages without approval?
In Chat, creating pages, editing text or properties and moving anything to the trash wait for your approval by default; searching and reading do not. Scheduled Tasks make those changes without stopping, unless a person has switched them to Ask or Block. Notion's API cannot delete anything for good, so a page the agent trashed can be restored.
Where is my Notion token stored, and does it cost extra?
Your token is held encrypted; it cannot be shown again and stays hidden from the AI model. No agent plan charges extra for Connectors, and Notion's API comes with every Notion plan. If the token leaks, select Refresh on the connection's Configuration tab in Notion and paste the new token on the Connectors tab.
What limits does Notion set on the API?
A connection can make 180 requests a minute, or 600 on Business and Enterprise. On a Free workspace with more than one member, connections can create 1,000 blocks over the workspace's lifetime, and deleting blocks does not give them back. Three days after that limit is reached, Notion refuses new content from a connection until a workspace owner upgrades. Personal access tokens are not limited this way.
Is this the same as a Notion MCP server?
It does the same job: Notion's API arrives in your agent as actions, run with your own token from inside the agent, so you have no server to maintain. Scheduled Tasks let you automate Notion, such as a Monday overdue report or a Friday pass that drafts next week's content pages.
Access
Revoke Notion access
Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.
Related connectors
More productivity connectors for your Wiro agent
Put Notion to work with Wiro
Deploy an agent and connect Notion from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.