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
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
cancelledruns) - Customize the message format
- Include specific fields from
input_valuesoroutput_data
Customize with AI
Customize with AI
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 = trueto skip sending the message - The payload supports Slack Block Kit syntax for rich formatting
Example transformation code
Example transformation code
This example uses Slack Block Kit to create rich messages with status, timestamps, duration, errors, and a button linking to the run:
Example: Only notify on errors
Example: Only notify on errors
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.