Skip to main content
Back to list of integrations Use the Notion integration to let agents create, update, find, and archive database items, create and append to pages, and read or add comments through Action Tools.

Supported actions

Actions are Notion operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Workflow triggers

Triggers are Notion events that start a workflow automatically. Select them as app triggers when you configure a workflow.

Prerequisites

  • A Notion workspace where you can create integrations.
  • The Notion pages and databases shared with the integration during authorization. The agent can access only what you share.

Set up the integration

1

Create a Notion public integration

In Notion integrations, create a Public integration, add the Artemis Callback URL as a redirect URI, and copy the OAuth client ID and OAuth client secret. See Authorization.
2

Create the auth profile

In Integrations, select Notion > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Notion > Continue. Enter the Client ID and Client Secret, select Create Profile, and then select Authorize. In the Notion consent screen, select the pages to share. Artemis pre-fills the Notion endpoints and the owner=user parameter. Notion doesn’t use scopes.Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.
3

Create the action tool

In Tools, select New Tool > Action > Notion > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Databases

Soft-deletes an item. You can restore it later.
Returns the database properties, field types, and configuration.

Pages

Creates a sub-page under the selected page.
Returns a page’s content as blocks.

Comments

Returns comments grouped by discussion thread.

Advanced

Troubleshoot common issues

Related articles: