Prerequisites
You need one of the following:- A Notion connection (recommended): an AGO admin connects the workspace once and selects the pages to share. See Connect Notion.
- An integration token: create an internal integration at notion.so/my-integrations, copy its token, then share each page or database with it in Notion (… > Connections on the page).
Set up a source
- Go to Knowledge > Sources and click Create New Source.
- Enter a name and select
notionas the Source Type. - Under Notion Connection, choose a workspace, then click Choose a page and pick the page or database to import. If no Notion connection is available in your workspace, enter an integration token under Authentication and the Notion Page/Database ID from the page URL instead.
- To import a database inside the selected page, choose Database under Content to import, then select the database. You can also select a database directly in the page picker.
- Set filters and grouping if needed (see below).
- Click Save, then open the source and click Sync Source.
Configuration
To turn on Append child links, or to turn on Import subpages for a source created from the form, open Advanced (JSON) and set the value as the text
"true", with quotation marks:
Database filters
With a Notion connection, choosing a database loads its Select, Multi-select and Status properties under Database filters. Check the values to import:- Values within the same property use OR: two checked tags include records with either tag.
- Different properties use AND: a record must match each property you filtered.
- Leave everything unchecked to import all records.
and / or. A source that already has an advanced filter keeps it; clear it to go back to the visual filters.
Database grouping
Grouping creates a parent document for each value of a property, with the matching records underneath. Configure it in Advanced (JSON):
With this example, a product database grouped by “Category” produces documents such as “Electronics Section” and “Books Section”, with each product nested under its category.
What gets imported
- Pages become documents with their content in Markdown: headings, lists, code blocks and tables are kept, and toggles, callouts and columns are included as text.
- Child pages and embedded databases keep their place in the hierarchy, and links between imported pages point to the AGO copies.
- A database becomes a parent document with one child document per record.
- For a database record with body content, AGO imports the body. Otherwise it imports the title, plus the properties as a list when at least three properties have values.
Follow import progress
Open Knowledge > Sources > View Sync History to follow a running import. For databases, AGO shows how many records are imported out of the total that match your filters. The total appears once the database entries are listed, and records from embedded databases are added as they are found.Edit pages and publish from AGO
Open an imported page or database record in Knowledge > Documents and choose Edit. Save to AGO changes only AGO’s copy. To change the page in Notion, choose Edit source / publish. The connected editor opens in a new tab. Use Write to edit visually, or Source to edit Notion Markdown. See Document Editor for supported formatting.- Save draft keeps your changes privately in AGO. Agents keep using the published content.
- Publish to Notion saves your edits, updates the existing Notion page, and refreshes its content in AGO. It does not change the page’s sharing settings. The connection needs permission to read and update content on the page.
- Discard draft removes the AGO draft and reloads the page from Notion.
The preview uses AGO formatting, so Notion layouts and embeds can look different. Edit database properties other than the title in Notion.
- Keep child page and database references in the content. Notion rejects changes that would remove them.
- Pages whose content can’t be loaded completely must be edited in Notion.
- Database containers, grouping folders and archived pages can’t be edited here, and you can’t create new pages.
- Publishing replaces any AGO content override. Version history is kept.
- If Edit source / publish isn’t offered for a page, sync the source once and try again.
Troubleshooting
Authentication failed
Authentication failed
- Check that the page or database is shared with the connection or integration.
- With a Notion connection, disconnect and connect the workspace again under Knowledge > Sources > Connections > Notion.
- With an integration token, check that the integration still exists and the token was not regenerated.
Missing content
Missing content
- In Notion, open the page and check … > Connections includes your integration.
- Check the database filter; it may exclude records.
- Check the page or database ID.
- For databases, check that Import subpages is on if records contain child pages.
Missing images
Missing images
If an image can’t be copied during sync, the document keeps the original Notion image URL, which may expire. Sync the source again to retry.
Import seems incomplete
Import seems incomplete
Check Sync history for errors, and check that the connection can reach the child pages you expect.
Related
- Connect Notion: step-by-step connection guide
- Knowledge Connectors: all connectors
- Knowledge Source Management: managing sources
