Official scripts
Explore our curated collection of scripts
Leave Slack channel
Leave a channel (by name or id). Returns the channel id. Requires login.
Join Slack channel
Join a public channel (by name or id). Returns the channel id and name. Requires login.
Get Slack workspace info
Get the current workspace's identity: id, name, url domain, email domain and icon URL. Requires login.
Get Slack message permalink
Get the shareable permalink URL for a message by channel (name or id) and message ts. Requires login.
Archive Slack channel
Archive a channel (by name or id). Archived channels are read-only and hidden from the active list (recoverable by an admin). Requires login. The workspace's #general cannot be archived.
List Slack drafts
List your unsent message drafts. Returns each draft's id, destination channel(s) and text. Requires login.
Mute Slack channel
Mute a channel (by name or id) so it stops notifying and greys out in the sidebar. Idempotent. Requires login.
Invite to Slack channel
Add one or more members to a channel, identified by channel name/id and users given as @handles or user ids (U…). Returns which users were added and any that failed. Requires login.
Get Slack channel info
Get one channel's details by name or id: name, privacy, member count, topic, purpose, creator, created date, and archived/general flags. Requires login.
Delete Slack message
Delete one of your own messages by channel (name or id) and message ts. Returns the channel and ts deleted. Requires login.
Get Slack user presence
Get a user's presence (active/away) by id (U…) or @handle, plus their display name. Requires login.
Delete Slack file
Delete a file you own by its id (F…). Permanent. Returns the deleted file id. Requires login.
Save (star) Slack message
Save a message for later (adds it to your Saved items) by channel (name or id) and message ts. Requires login.
List Slack invoices
List Slack billing statements from the workspace's admin billing history. Returns workspace, total and invoices (date, statement, billId, amount, status, description, pdfUrl) — metadata only. Feed a row's pdfUrl (or billId) to slack.com/download_invoice to fetch that statement's PDF. Requires a workspace billing admin; defaults to the primary workspace, or pass workspaceDomain (e.g. acme.slack.com).
Unmute Slack channel
Unmute a channel (by name or id), re-enabling its notifications. Idempotent. Requires login.
Open Slack DM
Open (or fetch) a direct message with one user, or a group DM with several, given as @handles or user ids (U…). Returns the conversation id you can then post to. Requires login.
List Slack pinned items
List a channel's pinned messages (by channel name or id). Returns each pin's ts, author (resolved to a name), text and type. Requires login.
Set Slack channel purpose
Set a channel's purpose/description by name or id. Pass an empty string to clear it. Returns the applied purpose. Requires login.
Unsave (unstar) Slack message
Remove a message from your Saved items by channel (name or id) and message ts. Requires login.
Create Slack channel
Create a new channel. The name is normalized to Slack's rules (lowercased, spaces/invalid chars → hyphens, max 80 chars) so 'test 123' becomes 'test-123'. Pass isPrivate for a private channel. Returns the new channel's id and (normalized) name. Requires login (and permission to create channels).
List Slack channel bookmarks
List a channel's bookmarks (the links pinned to its header) by channel name or id. Returns each bookmark's id, title, link and type. Requires login.
List Slack channels
List the workspace's channels (public + private) with membership, member count, topic and purpose. One page per call; pass cursor to paginate and types/excludeArchived to filter. Requires login.
List Slack members
List the workspace's members (users) with handle, real/display name, title, email (when visible), timezone, admin/owner/bot/guest flags and status. One page per call; pass cursor to paginate and includeDeleted to include deactivated accounts. Requires login.
Get Slack file info
Get metadata for a file by its id (F…): name, title, type, size, uploader, timestamp, and permalink/download URLs. Requires login.
Add Slack channel bookmark
Add a link bookmark to a channel's header by channel name or id. Returns the new bookmark's id. Requires login.
