App Logo

Official scripts

Explore our curated collection of scripts

outlook.live.com

List Outlook.com mail folders

List the signed-in Outlook.com (outlook.live.com) account's mail folders — Inbox, Junk Email, Drafts, Sent Items, Deleted Items, Archive, Conversation History, Notes and any custom folders — from the navigation pane's folder tree. Returns each folder's name and whether it's currently selected.

outlook.live.com

Mark an Outlook.com email read or unread

Mark one Outlook.com (outlook.live.com) message as read or unread by its id (from list_emails), confirming the state actually changed.

outlook.live.com

Read an Outlook.com email

Read one Outlook.com (outlook.live.com) message's details by its id (as returned by list_emails): subject, sender, recipient, date shown on the message, and body text. Opens the message in the given folder's reading pane, so an unread message becomes read. An unknown folder or an id that is not in the folder fails with an error saying so. A signed-out browser fails with a signed-out error asking to sign in to outlook.live.com.

outlook.live.com

List calendar events (Outlook)

List events from the signed-in Outlook consumer calendar for a given week.

outlook.live.com

List Outlook.com emails in a folder

List messages in an Outlook.com (outlook.live.com) mail folder (default Inbox). Returns each message's id (the join key for get_email), sender display name, subject, date label as shown in the list, and preview snippet, in the order the list shows them.

outlook.live.com

Outlook whoami (signed-in Microsoft account)

Report which Microsoft account this browser is signed in to Outlook.com with: the email address and display name. When the browser is signed out, the run fails with a signed-out error that says to sign in to Outlook.

outlook.live.com

List Outlook.com calendars

List every calendar in the signed-in Outlook.com mailbox, ticked on or not, with whether each is shown in the calendar view and its colour (empty when set to automatic).

outlook.live.com

Create calendar event (Outlook)

Create an event in the signed-in Outlook consumer calendar.

outlook.live.com

Create an Outlook.com email draft

Create a saved draft in Outlook.com (outlook.live.com) with a recipient, subject and body, without sending it. Returns the draft's row id, confirmed by reopening the Drafts folder and matching the text you supplied — never inferred from the composer. A malformed address is kept as typed rather than tokenised, and the draft still saves.

outlook.live.com

Reply to an Outlook.com email

Reply to one Outlook.com (outlook.live.com) message by its id (from list_emails), optionally replying to all recipients. Confirms the reply actually left by finding it in Sent Items. Opening the message to reply marks it read, as it would in the UI.

outlook.live.com

Get calendar event (Outlook)

Read the full detail of one event in the signed-in Outlook consumer calendar, by its event id.

outlook.live.com

Send an Outlook.com email

Send an email from Outlook.com (outlook.live.com) to a recipient, with a subject and body and an optional single file attachment. Confirms the message actually left by finding it in Sent Items, rather than assuming the Send click worked. With a file, Send is pressed only once Outlook has accepted the attachment; a file Outlook refuses stops the run with nothing sent.

outlook.live.com

Move an Outlook.com email to a folder

Move one Outlook.com (outlook.live.com) message to another folder by its id (from list_emails). Any folder in your folder list can be the destination, named exactly as it appears there. The move is confirmed on both sides — the message must have left the source and arrived in the destination — and because Outlook gives a message a new id in its new folder, that new id is returned for any follow-up call. Taking a message out of Junk Email is confirmed automatically without accepting Outlook's offer to stop future mail from that sender being treated as junk. Drafts are not supported.

outlook.live.com

Delete calendar event (Outlook)

Delete a single event from the signed-in Outlook consumer calendar, identified by its event id. Requires the expected subject as a safety interlock, and verifies the deletion committed by reloading — the site sometimes reverts a delete.

outlook.live.com

Delete an Outlook.com email

Delete one received Outlook.com (outlook.live.com) message by its id (from list_emails). Confirms the message is actually gone and that exactly one message was removed, rather than assuming the action worked, and then reports whether it is still recoverable: deleting from an ordinary folder files the message in Deleted Items, while deleting from Junk Email destroys it outright. When it is recoverable the id it now has in Deleted Items is returned. Drafts are not supported, because selecting a draft opens it in the composer. Deleting from Deleted Items is also refused, since that is permanent and Outlook gates it behind a confirmation dialog.

outlook.live.com

Update calendar event (Outlook)

Edit an existing event in the signed-in Outlook consumer calendar, by its event id. Changes subject, body, and location (the last only on an event that has none). Requires the expected subject as a safety interlock, and confirms every change by reloading the event, because this calendar sometimes reverts a write. Start and end times cannot be changed.

teams.microsoft.com

Send Chat Message

Send a message in a 1:1 Teams chat by contact name — finds the person, opens their chat, sends the message, then reads the sent message back to confirm it posted.

reddit.com

Get Reddit chat inbox

List the conversations in your Reddit chat inbox (DMs), newest activity first: room id + url, name, chat type, your membership (invite = a chat request you have not accepted), unread count, the other members, and the last message with its direction and real timestamp. Returns the whole inbox, not only what's currently visible on screen. Threads are a separate surface and are not listed. Runs only via the browser extension, not the hosted cloud browser.

reddit.com

Send Reddit DM

Send a Reddit direct message to a user. Returns sent and recipient. A subject is required by Reddit but won't appear in the conversation. Fails for recipients who don't accept DMs. Runs only via the browser extension, not the hosted cloud browser.

trustpilot.com

Trustpilot get current user (signed-in account)

Report which Trustpilot account this browser is signed in as: email and display name from account settings. Fails with a sign-in error when the browser is not signed in to Trustpilot.

calendly.com

Calendly login

Log into Calendly via Google SSO (same-tab redirect). Picks the account (optional email arg), clears consent, and lands in the Calendly app. Requires a browser with an existing Google sign-in — does not work in hosted/cloud browser environments.

teams.microsoft.com

Teams whoami

Report which Microsoft Teams account this browser is signed in as — work or personal: email, name, whether it is a personal (consumer) or work account, and which Teams host it lives on (personal accounts are redirected to teams.live.com). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session — and pick the right Teams host — before running other Teams scripts.

miro.com

Download a Miro invoice PDF

Download one Miro billing invoice PDF, given the pdfUrl that miro.com/list_invoices returns (listing invoices needs a Miro sign-in; the download itself does not). Returns the saved filename plus where to get the file: a path in the Downloads folder on your own Chrome, or a url on a managed browser. The filename can end in " (2)" when the same invoice was saved before. Invoice links expire: an expired one fails with a message to fetch a fresh pdfUrl from list_invoices.

app.hubspot.com

Create or update a HubSpot contact

Create a HubSpot contact from an email address, or update the existing one's first and last name when that email is already on the account — never a duplicate. Reports created, updated or unchanged (nothing saved when the values already match), and re-reads the contact afterwards to confirm. On accounts with GDPR features on, creating needs legalBasis (the caller chooses it; it is never defaulted). dry_run fills everything in and stops before saving. Finds the right account and regional host automatically.

calendly.com

List Calendly invoices

List Calendly billing invoices (org admin only). Per invoice returns date, title, amount, currency, status, invoiceId, chargeId and downloadUrl (a direct Stripe PDF link; open it in a browser to save). A signed-out browser fails with a signed-out error asking to sign in to calendly.com (calendly.com/login_with_google can do it); an account that is not an org admin fails asking to sign in as one. An account with no charges returns an empty list.