Skip to main content
Import Notion pages and databases into AGO. The connector keeps the page hierarchy, converts Notion blocks to Markdown, copies Notion-hosted images, and can filter and group database items.

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).
AGO only sees the pages and databases you share with the connection or integration, and their subpages.

Set up a source

  1. Go to Knowledge > Sources and click Create New Source.
  2. Enter a name and select notion as the Source Type.
  3. 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.
  4. 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.
  5. Set filters and grouping if needed (see below).
  6. 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:
Save while still in JSON mode.

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.
Click Calculate item count to see how many records match before you import. The count runs only when you click it, and does not include the folders created by grouping. Changing the database or workspace clears the filters and grouping. For other property types or more complex conditions, write a filter in Advanced (JSON) using Notion’s filter syntax. With an integration token, JSON is the only way to set filters. For example, to import only published items:
Combine conditions with 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.
Before publishing, AGO checks whether the page was edited in Notion or in another AGO session. If the body is updated but the title fails, the error tells you that some changes may already be live; your draft stays available so you can retry.
The preview uses AGO formatting, so Notion layouts and embeds can look different. Edit database properties other than the title in Notion.
Limits:
  • 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

  • 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.
  • 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.
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.
Check Sync history for errors, and check that the connection can reach the child pages you expect.