For the complete documentation index, see llms.txt. This page is also available as Markdown.

Slack

Learn how to integrate Slack with Couchdrop

Overview

Slack is a messaging platform used by teams to communicate and coordinate work through channels and direct messages.

Couchdrop integrates with Slack to send workflow notifications and Transfer Shield approval requests to selected channels. This keeps operational updates and approval tasks visible to the teams responsible for them.

How Slack works with Couchdrop

Slack is configured in Couchdrop as an integration and platform connection. The connection uses a Slack bot to retrieve available channels and send messages.

Couchdrop uses the Slack integration in three places:

  • Custom Notification action: Add a Slack notification to any branch of an Automation Workflow, including conditional paths and failure-handling paths. You can select the destination channel, write a custom message, and insert workflow variables into the message.

  • Workflow success and failure notifications: Send a Slack notification when the entire workflow completes successfully or fails.

  • Transfer Shield approvals: Send approval requests to a Slack channel when a Transfer Shield policy or rule group triggers an approval. Couchdrop can send these requests through Slack as well as email.

Set up the Slack integration

Before you start

1

Create the Slack app

  1. Open Slack API: Your Apps.

  2. Click Create New App.

  3. Select From a manifest.

  4. Choose the Slack workspace where Couchdrop should send messages.

  5. Paste the following manifest:

  1. Review the configuration, then click Create.

  2. Install the app in your workspace.

  3. When Slack requests authorization, click Allow.

  4. Click Go to App Settings.

2

Copy the bot token

  1. Open OAuth & Permissions in the Slack app settings.

  2. Find Bot User OAuth Token.

  3. Copy the token. It begins with xoxb-, for example:

3

Connect Slack to Couchdrop

  1. Open the Admin Panel.

  2. Go to Integrations > Platforms.

  3. Click Add connection.

  4. Find and select Slack.

  5. Paste the Bot User OAuth Token into the token field.

  6. Fetch the available Slack channels.

  7. Save and test the connection.

The Slack integration is ready when Couchdrop successfully retrieves the channels and passes the connection test.

Frequently asked questions

Why does a Slack channel not appear in Couchdrop?

Refresh the channel list in the Slack connection. For a private channel, add the Couchdrop bot to the channel first, then fetch the channels again. Slack limits an app’s access to private conversations where the app is a member.

Can I send notifications from different branches of the same workflow?

Yes. Add a Custom Notification action to each branch that requires an alert. This includes conditional branches and failure-handling paths. Each action can use a different channel and message.

Can a workflow send both a custom notification and a completion notification?

Yes. Custom notifications run at their configured position in the workflow. Success and failure notifications report the final result of the entire workflow.

Configuring both may produce more than one Slack message during a single execution. Use distinct messages so recipients can tell a branch notification from the final workflow result.

Which variables can I include in a custom Slack message?

Custom messages support Couchdrop workflow variables. These can insert execution details such as filenames, paths, users, timestamps, and event information. See Automation Workflow variables for the available values.

Do Transfer Shield Slack approvals replace email approvals?

No. Transfer Shield can send an approval request to a Slack channel as well as by email. Configure the methods that suit your approval process.

What should I do if the Slack token changes or stops working?

Copy the current Bot User OAuth Token from the Slack app’s OAuth & Permissions page, update the Slack connection in Couchdrop, then fetch the channels and test the connection again.

Slack may issue a new token when an app is reinstalled. A revoked token can no longer authorize the connection. Learn about reinstalling Slack apps.

Can I connect more than one Slack workspace?

Yes. Install the Couchdrop app in each Slack workspace and create a separate Couchdrop connection using that workspace’s Bot User OAuth Token. Slack tokens apply to the workspace where the app was installed.

Last updated

Was this helpful?