What you’ll see
Notion
- Databases: the databases your token can read, the one edited last first, seven at a time with Show N more. Each opens its own page.
- Recently edited: the four pages edited last, with their database and when.
A database
What a row on the overview opens.
- Recently edited: its 15 rows edited last, each opening in Notion.
- Database: when it was last edited and its properties.
- Data source ID: with a Copy button, for the pages below.
Tasks
For a tasks database.
- Due, Upcoming and No date, one tab each, every row a task you tick to mark it done. Due is today’s tasks, then the overdue ones. Upcoming is the next 7 days, under each day. Each row says its day, its time when it has one, and its status.
- Completed, closed at the bottom: the four tasks marked done that were edited last.
Reading list
- Reading: what you’re reading now and when each was last edited, each with a Finished button.
- Up next: what you haven’t started, the oldest added first, each with Start reading.
- Finished, closed at the bottom: the four edited last.
Content calendar
- Past its date: posts whose publish date has gone by and aren’t published, with their status. It shows only while there are some.
- Next 14 days: an agenda of what goes out, each with its status.
- Recently published, closed at the bottom: the last four out.
Status
Nothing counts as a problem: tasks and posts are their own status, so an overdue task doesn’t turn the page orange.
How it connects
The pages read Notion’s API, version 2026-03-11, with your token sent as a bearer token. Each page reads its source every 5 minutes while your Mac is awake.
| Request | Page | What it supplies |
|---|---|---|
POST /v1/search | Notion | The databases your token can read, and the four pages edited last. |
GET /v1/data_sources/{id} | A database | Its name, properties and when it was last edited. |
POST /v1/data_sources/{id}/query | A database, Tasks, Reading list, Content calendar | Rows, filtered by status and date and sorted the way each card reads them. Tasks makes five of these, the others three or one. |
PATCH /v1/pages/{id} | Tasks, Reading list | When you tick a task or press Finished or Start reading: sets its status. |
Notion keeps each integration to a few requests a second, which these pages stay well under. Notion’s API reference covers the requests and its authorization guide covers tokens.
Which token. An internal connection’s token sees only the pages and databases you share with it, and its capabilities say whether it can change them. A personal access token acts as you, with your permissions. Ticking a task and the reading buttons change a page; when the token can’t, they say Notion refused.
Sources and buttons explains each part of a page.
Set it up
- Make a token. Make an internal connection or a personal access token, as Notion’s authorization guide describes. For an internal connection, let it update content if you want to tick tasks, and then share each database you want in Legato with it: in Notion, open the database and choose ••• → Add connections.
- Save it in Legato. In Settings → Secrets, save the token under
notion, bound toapi.notion.com. You can also link a 1Password reference. - Install the pages. Install in Legato above adds the Notion page and the database page. Each database appears within 5 minutes.
- Add a page for a database you keep, if you want one: Tasks, Reading list or Content calendar, from the links under Install in Legato. Each asks for:
- Its data source ID. Open the database from Legato’s Notion page and press Copy beside Data source ID.
- The names of its properties, as Notion shows them: the Status property, and the date a task is due or a post goes out. Status has to be a Status property, not a Select.
- Its status values: the one a finished task has (Done), and on a reading list the ones for reading now, not started and finished.
A page that can’t read its database says that Notion answered HTTP 400 or 404. HTTP 404 means the token can’t see the database: share it with your connection in Notion. HTTP 400 usually means a property or status name doesn’t match the database: check its spelling and capitals.
Prompt for your agent
Add 5 Legato pages for Notion, starting from https://legatobar.com/examples/notion.json, https://legatobar.com/examples/notion-database.json, https://legatobar.com/examples/notion-tasks.json, https://legatobar.com/examples/notion-reading.json, https://legatobar.com/examples/notion-calendar.json. Use the page IDs notion, notion-database, notion-tasks, notion-reading, notion-calendar if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.
Add the notion and notion-database pages as they are. Add notion-tasks, notion-reading or notion-calendar only for a database I have of that kind, and ask me for its data source ID, the names of its Status and date properties, and the status values the page names; put them where the page has Status, Due date, Publish date, Done, In progress, Not started and Published, including the property name used as a key in each button’s body. I’ll save the token as notion in Settings → Secrets myself. Don’t tick a task or press a button to test it.
Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.Download the pages
Questions
Why is Due today’s tasks, then overdue?
So what’s due today stays on top however many old tasks have gone by. Each half is in the order of its due date.
What does ticking a task do?
It sets the task’s Status to the Done status you named, as choosing it in Notion would. Legato reads the database again straight after, and the task leaves the list. Ticking doesn’t ask first, and you can set the status back in Notion. Spotlight and Shortcuts don’t offer row buttons.
Why doesn’t Completed say how many I finished this week?
Notion doesn’t keep when a task was marked done, only when the page was last edited. So Completed shows the tasks marked done that were edited last, and says when each was edited.
What if a list has more than the page shows?
Due reads 30 tasks due today and 30 overdue, and Upcoming and No date read 60 each. When Notion has more, the page says some aren’t shown. Reading, Up next and Next 14 days say so on their titles, and the database page says it shows the 15 edited last.
Does a task due at a time count by my Mac’s day?
A task due on a day counts on that day. For a task due at a time, Notion’s filter reference reads a day in a filter as a day in UTC, so a task due late in the evening west of UTC, or early in the morning east of it, can show on the day before or after.
Can I use a Select for status?
Not yet. The pages filter and set a Status property, which is what Notion’s own task and content templates use.