Skip to main content

Overview

Cyberdesk has a native integration with Slack. When enabled, you’ll receive Slack messages whenever a run completes, showing:
  • Run status (success, error, or cancelled)
  • Date and time information
  • A direct link to the run in the Cyberdesk dashboard
  • Key run details
This is a great way to stay informed about your automation runs without constantly checking the dashboard.

Setup

Prerequisite: You must first enable webhooks for your organization. See the Webhooks Quickstart to get started.
1

Open the Webhooks tab

Go to the Webhooks tab in the Cyberdesk dashboard.
2

Add a new endpoint

Click ”+ Add Endpoint” to create a new webhook endpoint.
3

Select Slack as the destination

In the “New Endpoint” page, click the “Webhook” dropdown (with a down chevron) and select “Slack”.
4

Connect to Slack

Click “Connect to Slack”. This will redirect you to Slack where you can select which Slack workspace and channel you’d like to receive messages. Once you’re done, click “Allow”, and you’ll be brought back to Cyberdesk.
5

Customize the transformation (optional)

You can edit the transformation code to customize how messages appear in Slack. The transformation has access to all fields in the run (webhook.payload.run), so you can:
  • Filter to only send messages for certain statuses (e.g., skip cancelled runs)
  • Customize the message format
  • Include specific fields from input_values or output_data
The transformation supports Slack Block Kit syntax, giving you full control over message formatting with headers, sections, buttons, and more.
Copy the example transformation code below and paste it into ChatGPT, Claude, or another LLM along with your request. For example:
“Modify this code to only send Slack messages for errored and cancelled runs, and include the workflow_id in the title.”
Give the LLM this context:
  • The run object is accessed via webhook.payload.run
  • Available fields: id, workflow_id, session_id, status (success, error, cancelled), error (array of strings), input_values, output_data, created_at, started_at, ended_at, release_session_after
  • Set webhook.cancel = true to skip sending the message
  • The payload supports Slack Block Kit syntax for rich formatting
This example uses Slack Block Kit to create rich messages with status, timestamps, duration, errors, and a button linking to the run:
To only receive Slack messages when runs fail, use this transformation. It creates a rich error alert with all error details, timing information, and a direct link to investigate:
6

Create the integration

Click “Create” to complete the configuration.

You’re done!

You will now receive Slack messages whenever a run completes. The messages include a direct link to view the full run details in the Cyberdesk dashboard.
You can create multiple Slack integrations pointing to different channels — for example, one channel for production runs and another for development.