Skip to main content
Back to list of integrations Use the Slack integration to let agents send and manage messages, request approvals or actions, manage channels and files, and look up users through Action Tools.

Supported actions

Actions are Slack operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Workflow triggers

Triggers are Slack events that start a workflow automatically. Select them as app triggers when you configure a workflow.

Set up the integration

1

Configure the Slack app

Create a Slack app. On OAuth & Permissions, add the Artemis Callback URL to Redirect URLs and the scopes listed in the next step. Copy the Client ID and Client Secret from Basic Information. Invite the app to every channel the agent uses (/invite @<app name>).
2

Create the auth profile

In Integrations, select Slack > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Slack > Continue. Enter the Client ID and Client Secret, select Create Profile, and then select Authorize. Artemis pre-fills the Slack endpoints and scopes.Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.
channels:read, channels:manage, channels:history, channels:write.invites, chat:write, chat:write.customize, groups:read, groups:write, groups:history, groups:write.invites, im:read, im:write, im:history, mpim:read, mpim:write, mpim:history, reactions:read, reactions:write, users:read, users:read.email, users.profile:read, usergroups:read, files:read, files:write, links:read, links:write, emoji:read
3

Create the action tool

In Tools, select New Tool > Action > Slack > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Message timestamps (ts, threadTs) identify messages in Slack. Get them from a send action’s output, from Get channel history, or from a message’s Copy link URL.

Messaging

Converts Markdown to Slack’s mrkdwn syntax. Use it before a send action when the agent produces Markdown.

Human in the loop

These actions post a message and pause the tool until a user responds.

Channels

Files

Uploads a file without sharing it, unless you set channel.

Users

Advanced

Sends a request to any Slack Web API method. Artemis injects the authorization header from the auth profile.

Troubleshoot common issues

Related articles: