In Flashduty On-call
- In the Flashduty console, go to Integration Center → Change Events
- Select env0 and enter an integration name
- To assign changes to specific channels, configure rules in the integration’s Routing based on labels such as
projectorenvironment - Click Save and copy the generated Push URL
In env0
1
Add a webhook notification target
This needs organization admin permission. Go to Organization Settings → Notifications and click Add Notification Target:
- Name: any name, unique within the organization
- Type: select Webhook
- URL: paste the full Push URL of the Flashduty integration (env0 requires HTTPS)
- Secret: leave empty. Flashduty authenticates with the
integration_keyin the Push URL and does not checkx-env0-signature
2
Select events in a project
This needs project admin permission. Go to Project Settings → Notifications, click the edit icon next to the notification target and select:
- Deployment started, Deployment waiting for user, Deployment resumed, Deployment cancelled
- Deploy succeeded, Deploy failed
- To record destroys as well, Destroy started, Destroy resumed, Destroy succeeded, Destroy failed
What one change is
The key is not the environment ID: one environment has many runs, each with its own deployment log.
Status mapping
Done, Failed and Canceled are end states; Flashduty records the change’s end time.
These deliveries return success and create no change:
com.env0.webhook.test, com.env0.pr_plan.failed, com.env0.environment.*, com.env0.drift.*, com.env0.budget.exceeded, and any other event type that is not a deploy or destroy run.
Change content
Labels are available for routing and for filtering the change list:
FAQ
Does a repeated delivery create a duplicate record?
Does a repeated delivery create a duplicate record?
No. Flashduty uses the time carried by the env0 event, so the same event at the same time is recorded once; an older state that arrives late does not overwrite a finished change.
Why is there no Planned status for my environment?
Why is there no Planned status for my environment?
Planned appears only when env0 sends
deployment.waiting_for_user (the run waits for approval). A run that needs no approval goes from Processing straight to Done, Failed or Canceled.A delivery returns an InvalidParameter error?
A delivery returns an InvalidParameter error?
unsupported type: a deployment-family event Flashduty does not support yet arrived. Select only the events listed above, or contact usdata.deploymentLog.id is missing: the body is incomplete; make sure it comes from a native env0 webhook notification target