Integrations
Slack
Catch up on channels, threads and unreads, search messages and people, and post, reply, react, pin, schedule and remind, in the Slack workspace you have open.
Where it works
Slack in the browser, at app.slack.com and your workspace’s slack.com address.
Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.
How it works
The tools use Slack’s own web client, signed in as you, so the agent sees exactly the workspaces, channels and messages you can. There is no Slack app to install and no token to paste.
Slack does not document this part of its service, so the adapter keeps everything specific to it in one place. The workspace token Slack keeps in the page is used for each request and never handed to the agent.
Tools
Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.
Reads Read only
These only look things up.
- Get the current Slack workspace
get_current_workspaceReturn the Slack workspace currently active in the embedded browser (team_id, name, domain). - Get the current Slack user
get_current_userReturn the authenticated Slack user for the current workspace. - Get the current Slack channel
get_current_channelReturn the Slack channel currently displayed in the browser (id, name, is_private, topic, purpose). - Get the current Slack thread
get_current_threadIf a Slack thread is open in the browser, return its parent message, channel id, thread_ts, replies and participants. - Read a Slack channel’s history
get_channel_historyRead recent messages from a Slack channel (newest first), normalized. - Read a Slack thread’s replies
get_thread_repliesRead the replies of a Slack thread (oldest first; the first item is the parent), normalized. - Search Slack messages
search_messagesSearch Slack messages with the authenticated web user’s search. - Read my Slack activity
get_activityRead the signed-in user’s Slack Activity feed — what happened to them: replies in threads they follow, @-mentions of them, of their groups and @channel/@here, reactions to their messages, keyword alerts and channel invitations — newest first, each with whether it is unread, the channel, who did it, the message text and a permalink. - Read my Slack unreads
get_unreadsList the signed-in user’s Slack conversations with unread messages — DMs first, then group DMs, then channels — each with how many mentions of the user it holds and when its newest message arrived, plus whether followed threads have unread replies. - Read my Slack Later list
get_saved_itemsRead the signed-in user’s Slack "Later" list (saved messages), newest saved first, each with channel, author, text, when it was saved, its due time, its state and a permalink. `state` is in_progress (default), completed or all. - Read my Slack threads
get_threadsRead the threads the signed-in user follows (Slack’s Threads view), latest activity first, each with its channel, parent message, reply count, unread replies, latest replies and a permalink. - Find my Slack DM with someone
get_dm_withFind the signed-in user’s existing Slack DM with a person — or group DM with several — named by user id, @handle or name. - List files shared in Slack
list_filesList files shared in Slack, newest first: optionally in one channel, by one person, of some kinds (images, snippets, posts, pdfs, zips, gdocs) and within a time range. - Read a file shared in Slack
get_fileRead one file shared in Slack: its details, and its text when it is a snippet or post (or Slack’s preview otherwise, with readable:false). - Get a Slack user
get_userFetch one Slack user by id (U…). - Search Slack users
search_usersFind Slack users in the current workspace whose name/handle/real name matches a query. - List Slack channels
list_channelsList Slack conversations available to the current user (public/private channels, and optionally DMs). - Get Slack channel info
get_channel_infoFetch metadata for one Slack channel by id (name, is_private, topic, purpose, member count). - Get a Slack message permalink
get_permalinkReturn a permalink URL for a Slack message (channel + message ts). - Get a Slack user’s presence
get_user_presenceReturn a Slack user’s presence (active/away). - Get Slack session capabilities
get_capabilitiesReport whether the authenticated browser session can use the Slack client API and which workspaces are available (team_id + name only). - List my scheduled Slack messages
list_scheduled_messagesList the signed-in user’s pending scheduled Slack messages, optionally in one channel.
Adds and changes Mutating
These change something, and the adapter declares the change additive: a create, an append, a status set.
- Save a Slack message for later
save_messageSave a Slack message to the signed-in user’s "Later" list. - Add a Slack reaction
add_reactionAdd an emoji reaction to a Slack message. - Mark a Slack channel read
mark_readMark a Slack channel read up to a message ts (moves the unread marker). - Pin a Slack message
pin_messagePin a Slack message to its channel. - Set a Slack reminder
set_reminderSet a Slackbot reminder for the signed-in user at a time (ISO-8601 or epoch seconds). - Pause my Slack notifications
set_dndPause the signed-in user’s Slack notifications (Do Not Disturb snooze) for 1 to 1440 minutes. - Set my Slack presence
set_presenceSet the signed-in user’s Slack presence to "away" or back to "auto".
Changes that may not be undoable Consequential
These may make changes that cannot be undone, so XataWorks treats them with the most care.
- Remove a Slack message from Later
remove_saved_messageRemove a Slack message from the signed-in user’s "Later" list. - Send a Slack message
send_messagePost a new top-level message to a Slack channel or DM. - Reply to a Slack thread
reply_to_threadReply within a Slack thread (posts a message with the given thread_ts). - Remove a Slack reaction
remove_reactionRemove an emoji reaction (previously added by you) from a Slack message. - Edit a Slack message
edit_messageReplace the text of a Slack message (Slack only allows your own messages). - Delete a Slack message
delete_messageDelete a Slack message (Slack only allows your own messages). - Unpin a Slack message
unpin_messageUnpin a Slack message from its channel. - Schedule a Slack message
schedule_messageSchedule a Slack message to be posted at a later time (within 120 days), optionally in a thread. - Cancel a scheduled Slack message
delete_scheduled_messageCancel one of the signed-in user’s scheduled Slack messages before it is posted. - Set my Slack status
set_statusSet the signed-in user’s Slack status: text (at most 100 characters), emoji, and an optional expiry time (ISO-8601 or epoch seconds). - Clear my Slack status
clear_statusClear the signed-in user’s Slack status. - Resume my Slack notifications
end_dndResume the signed-in user’s Slack notifications (end a Do Not Disturb snooze).
See Page tools in the user guide for how to see what a tab offers, or every integration.