Download Notion invoice PDF
Download a Notion-hosted invoice as a PDF from its hosted_invoice_url (from list_invoices). Renders the page and returns the PDF bytes as base64 (decode + write it yourself) plus a filename — the script is sandboxed and can't write to disk directly.
Input
hosted_invoice_url requiredThe hosted_invoice_url from list_invoices (https://app.notion.com/invoice/in_...).
Output
filename requiredA filename derived from the invoice id in hosted_invoice_url (e.g. Notion-in_1TgQCpCcKlYJxALV0wxPYyNd.pdf).
pdf_base64 requiredThe PDF file bytes, base64-encoded. Decode and write to a .pdf file at a location of your choosing.
size_bytes requiredFAQ
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.
Remove workspace member (Notion)
Remove a member from a Notion workspace by email, with built-in verification. It records the member list before and after, returning removed / verified / collateralLoss — proof the right person disappeared and nobody else moved. Notion serves one of two different confirmation steps depending on the case, and both are handled. dryRun (default true) dismisses the confirmation without removing; set it to false to go through with it. Acts on the workspace currently active in the browser, so there is no workspace name to pass. Requires being signed into Notion as a workspace owner. Cannot remove the currently signed-in account itself — Notion routes that through a separate "Leave workspace" flow this script doesn't support, and it fails fast with a clear error rather than attempting it.
Get Notion Marketplace custom agent
Fetch one Notion Marketplace custom agent by its URL slug: title, icon, brief and full description, advertised features, gallery images, categories, the integrations it requires (Notion, Slack, …), creator, install count, rating, price, published locales and last update. Read-only.
