Official scripts
Explore our curated collection of scripts
Notion whoami (signed-in account)
Report which Notion account this browser is signed in as: the user id, email and name. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Notion scripts.
Notion login (Google SSO)
Log into Notion via Google SSO, signing out first so the flow always runs fresh. Pass `email` to pick which Google account to use.
Post a comment on a Notion page
Posts a comment on a Notion page under the signed-in account, given the page's URL and the comment text. Returns the text that was posted and confirmation that it now appears on the page.
Notion display language switcher
Switch the display language for the current Notion account, via Settings > Preferences > Language. Supports fr, de, en, it, es.
Get Notion pricing plans
Read Notion's public pricing page (notion.com/pricing): all plans (Free, Plus, Business, Enterprise) with price, billing unit, description, CTA, and feature list, for either monthly or yearly billing. Currency follows the site's own geo/session detection (not independently selectable) and is returned as `currency` so callers know what the prices are denominated in. No "monitor changes" affordance exists here or on the site itself — diff repeated get_pricing calls yourself if you need change tracking.
Detect company's ATS (Greenhouse/Lever/Ashby)
Given a company's careers page URL, detect whether it's backed by Greenhouse, Lever, or Ashby and extract the board slug usable with greenhouse.io/get_company_jobs, lever.co/get_company_jobs, or ashbyhq.com/get_company_jobs. Detection combines two signals: network requests fired by the page (Greenhouse/Lever client-side API calls, seen e.g. on discord.com/careers) and embedded links to the ATS's own hosted board (seen e.g. on notion.com/careers linking jobs.ashbyhq.com/notion). Many companies fully proxy their ATS server-side with no client-visible signal (e.g. careers.airbnb.com, retool.com/careers) - for those this returns platform: null, which is a legitimate outcome, not a failure. Point this at the company's own marketing careers page, not at a guessed ATS URL: several large companies (e.g. Airbnb, Coinbase) configure their native Greenhouse board (boards.greenhouse.io/<slug>) to redirect to their custom-branded career site, which then also yields platform: null.
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.
List Notion Marketplace custom agents
List the custom agents published on the Notion Marketplace (app.notion.com/marketplace/custom-agents). Returns the total count and one page of agents, each with id, slug, url, title, briefDescription, icon, features, installCount, rating and updatedAt. Order by "popular" (default) or "recent"; paginate with limit/offset. Read-only.
Notion unofficial API: download a Notion invoice PDF
An unofficial Notion API to download invoice PDFs, which Notion does not send by email. Download a Notion-hosted invoice as a PDF from its hosted_invoice_url (from app.notion.com/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.
Notion unofficial API: list your Notion invoices across workspaces
An unofficial Notion API for billing invoices: Notion does not email invoices, so they are only available under Settings > Billing. List every Notion invoice across your workspaces. Returns invoices with space_id, space_name, invoice_id, created_ts, total, currency, status, payment_status, and hosted_invoice_url. Total is in cents and currency is a lowercase ISO code (e.g. eur); feed hosted_invoice_url to app.notion.com/download_invoice_pdf to get the PDF.
List Notion workspace members and guests
List the email addresses of a Notion workspace's members and guests, along with the seat counters. Read-only — it changes nothing. Pass the optional email argument to also get a present true/false verdict, the quick way to confirm an offboarding landed. The full member list is returned, including the rows Notion only loads as you scroll. 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.
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.
Notion whoami (signed-in account)
Report which Notion account this browser is signed in as: the user id, email and name, the current workspace, and every workspace the account belongs to (id and name). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Notion scripts.
Create Notion page integration
Create an internal Notion integration scoped to a specific page and connect it to that page. Returns token, integrationId, pageId, integrationName. The token is shown only at creation, so capture it immediately.
Export a Notion page to PDF, HTML or Markdown
Export a Notion page from its URL and save the file to the browser machine's downloads folder. Choose PDF, HTML or Markdown, and optionally include the page's subpages. Returns the saved file's name and path plus the page title, so the caller knows exactly what landed on disk. Markdown and HTML exports arrive as a zip archive; a PDF export of a single page arrives as a PDF named after the page.
Get Current Notion User
Report which Notion account this browser is signed in as: email, name, the current workspace and every workspace the account belongs to. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Notion scripts.
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.
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.
Get Indeed company reviews
Get Indeed employee reviews for a company by its Indeed company slug (e.g. "Google", as it appears in indeed.com/cmp/<slug>), plus the overall rating and detailed-category ratings (work-life balance, pay and benefits, job security, management, culture). Anonymous, read-only.
Get YC company profile
Get one YC company's full public profile (ycombinator.com/companies/<slug>): pitch, batch/status, founders, socials, open jobs, news, launches, photos, founder Q&A.
Get Trustpilot company profile
Get a Trustpilot company profile: TrustScore, stars, review count, full 1-5 star rating distribution, categories, breadcrumb, contact info, claim status and reply behavior. Input is the domain key (e.g. "amazon.com"); the resolved identifyingName is returned (may differ via redirect).
Vercel — list invoices
List a Vercel team's billing invoices, newest first: billing period, status, total due, invoiced date, invoice id, a direct PDF download link, and a link to the invoice's detail page. Optionally pass a team URL slug; defaults to the account's own scope.
Get Trustpilot category companies
List one page of companies ranked in a Trustpilot category (categoryId from get_categories). Supports the site's own filters as args: page, sort (recommended/reviews_count/latest_review), country, trustscore (3.0/4.0/4.5), claimed. Returns each company's domain, TrustScore, stars, review count, location, contact, categories.
Get LinkedIn company info
Get a LinkedIn company's full profile from its URL or bare slug. employeeCount is LinkedIn members associated with the page, not declared size, and can wildly exceed employeeCountRange; use employeeCountRange for self-declared size. websiteUrl is verbatim and can be a linkedin.com self-link. Returns companyId, universalName, name, tagline, description, websiteUrl, industries, specialities, employeeCount, employeeCountRange, followerCount, foundedYear, phone, headquarters, locations, and logoUrl.
Get Trustpilot similar companies
Get the companies Trustpilot lists as similar/competitors on a business profile (the "People also looked at" module). Returns each with its identifyingName (domain key), TrustScore, stars, review count and logo.
