Slack

Adding notification integrations requires admin privileges in groundcover

Method #1 - Slack WebHook

Setting Up a Slack Webhook

To send notifications to Slack, follow these steps to generate a webhook URL for your workspace:

  1. Go to Slack Webhook Page: Visit https://my.slack.com/services/new/incoming-webhook to create a new incoming webhook, Make sure you select the correct workspace in the top right corner.

  2. Select a Channel: Once you're on the page, select the Slack channel where you want the notifications to be sent. You can also create a new channel by clicking the “create a new channel”.

  3. Create the Webhook: Click Add Incoming Webhook Integration. A webhook URL will be generated.

  4. Copy the Webhook URL: After the webhook is created, copy the webhook URL. This URL will be used to configure your groundcover workflow.

Configuring Slack Webhook in groundcover

Once you have the Slack webhook URL, you can configure it in your workflow to send notifications.

Go to settings page, and then go to the integrations page.

Click on the “Slack Webhook” card:

In the window, fill in the name and the URL you’ve created, the name will be used later when setting up workflows:

Workflow Example

You can see detailed workflow examples to use with your integration, here.

Method #2 - Slack App with Bot Tokens

Adding a Slack App depends on your workspace’s approval settings. In some workspaces, any member can install apps, while in others only admins or owners can approve them. If approval is required, you’ll see a “Request to install” button and the request must be approved before the app is added.

Adding the Slack App Integration

Create a Slack App

  1. Click Create New App → choose From Scratch.

  2. Give the app a name (e.g., groundcover Alerts) and select your workspace.

Configure Permissions

  1. In the left menu, go to OAuth & Permissions.

  2. Under Scopes (Bot Token Scopes), add at least:

    1. chat:write - allows the app to post messages.

    2. (Optional) chat:write.public – required if the app should post to public channels it isn’t a member of.

  3. Save your changes.

Install the App

  1. In the same menu, scroll up and click Install App to Workspace.

  2. Approve the requested permissions.

  3. 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:

You are now ready to use your Slack App integration with a workflow

Last updated