Skip to main content
We support receiving alerts for the following events:
  • Run fails
  • Deployment fails
  • Deployment succeeds

How to setup alerts

1

Create a new alert

Click on “Alerts” in the left hand side menu, then click on “New alert” to open the new alert modal.Email alerts
2

Choose your alert method

Choose to be notified by email, Slack notification or webhook whenever:
  • a run fails
  • a deployment fails
  • a deployment succeeds Email alerts
3

Delete or disable alerts

Click on the triple dot menu on the right side of the table row and select “Disable” or “Delete”.Disable and delete alerts

Alert webhooks

For the alert webhooks you can use the SDK to parse them. Here is an example of how to parse the webhook payload in Remix:

Common properties

When you create a webhook alert, you’ll receive different payloads depending on the type of alert. All webhooks share some common properties:
string
A unique identifier for this webhook event
datetime
When this webhook event was created
string
The version of the webhook payload format
string
The type of alert webhook. One of: alert.run.failed, alert.deployment.success, or alert.deployment.failed

Run Failed Alert

This webhook is sent when a run fails. The payload is available on the object property:
string
Unique identifier for the task
string
File path where the task is defined
string
Name of the exported task function
string
Version of the task
string
Version of the SDK used
string
Version of the CLI used
string
Unique identifier for the run
number
Run number
string
Current status of the run
datetime
When the run was created
datetime
When the run started executing
datetime
When the run finished executing
boolean
Whether this is a test run
string
Idempotency key for the run
string[]
Associated tags
object
Error information
boolean
Whether the run was an out-of-memory error
string
Machine preset used for the run
string
URL to view the run in the dashboard
string
Environment ID
string
Environment type (STAGING or PRODUCTION)
string
Environment slug
string
Organization ID
string
Organization slug
string
Organization name
string
Project ID
string
Project reference
string
Project slug
string
Project name

Deployment Success Alert

This webhook is sent when a deployment succeeds. The payload is available on the object property:
string
Deployment ID
string
Deployment status
string
Deployment version
string
Short code identifier
datetime
When the deployment completed
array
Array of deployed tasks with properties: id, filePath, exportName, and triggerSource
string
Environment ID
string
Environment type (STAGING or PRODUCTION)
string
Environment slug
string
Organization ID
string
Organization slug
string
Organization name
string
Project ID
string
Project reference
string
Project slug
string
Project name

Deployment Failed Alert

This webhook is sent when a deployment fails. The payload is available on the object property:
string
Deployment ID
string
Deployment status
string
Deployment version
string
Short code identifier
datetime
When the deployment failed
string
Error name
string
Error message
string
Error stack trace (optional)
string
Standard error output (optional)
string
Environment ID
string
Environment type (STAGING or PRODUCTION)
string
Environment slug
string
Organization ID
string
Organization slug
string
Organization name
string
Project ID
string
Project reference
string
Project slug
string
Project name