Communication
Slack
Slack integration for messaging and workspace management
Build with SlackSend messages, get notified about events, and build interactive bots that keep your team in the loop. Perfect for alerts, daily briefings, and team notifications. Note: Bubble Lab workflows may use AI language models to generate content. AI-generated responses may be inaccurate or incomplete — users should verify outputs independently.
Supported Triggers and Actions
Bubble Lab helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event that can happen during the workflow.
Triggers
Events in Slack that can start your workflow
- Bot Mentioned — Triggers when your bot is mentioned in a channel
- Message Received — Triggers when a new message is posted in a channel
Actions
Things your workflow can do with Slack
- Send Message — Send a message to a Slack channel or DM. Required scopes: chat:write, chat:write.public (public channels bot has not joined), im:write (DMs to users). If a scope is missing, ask a workspace admin to reinstall the Bubble Lab Slack app with the required permissions, then contact the Bubble Lab team to relink your credential.
- List Channels — List all channels in the Slack workspace. Required scopes: channels:read (public), groups:read (private), im:read (DMs), mpim:read (group DMs)
- Get Channel Info — Get detailed information about a specific channel. Required scopes: channels:read (public), groups:read (private), im:read (DMs), mpim:read (group DMs)
- Get User Info — Get detailed information about a specific user. Required scopes: users:read (add users:read.email to access email field)
- List Users — List all users in the Slack workspace. Required scopes: users:read (add users:read.email to access email field)
- Get Conversation History — Retrieve message history from a channel or direct message. Required scopes: channels:history (public), groups:history (private), im:history (DMs), mpim:history (group DMs)
- Get Thread Replies — Retrieve all replies to a thread in a channel. Required scopes: channels:history (public), groups:history (private), im:history (DMs), mpim:history (group DMs)
- Update Message — Update an existing message in a channel. Required scopes: chat:write
- Delete Message — Delete a message from a channel. Required scopes: chat:write. Note: Bot tokens can only delete messages posted by the bot; user tokens can delete any message the user has permission to delete
- Add Reaction — Add an emoji reaction to a message. Required scopes: reactions:write
- Remove Reaction — Remove an emoji reaction from a message. Required scopes: reactions:write
- Join Channel — Join a public Slack channel. Required scopes: channels:join (bot token) or channels:write (user token)
- Upload File — Upload a file to a Slack channel. Required scopes: files:write
- Schedule Message — Schedule a message to be sent at a future time. Required scopes: chat:write. Max 120 days in advance.
- Get File Info — Get detailed information about a file. Required scopes: files:read. Use this to get file URLs from a file_id (e.g., from file_shared events).
- Download File — Download a file from Slack. Required scopes: files:read. Returns the file content as base64 encoded string.
Example workflows
Click any example to try it with Pearl.
How to install
The “Add to Slack” button is available inside the Bubble Lab app. Follow these steps to connect your workspace.
- 1Create a free Bubble Lab account — Sign up at app.bubblelab.ai with your email or Google account.
- 2Start a new workflow or open Integrations — From the dashboard, create a workflow that uses Slack, or navigate to the "Deploy in Slack" option.
- 3Add Slack Credential — When prompted to connect Slack, follow the instructions to add the Slack credential. You’ll be redirected to Slack’s authorization page.
- 4Authorize and select specific channels — For Slack triggers, choose the workspace you want to connect, and select the specific channels you want to listen to.
- 5Start automating — Once connected, Bubble Lab can send messages, listen for events, and interact with your workspace through your workflows.
Disclaimer
Bubble Lab workflows may use Large Language Models (LLMs) such as GPT, Claude, and Gemini to generate responses and automate tasks. AI-generated content may be inaccurate, incomplete, or outdated. Users should independently verify any AI-generated outputs before relying on them for decisions.
Ready to build with Slack? Just tell Pearl what you want to create.
Get started