1"use strict";(self.webpackChunkembedded_workflow_builder_docs=self.webpackChunkembedded_workflow_builder_docs||[]).push([["2932"],{99331(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>l,frontMatter:()=>o,contentTitle:()=>d,toc:()=>c,assets:()=>a});var s=JSON.parse('{"id":"connectors/notion","title":"Notion Connector","description":"Manage Notion pages, databases, and users","source":"@site/docs/connectors/notion.md","sourceDirName":"connectors","slug":"/connectors/notion","permalink":"/connectors/notion","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Notion Connector","sidebar_label":"Notion","description":"Manage Notion pages, databases, and users"},"sidebar":"docs","previous":{"title":"New Relic","permalink":"/connectors/new-relic"},"next":{"title":"Odoo","permalink":"/connectors/odoo"}}'),i=t(74848),r=t(28453);let o={title:"Notion Connector",sidebar_label:"Notion",description:"Manage Notion pages, databases, and users"},d,a={},c=[{value:"API Documentation",id:"api-documentation",level:2},{value:"Connections",id:"connections",level:2},{value:"Internal Integration Secret",id:"notioninternalintegration",level:3},{value:"Prerequisites",id:"prerequisites",level:4},{value:"Setup Steps",id:"setup-steps",level:4},{value:"Get the Integration Token",id:"get-the-integration-token",level:4},{value:"Configure the Connection",id:"configure-the-connection",level:4},{value:"Connect to Content",id:"connect-to-content",level:4},{value:"OAuth 2.0",id:"notionoauth",level:3},{value:"Prerequisites",id:"prerequisites-1",level:4},{value:"Setup Steps",id:"setup-steps-1",level:4},{value:"Configure OAuth Settings",id:"configure-oauth-settings",level:4},{value:"Get OAuth Credentials",id:"get-oauth-credentials",level:4},{value:"Configure the Connection",id:"configure-the-connection-1",level:4},{value:"Content Access and Permissions",id:"content-access-and-permissions",level:4},{value:"Triggers",id:"triggers",level:2},{value:"New and Updated Data Source Items",id:"datasourceitemspollingtrigger",level:3},{value:"New and Updated Data Sources",id:"datasourcespollingtrigger",level:3},{value:"New and Updated Pages",id:"pagespollingtrigger",level:3},{value:"Actions",id:"actions",level:2},{value:"Create Database",id:"updatedcreatedatabase",level:3},{value:"Create Database Item",id:"createdatabaseitem",level:3},{value:"Create Data Source",id:"createdatasource",level:3},{value:"Create Page",id:"createpage",level:3},{value:"Get Current User",id:"getcurrentuser",level:3},{value:"Get Page",id:"getpage",level:3},{value:"Get User by ID",id:"getuser",level:3},{value:"List Data Sources",id:"listdatasources",level:3},{value:"List Pages",id:"listpages",level:3},{value:"List Users",id:"listusers",level:3},{value:"Query Data Source",id:"querydatasource",level:3},{value:"Raw Request",id:"rawrequest",level:3},{value:"Retrieve Database",id:"retrievedatabase",level:3},{value:"Retrieve Data Source",id:"retrievedatasource",level:3},{value:"Update Database",id:"updatedupdatedatabase",level:3},{value:"Update Data Source",id:"updatedatasource",level:3}];function h(e){let n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.img,{alt:"Notion",src:t(81194).A+"#connector-icon",width:"32",height:"32"}),"\n",(0,i.jsx)(n.a,{href:"https://www.notion.com/",children:"Notion"})," is a productivity and collaboration platform that combines note taking, project management, and database capabilities. This component allows managing pages, databases, and users within a Notion workspace."]}),"\n",(0,i.jsx)(n.h2,{id:"api-documentation",children:"API Documentation"}),"\n",(0,i.jsxs)(n.p,{children:["This component was built using the ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/intro",children:"Notion API"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"connections",children:"Connections"}),"\n",(0,i.jsx)(n.h3,{id:"notioninternalintegration",children:"Internal Integration Secret"}),"\n",(0,i.jsx)(n.p,{children:"Connect to Notion using an Internal Integration Secret"}),"\n",(0,i.jsx)(n.p,{children:"To create an internal integration for Notion, set up a private integration that works within a single Notion workspace. Internal integrations are ideal for testing or for integrations that will only be used within one workspace."}),"\n",(0,i.jsxs)(n.p,{children:["For detailed information about Notion integrations, refer to the ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/authorization",children:"Notion Integration Documentation"}),"."]}),"\n",(0,i.jsx)(n.h4,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"A Notion account with permission to create integrations in the workspace"}),"\n",(0,i.jsxs)(n.li,{children:["Access to the ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion integration settings"})]}),"\n",(0,i.jsx)(n.li,{children:"Permission to connect the integration to specific pages or databases in the workspace"}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"setup-steps",children:"Setup Steps"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Visit ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion's integrations settings"})," and log into Notion."]}),"\n",(0,i.jsxs)(n.li,{children:["Click ",(0,i.jsx)(n.strong,{children:"Create new integration"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Fill in the required integration details:\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Name"}),": Enter a descriptive name for the integration"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Logo"}),": Optionally upload a logo"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Associated workspace"}),": Select the workspace where the integration will be created"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Under ",(0,i.jsx)(n.strong,{children:"Capabilities"}),", select the permissions needed for the integration:\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Read content"}),": Allows reading pages, databases, and other content"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Update content"}),": Allows modifying existing content"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Insert content"}),": Allows creating new content"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Under ",(0,i.jsx)(n.strong,{children:"Content Capabilities"}),", choose specific content types if needed (pages, databases, comments, etc.)."]}),"\n",(0,i.jsx)(n.li,{children:"Save the integration settings."}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"get-the-integration-token",children:"Get the Integration Token"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Navigate to the ",(0,i.jsx)(n.strong,{children:"Secrets"})," tab in the integration settings."]}),"\n",(0,i.jsxs)(n.li,{children:["Copy the ",(0,i.jsx)(n.strong,{children:"Internal Integration Token"})," value.\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["The token format is: ",(0,i.jsx)(n.code,{children:"secret_"})," followed by a series of alphanumeric characters"]}),"\n",(0,i.jsxs)(n.li,{children:["Example format: ",(0,i.jsx)(n.code,{children:"secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"})]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"configure-the-connection",children:"Configure the Connection"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Enter the ",(0,i.jsx)(n.strong,{children:"Internal Integration Secret"})," into the connection configuration."]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"connect-to-content",children:"Connect to Content"}),"\n",(0,i.jsx)(n.p,{children:"After creating the integration and configuring the connection, the integration must be explicitly connected to specific pages or databases in Notion:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"Navigate to the Notion page or database that the integration should access."}),"\n",(0,i.jsxs)(n.li,{children:["Click the ",(0,i.jsx)(n.strong,{children:"..."})," (more) menu in the top right corner of the page."]}),"\n",(0,i.jsxs)(n.li,{children:["Select ",(0,i.jsx)(n.strong,{children:"Connect to"})," from the menu."]}),"\n",(0,i.jsx)(n.li,{children:"Choose the integration from the list."}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"The integration will now have access to that content based on the capabilities configured during setup. Repeat this process for each page or database that the integration needs to access."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Internal Integration Secret"}),(0,i.jsxs)(n.td,{children:["The Notion Internal Integration Secret. Create an integration in the ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion integrations settings"})," to obtain this token."]}),(0,i.jsx)(n.td,{})]})})]}),"\n",(0,i.jsx)(n.h3,{id:"notionoauth",children:"OAuth 2.0"}),"\n",(0,i.jsx)(n.p,{children:"Connect to Notion via OAuth 2.0"}),"\n",(0,i.jsx)(n.p,{children:"To create an OAuth 2.0 integration for Notion, set up a public integration that allows users to authenticate with their Notion workspaces."}),"\n",(0,i.jsxs)(n.p,{children:["For detailed information about Notion integrations, refer to the ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/authorization",children:"Notion Integration Documentation"}),"."]}),"\n",(0,i.jsx)(n.h4,{id:"prerequisites-1",children:"Prerequisites"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"A Notion account with permission to create integrations"}),"\n",(0,i.jsxs)(n.li,{children:["Access to the ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion integration settings"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"setup-steps-1",children:"Setup Steps"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Visit ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion's integrations settings"})," and log into Notion."]}),"\n",(0,i.jsxs)(n.li,{children:["Click ",(0,i.jsx)(n.strong,{children:"Create new integration"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Fill in the required integration details:\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Name"}),": Enter a descriptive name for the integration"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Logo"}),": Optionally upload a logo"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Associated workspace"}),": Select the workspace where the integration will be created"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Under ",(0,i.jsx)(n.strong,{children:"Capabilities"}),", select the permissions needed for the integration:\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Read content"}),": Allows reading pages, databases, and other content"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Update content"}),": Allows modifying existing content"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Insert content"}),": Allows creating new content"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Under ",(0,i.jsx)(n.strong,{children:"Content Capabilities"}),", choose specific content types if needed (pages, databases, comments, etc.)."]}),"\n",(0,i.jsx)(n.li,{children:"Save the integration settings."}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"configure-oauth-settings",children:"Configure OAuth Settings"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Navigate to the ",(0,i.jsx)(n.strong,{children:"Distribution"})," tab in the integration settings."]}),"\n",(0,i.jsxs)(n.li,{children:["Select ",(0,i.jsx)(n.strong,{children:"Public integration"})," to enable OAuth 2.0 authentication."]}),"\n",(0,i.jsxs)(n.li,{children:["Under ",(0,i.jsx)(n.strong,{children:"Redirect URIs"}),", add the OAuth callback URL: ",(0,i.jsx)(n.code,{children:"https://oauth2.integrations.acme.com/callback"})]}),"\n",(0,i.jsx)(n.li,{children:"Configure any additional OAuth settings as needed."}),"\n",(0,i.jsx)(n.li,{children:"Review and save the distribution settings."}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"get-oauth-credentials",children:"Get OAuth Credentials"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Navigate to the ",(0,i.jsx)(n.strong,{children:"Secrets"})," tab in the integration settings."]}),"\n",(0,i.jsx)(n.li,{children:"Locate the OAuth credentials section."}),"\n",(0,i.jsxs)(n.li,{children:["Copy the ",(0,i.jsx)(n.strong,{children:"OAuth client ID"})," value."]}),"\n",(0,i.jsxs)(n.li,{children:["Copy the ",(0,i.jsx)(n.strong,{children:"OAuth client secret"})," value."]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"configure-the-connection-1",children:"Configure the Connection"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Enter the ",(0,i.jsx)(n.strong,{children:"OAuth client ID"})," into the ",(0,i.jsx)(n.strong,{children:"Client ID"})," field."]}),"\n",(0,i.jsxs)(n.li,{children:["Enter the ",(0,i.jsx)(n.strong,{children:"OAuth client secret"})," into the ",(0,i.jsx)(n.strong,{children:"Client Secret"})," field."]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"When users authenticate through OAuth 2.0, they will be redirected to Notion's authorization page where they can select which pages and databases to share with the integration. The integration will have access only to the content explicitly shared by the user, within the capabilities configured during integration setup."}),"\n",(0,i.jsx)(n.h4,{id:"content-access-and-permissions",children:"Content Access and Permissions"}),"\n",(0,i.jsx)(n.p,{children:"Notion uses a page-scoped consent model. During authorization, users select specific pages and databases to share with the integration. The integration does not automatically gain access to all content in the workspace."}),"\n",(0,i.jsx)(n.p,{children:"If actions fail with permission errors or return no results for content that exists in Notion, the user may
1not have shared the relevant pages during authorization. To grant the integration access to additional content:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"Navigate to the Notion page or database that needs to be accessible"}),"\n",(0,i.jsxs)(n.li,{children:["Click ",(0,i.jsx)(n.strong,{children:"..."})," (menu) in the upper right corner of the page"]}),"\n",(0,i.jsxs)(n.li,{children:["Select ",(0,i.jsx)(n.strong,{children:"Connections"})," and locate the integration"]}),"\n",(0,i.jsx)(n.li,{children:"Click to confirm access"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Alternatively, the user can re-authorize the integration and select the additional pages during the OAuth flow."}),"\n",(0,i.jsxs)(n.p,{children:["This connection uses OAuth 2.0, a common authentication mechanism for integrations.\nRead about how OAuth 2.0 works ",(0,i.jsx)(n.a,{href:"/oauth2",children:"here"}),"."]}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Client ID"}),(0,i.jsxs)(n.td,{children:["The Client ID of the Notion app. Find this in the ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion integrations settings"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Client Secret"}),(0,i.jsxs)(n.td,{children:["The Client Secret of the Notion app. Find this in the ",(0,i.jsx)(n.a,{href:"https://app.notion.com/developers/connections",children:"Notion integrations settings"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"triggers",children:"Triggers"}),"\n",(0,i.jsx)(n.h3,{id:"datasourceitemspollingtrigger",children:"New and Updated Data Source Items"}),"\n",(0,i.jsx)(n.p,{children:"Retrieves existing and ongoing items for a specified Notion data source. Load history once, check for changes on a schedule, or both."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Data Source ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the data source. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/working-with-databases",children:"Notion API Data Sources"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Look-back Date"}),(0,i.jsx)(n.td,{children:"The date the initial sync starts from, in YYYY-MM-DD format. Cannot be a future date. Leave empty to start from the first recurrence with no backfill. When set, the first recurrence returns every record created or last edited on or after this date."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"datasourcespollingtrigger",children:"New and Updated Data Sources"}),"\n",(0,i.jsx)(n.p,{children:"Retrieves existing and ongoing data sources from Notion. Load history once, check for changes on a schedule, or both."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Look-back Date"}),(0,i.jsx)(n.td,{children:"The date the initial sync starts from, in YYYY-MM-DD format. Cannot be a future date. Leave empty to start from the first recurrence with no backfill. When set, the first recurrence returns every record created or last edited on or after this date."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"pagespollingtrigger",children:"New and Updated Pages"}),"\n",(0,i.jsx)(n.p,{children:"Retrieves existing and ongoing pages from Notion. Lo
1ad history once, check for changes on a schedule, or both."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Look-back Date"}),(0,i.jsx)(n.td,{children:"The date the initial sync starts from, in YYYY-MM-DD format. Cannot be a future date. Leave empty to start from the first recurrence with no backfill. When set, the first recurrence returns every record created or last edited on or after this date."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"actions",children:"Actions"}),"\n",(0,i.jsx)(n.h3,{id:"updatedcreatedatabase",children:"Create Database"}),"\n",(0,i.jsx)(n.p,{children:"Creates a database as a subpage in the specified parent page, with the specified properties schema set on its initial data source."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Parent"}),(0,i.jsx)(n.td,{children:'The parent page where the database will be created. Format: {"type": "page_id", "page_id": "..."} or {"type": "workspace", "workspace": true} for workspace-level.'}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Title"}),(0,i.jsx)(n.td,{children:"The title of the database as it appears in Notion, formatted as a rich text array."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Initial Data Source Properties"}),(0,i.jsx)(n.td,{children:"Property schema for the initial data source. The keys are the names of properties as they appear in Notion."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Description"}),(0,i.jsxs)(n.td,{children:["The description of the data source formatted as a rich text array. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/rich-text",children:"Notion Rich Text Reference"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Cover Image"}),(0,i.jsxs)(n.td,{children:["The cover image of the new page, represented as a ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"file object"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"createdatabaseitem",children:"Create Database Item"}),"\n",(0,i.jsx)(n.p,{children:"Creates an Item on a database."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Parent"}),(0,i.jsx)(n.td,{children:'The parent database where the new page is inserted. Recommended format: {"type": "data_source_id", "data_source_id": "..."}. Legacy format {"database_id": "..."} is supported for single-source databases.'}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Properties"}),(0,i.jsxs)(n.td,{children:["The values of the page's properties. ",(0,i.jsx)(n.strong,{children:"Important:"})," If the parent is a database, the schema must match the parent database's properties. If the parent is a page, only 'title' is valid. ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/page-property-values",children:"Learn more"})]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Children"}),(0,i.jsxs)(n.td,{children:["The content to be rendered on the new page, represented as an array of block objects. ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/block",children:"Block reference"})]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Cover Image"}),(0,i.jsxs)(n.td,{children:["The cover image of the new page, represented as a ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"file object"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"createdatasource",children:"Create Data Source"}),"\n",(0,i.jsx)(n.p,{children:"Add an additional data source to an existing database. A standard table view is created alongside the new data source."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Database ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the database. For single-source databases, this is also the data source ID. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/database",children:"Notion API Database Reference"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Properties"}),(0,i.jsx)(n.td,{children:"Property schema of the data source. The keys are the names of properties as they appear in Notion."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Title"}),(0,i.jsx)(n.td,{children:"The title of the database as it appears in Notion, formatted as a rich text array."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"createpage",children:"Create Page"}),"\n",(0,i.jsx)(n.p,{children:"Creates a new page that is a child of an existing page or database."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Parent"}),(0,i.jsxs)(n.td,{children:["The parent where the new page is inserted. ",(0,i.jsx)(n.strong,{children:"For page parents:"}),' {"type": "page_id", "page_id": "..."}. ',(0,i.jsx)(n.strong,{children:"For database parents (recommended):"}),' {"type": "data_source_id", "data_source_id": "..."}. Legacy format {"database_id": "..."} is supported for single-source databases.']}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Properties"}),(0,i.jsxs)(n.td,{children:["The values of the page's properties. ",(0,i.jsx)(n.strong,{children:"Important:"})," If the parent is a database, the schema must match the parent database's properties. If the parent is a page, only 'title' is valid. ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/page-property-values",children:"Learn more"})]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Children"}),(0,i.jsxs)(n.td,{children:["The content to be rendered on the new page, represented as an array of block objects. ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/block",children:"Block reference"})]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Cover Image"}),(0,i.jsxs)(n.td,{children:["The cover image of the new page, represented as a ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"file object"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"getcurrentuser",children:"Get Current User"}),"\n",(0,i.jsx)(n.p,{children:"Get the currently logged in user"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]})})]}),"\n",(0,i.jsx)(n.h3,{id:"getpage",children:"Get Page"}),"\n",(0,i.jsx)(n.p,{children:"Retrieve a page by ID with optional property filters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Page ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the page in Notion. Find this in the page URL. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/page",children:"Notion API Page Reference"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Filter Properties"}),(0,i.jsx)(n.td,{children:"Comma-separated list of page property IDs to include in the response. Use this to limit the response to specific page properties."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"getuser",children:"Get User by ID"}),"\n",(0,i.jsx)(n.p,{children:"Get a user by their ID"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"User ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the user in Notion. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/user",children:"Notion API User Reference"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"listdatasources",children:"List Data Sources"}),"\n",(0,i.jsx)(n.p,{children:"List all data sources accessible to the integration."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Fetch All"}),(0,i.jsx)(n.td,{children:"When true, automatically fetches all pages of results using pagination. This ignores the Start Cursor input."}),(0,i.jsx)(n.td,{children:"false"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Start Cursor"}),(0,i.jsx)(n.td,{children:"The start cursor returned from a previous list or query action when at least one more page of records is available. Used for pagination."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"listpages",children:"List Pages"}),"\n",(0,i.jsx)(n.p,{children:"List all pages"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Fetch All"}),(0,i.jsx)(n.td,{children:"When true, automatically fetches all pages of results using pagination. This ignores the Start Cursor input."}),(0,i.jsx)(n.td,{children:"false"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Start Cursor"}),(0,i.jsx)(n.td,{children:"The start cursor returned from a previous list or query action when at least one more page of records is available. Used for pagination."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"listusers",children:"List Users"}),"\n",(0,i.jsx)(n.p,{children:"List all users in the workspace with optional page size"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Fetch All"}),(0,i.jsx)(n.td,{children:"When true, automatically fetches all pages of results using pagination. This ignores the Start Cursor and Page Size inputs."}),(0,i.jsx)(n.td,{children:"false"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Pagination"}),(0,i.jsx)(n.td,{children:"Cursor and page-size controls for paging through results."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Start Cursor"}),(0,i.jsx)(n.td,{children:"The start cursor returned from a previous list or query action when at least one more page of records is available. Used for pagination."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Page Size"}),(0,i.jsx)(n.td,{children:"The number of items to return per page. Maximum: 100."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"querydatasource",children:"Query Data Source"}),"\n",(0,i.jsx)(n.p,{children:"Query a data source to retrieve pages with optional filtering and sorting."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Data Source ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the data source. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/working-with-databases",children:"Notion API Data Sources"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Fetch All"}),(0,i.jsx)(n.td,{children:"When true, automatically fetches all pages of results using pagination. This ignores the Start Cursor input."}),(0,i.jsx)(n.td,{children:"false"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Sort"}),(0,i.jsxs)(n.td,{children:["Array of sort objects defining the order of query results. Earlier sorts take precedence. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/post-database-query-sort",children:"Notion API Sort Documentation"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Filter Object"}),(0,i.jsxs)(n.td,{children:["Filter conditions to apply to the database query. Supports compound filters using 'and' and 'or' operators. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/post-database-query-filter",children:"Notion API Filter Documentation"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Pagination"}),(0,i.jsx)(n.td,{children:"Cursor and page-size controls for paging through results."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Start Cursor"}),(0,i.jsx)(n.td,{children:"The start cursor returned from a previous list or query action when at least one more page of records is available. Used for pagination."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Page Size"}),(0,i.jsx)(n.td,{children:"The number of items to return per page. Maximum: 100."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Result Type"}),(0,i.jsx)(n.td,{children:"Type of results to return. Use 'data_source' (recommended) for the new API or 'database' for legacy support."}),(0,i.jsx)(n.td,{children:"database"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Filter Properties"}),(0,i.jsx)(n.td,{children:"Limit the properties included in the response. Provide an object where keys are property names and values are property values or arrays of values."}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"rawrequest",children:"Raw Request"}),"\n",(0,i.jsx)(n.p,{children:"Send raw HTTP request to Notion"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"URL"}),(0,i.jsxs)(n.td,{children:["Input the path only (/users/me), The base URL is already included (",(0,i.jsx)(n.a,{href:"https://api.notion.com/v1",children:"https://api.notion.com/v1"}),"). For example, to connect to ",(0,i.jsx)(n.a,{href:"https://api.notion.com/v1/users/me",children:"https://api.notion.com/v1/users/me"}),", only /users/me is entered in this field."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Method"}),(0,i.jsx)(n.td,{children:"The HTTP method to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Data"}),(0,i.jsx)(n.td,{children:"The HTTP body payload to send to the URL."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Form Data"}),(0,i.jsx)(n.td,{children:"The Form Data to be sent as a multipart form upload."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"File Data"}),(0,i.jsx)(n.td,{children:"File Data to be sent as a multipart form upload."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"File Data File Names"}),(0,i.jsx)(n.td,{children:"File names to apply to the file data inputs. Keys must match the file data keys above."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Query Parameter"}
1),(0,i.jsx)(n.td,{children:"A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Header"}),(0,i.jsx)(n.td,{children:"A list of headers to send with the request."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Response Type"}),(0,i.jsx)(n.td,{children:"The type of data you expect in the response. You can request json, text, or binary data."}),(0,i.jsx)(n.td,{children:"json"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Timeout"}),(0,i.jsx)(n.td,{children:"The maximum time that a client will await a response to its request"}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Retry Delay (ms)"}),(0,i.jsx)(n.td,{children:"The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled."}),(0,i.jsx)(n.td,{children:"0"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Retry On All Errors"}),(0,i.jsx)(n.td,{children:"If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors."}),(0,i.jsx)(n.td,{children:"false"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Max Retry Count"}),(0,i.jsx)(n.td,{children:"The maximum number of retries to attempt. Specify 0 for no retries."}),(0,i.jsx)(n.td,{children:"0"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Use Exponential Backoff"}),(0,i.jsx)(n.td,{children:"Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored."}),(0,i.jsx)(n.td,{children:"false"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"retrievedatabase",children:"Retrieve Database"}),"\n",(0,i.jsx)(n.p,{children:"Retrieve a database object by ID. Returns database-level information including child data sources."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Database ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the database. For single-source databases, this is also the data source ID. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/database",children:"Notion API Database Reference"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"retrievedatasource",children:"Retrieve Data Source"}),"\n",(0,i.jsx)(n.p,{children:"Retrieve a data source object containing structural information about columns and configuration."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Data Source ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the data source. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/working-with-databases",children:"Notion API Data Sources"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"updatedupdatedatabase",children:"Update Database"}),"\n",(0,i.jsx)(n.p,{children:"Update database-level attributes such as title, icon, cover, and inline status. To update data source properties, use the Update Data Source action."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Database ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the database. For single-source databases, this is also the data source ID. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/database",children:"Notion API Database Reference"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Parent"}),(0,i.jsx)(n.td,{children:"If provided, the parent of the database will be changed to the specified page ID or workspace."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Title"}),(0,i.jsx)(n.td,{children:"The title of the database as it appears in Notion, formatted as a rich text array."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Is Inline"}),(0,i.jsx)(n.td,{children:"Whether the database should be displayed inline in the parent page. If not provided, the inline status will not be updated."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Cover Image"}),(0,i.jsxs)(n.td,{children:["The cover image of the new page, represented as a ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"file object"}),"."]}),(0,i.jsx)(n.td,{})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"updatedatasource",children:"Update Data Source"}),"\n",(0,i.jsx)(n.p,{children:"Update a data source object including its property schema, title, icon, and parent database."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Input"}),(0,i.jsx)(n.th,{children:"Comments"}),(0,i.jsx)(n.th,{children:"Default"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Connection"}),(0,i.jsx)(n.td,{children:"The Notion connection to use."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Data Source ID"}),(0,i.jsxs)(n.td,{children:["The unique identifier of the data source. Find this in the Notion URL or database settings menu. See ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/docs/working-with-databases",children:"Notion API Data Sources"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Properties"}),(0,i.jsx)(n.td,{children:"Property schema of the data source. The keys are the names of properties as they appear in Notion."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Title"}),(0,i.jsx)(n.td,{children:"The title of the database as it appears in Notion, formatted as a rich text array."}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Icon"}),(0,i.jsxs)(n.td,{children:["The icon of the new page. Either an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/emoji-object",children:"emoji object"})," or an ",(0,i.jsx)(n.a,{href:"https://developers.notion.com/reference/file-object",children:"external file object"}),"."]}),(0,i.jsx)(n.td,{})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Database ID"}),(0,i.jsx)(n.td,{children:"If provided, the parent of the data source will be changed to the specified database ID."}),(0,i.jsx)(n.td,{})]})]})]})]})}function l(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},81194(e,n,t){t.d(n,{A:()=>s});let s="data:image/png;base64,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"},28453(e,n,t){t.d(n,{R:()=>o,x:()=>d});var s=t(96540);let i={},r=s.createContext(i);function o(e){let n=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.