Slack
The Arcade AI Slack toolkit provides a pre-built set of tools for interacting with Slack. These tools make it easy to build agents and AI apps that can:
- Send direct messages to users
- Send messages to channels
Install
pip install arcade_slack
Available Tools
Tool Name | Description |
---|---|
SendDmToUser | Send a direct message to a user in Slack. |
SendMessageToChannel | Send a message to a channel in Slack. |
If you need to perform an action that's not listed here, you can get in touch with us to request a new tool, or create your own tools with the Slack auth provider.
SendDmToUser
Send a direct message to a user in Slack.
Parameters
user_name
(string, required) The Slack username of the person you want to message. Slack usernames are always lowercase.message
(string, required) The message you want to send.
SendMessageToChannel
Send a message to a channel in Slack.
Parameters
channel_name
(string, required) The Slack channel name where you want to send the message. Slack channel names are always lowercase.message
(string, required) The message you want to send.
Auth
The Arcade AI Slack toolkit uses the Slack auth provider to connect to users' Slack accounts.
With the hosted Arcade AI Engine, there's nothing to configure. Your users will see Arcade AI (demo)
as the name of the application that's requesting permission.
The hosted Arcade Engine is intended for demo and testing purposes only, not for production use. To use Arcade AI and Slack in production, you must use a self-hosted instance of the Arcade Engine.
With a self-hosted installation of Arcade AI, you need to configure the Slack auth provider with your own Slack app credentials.