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.
Pre-filled scopes
Pre-filled scopes
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:read3
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
Send Message To A Channel
Send Message To A Channel
Send Message To A User
Send Message To A User
Update message
Update message
Delete Message
Delete Message
Add Reaction to Message
Add Reaction to Message
Markdown to Slack format
Markdown to Slack format
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.Request Approval in a Channel
Request Approval in a Channel
Request Approval from A User
Request Approval from A User
Request Action in A Channel
Request Action in A Channel
Request Action from A User
Request Action from A User
Read and search
Get Message by Timestamp
Get Message by Timestamp
Retrieve Thread Messages
Retrieve Thread Messages
Get channel history
Get channel history
Search messages
Search messages
Channels
Create Channel
Create Channel
Set Channel Topic
Set Channel Topic
Invite User to Channel
Invite User to Channel
Files
Upload file
Upload file
Uploads a file without sharing it, unless you set
channel.Get File
Get File
Users
Find User by Email
Find User by Email
Find User by Handle
Find User by Handle
Find User by ID
Find User by ID
List users
List users
Update Profile
Update Profile
Set User Status
Set User Status
Advanced
Custom API Call
Custom API Call
Sends a request to any Slack Web API method. Artemis injects the authorization header from the auth profile.
Troubleshoot common issues
Related articles: