Zapier whoami
Report which Zapier account this browser is signed in as: 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 Zapier scripts.
Input
None
Output
loggedIn requiredname optionalemail optionalFAQ
Zapier login (Google SSO)
Log into Zapier using Sign in with Google, ending on the Zapier app home. Handles the Google account chooser and the confirmation step, and returns straight away if you are already signed in. Optionally pass which Google account to use.
List Zapier invoices
List Zapier billing invoices from Settings > Billing & usage > Billing settings > Invoices. Returns total and invoices (status, date, amount, invoice_id, href) — metadata only. Feed a row's href to zapier.com/download_invoice to get that invoice as a PDF (Zapier has no native PDF, so that script renders the invoice page to one). An account with no billing history returns an empty list. Requires a Zapier session with billing access.
Download Zapier invoice
Download a single Zapier invoice as a PDF, given its href from zapier.com/list_invoices. Returns the PDF bytes as base64 plus a filename.
