Skip to main content
Connect your app to Slack to send messages, respond to events, and trigger workflows, either as the person who connected Slack or as a bot you name and style.
You need a Builder plan or higher to use connectors in your app.

What you can do

Keep your team informed with messages and updates from your app.

Post to channels

Send updates or announcements to a channel when something happens in your app.

Notify teammates

Send an alert the moment a ticket, deadline, or threshold is hit.

Automate updates

Send recurring digests, reminders, and summaries from your app on a schedule.
Example prompts for Slack User
Example prompts for Slack Bot

Connecting Slack User

Connect Slack User so your app can post as the person who connected it.
You connect one account once, and everyone who uses your app shares that connection and its data.To add a shared Slack User connector:
  1. Click Connectors in your workspace sidebar.
  2. Click Add connector.
  3. Search for Slack User, then click it.
  4. Select Shared connector, then click Next.
  5. Enter a Connection name. For Slack, Who can access is always Apps only.
  6. Click Add connector, then authorize the Slack workspace you want to post to.

Connecting Slack Bot

Connect Slack Bot so your app can post as a bot you name and style.
You connect one account once, and everyone who uses your app shares that connection and its data.To add a shared Slack Bot connector:
  1. Click Connectors in your workspace sidebar.
  2. Click Add connector.
  3. Search for Slack Bot, then click it.
  4. Select Shared connector, then click Next.
  5. Enter a Connection name. For Slack, Who can access is always Apps only.
  6. Click Add connector, then authorize the Slack workspace you want the bot to post to.
To post in a private channel, invite the bot first.

Customizing the bot identity

You can set the bot’s name and icon for each message. Ask the AI chat for the ones you want.

Scopes and permissions

Each connector uses its own scopes, and the 2 sets aren’t interchangeable. Selecting a Slack User scope for Slack Bot, or the reverse, causes the connection to fail.

Slack User scopes

These permissions let your app post as the connected person.
1

Base44 adds

  • users:read: View people in the workspace
  • users:read.email: View email addresses
2

You configure

  • Under Scopes, chat:write is selected by default to send messages.
Access: Messages post as the connected person, with that person’s Slack permissions.
The connector needs channels:read. If you remove it from Additional scopes, the connector doesn’t work.

Slack Bot scopes

These permissions let your app post as your bot.
1

Base44 adds

  • chat:write.customize: Set the bot’s name and icon per message
  • chat:write.public: Post to public channels without joining
2

You configure

  • Under Scopes, chat:write is selected by default to send messages as the bot.
Access: Messages post as your bot, with the permissions granted to your Slack app.

Using Slack in a backend function

Once Slack is connected, your backend functions can retrieve an access token and call the Slack API directly. Base44 handles the OAuth flow and token storage.
  • For a shared connection, use getConnection() to retrieve the token.
  • For an app user connection, use getCurrentAppUserConnection() so each request uses the signed-in person’s token.

Shared connectors

Configure, deploy, and call a shared connection from a backend function.

App user connectors

Retrieve a per-user token and call the API as the signed-in person.

Troubleshooting

Check scopes and workspace access if Slack can’t connect or post messages.
Slack User and Slack Bot use different scope sets and can’t be mixed. Check that you selected only the scopes listed for the connector you’re setting up, and that your Slack app requests those same scopes.
If your Slack app isn’t distributed, only people in your own Slack workspace can connect. Enable public distribution in your Slack app settings.

FAQs

Yes. They are separate connectors, so add each one you need.
Yes. Describe the format, content, and timing you want in the AI chat. You can also go to your app’s dashboard, click Code, and open the generated backend function under base44 > functions to fine-tune the message payload, for example using blocks for more complex layouts.