Slack App with Bot Tokens
Adding the Slack App Integration
Create a Slack App
Go to Slack API – Your Apps.
Click Create New App → choose From Scratch.
Give the app a name (e.g., groundcover Alerts) and select your workspace.
Configure Permissions
In the left menu, go to OAuth & Permissions.
Under Scopes (Bot Token Scopes), add at least:
chat:write - allows the app to post messages.
(Optional) chat:write.public – required if the app should post to public channels it isn’t a member of.
Save your changes.
Install the App
In the same menu, scroll up and click Install App to Workspace.
Approve the requested permissions.
After installation, you’ll see an OAuth Tokens for Your Workspace section. Copy the Bot User OAuth Token (it begins with xoxb-). This is the token you’ll use in groundcover to send notifications.
Invite the App to Channels
For the app to post in a channel, it must be a member:
In Slack, open the channel and run:
/invite @[your-app-name]
Next step: Once the app is installed, configure groundcover to use the bot token and channel IDs to send alerts dynamically via Slack’s chat.postMessage API. Create a webhook with the following attributes:
Integration Name: slack-routing-endpoint (it can be any name)
Webhook URL: https://slack.com/api/chat.postMessage
Headers: Key: Authorization, Value: Bearer xoxb-[your-bot-token-from-app]
You are now ready to use your Slack App integration with a workflow
Last updated