Notion login (Google SSO, app.notion.com)
Log into Notion (app.notion.com) with Continue with Google, handling the Google account chooser and consent screen. Returns straight away if this browser is already signed in, and reports the Notion account email. Optionally pass which Google account to use. Needs a browser already signed in to Google and a Google account that already has a Notion account.
Input
email optionalGoogle account to pick in the chooser. Omit to use the first account listed.
Output
url requiredalready requiredloggedIn requiredaccount optionalNotion account email
FAQ
Query a Notion database
Read the rows of a Notion database the signed-in account can open, in the order of one of its views, with every property's value by name (text, numbers, selects, multi-selects, dates, checkboxes, people, links to other rows), plus the database's properties and their options. Optionally keep only rows matching a text search. Takes the database's link or id; get it from search_pages.
Invite workspace member (Notion)
Invite someone to a Notion workspace by email, with a chosen role and built-in verification. Records the People page before and after, returning invited / verified — proof the invite actually landed. dryRun (default true) fills the invite form and cancels without sending; set it to false to actually send the invite. Role defaults to "Restricted member" (available on all plans); "Workspace owner" is also supported. The "Member" role requires a paid Notion Plus plan and is rejected up front rather than silently opening a billing/upgrade dialog. Acts on the workspace currently active in the browser, so there is no workspace name to pass. Requires being signed into Notion with permission to invite members.
Create a Notion page
Create a Notion page with a title and optional text, then read it back. Put it in your private pages, under another page, or in a database as a new row with property values by name (text, number, select, multi-select, date, checkbox; select options must already exist). Returns the new page's id and link. Get page and database ids from search_pages and their properties from query_database.
