Slack Bots and Artificial Intelligence | AI
A bot is a nifty way to run code and automate tasks. In Slack, a bot is controlled programmatically via a bot user token that can access one or more of Slack’s APIs. Read on to learn more about creating a bot for your workspace.
What can bots do?
- Monitor and help process channel activity.
- Post messages in channels and react to members’ activity.
- Make channel messages interactive with buttons
Get to know bots
Bots can do a lot of the same things in Slack that regular members can:
- They have names, profiles, profile photos, and exist in the directory.
- They can be @mentioned and sent direct messages.
- They can post messages and upload files.
- They can be invited or removed from both public and private channels.
Bots can only do what you program them to do in a specific channel. So, someone can’t sign in as a bot and do things that other workspace members can do in Slack. Bots also can’t be set as Workspace Owners or Admins.
Add a bot user
- Create a Slack app if you don’t already have one, or select an existing app you’ve created.
- Click the OAuth & Permissions tab in the left sidebar.
- Below Bot Token Scopes, select one or more scopes. Then click Add an OAuth Scope.
- Click the App Home tab in the left sidebar to view the bot user and the configuration you’ve added.