Skip to main content
Plan requirement: This feature requires an On-call Standard or higher subscription. Learn more
Use a Zadig v5 webhook to sync workflow task executions to Flashduty On-call. Each workflow execution becomes one Flashduty change: created when the execution starts, updated as its status changes, and closed with its final status. Zadig offers two webhooks with the same payload:
  • System hook: configured once at system level by an administrator, applies to every workflow, and sends one delivery when a task starts and one when it completes. Recommended
  • Workflow webhook notification: added to a single workflow, and sends a delivery for each workflow status you select

In Flashduty On-call

  1. In the Flashduty console, go to Integration Center → Change Events
  2. Select Zadig and enter an integration name
  3. To assign changes to specific channels, add rules under the integration’s Routes that match labels such as project or workflow
  4. Click Save and copy the generated Push URL

Configure zadig

Option 1: System hook

1

Open the system hook

A system administrator goes to System Settings → System Configuration → System Hook (the labels are 系统设置 → 系统配置 → 系统钩子 in the Chinese UI).
2

Enter the push URL and trigger events

  1. Turn on the system hook
  2. Hook address: paste the full Flashduty push URL
  3. Secret Token: leave empty. Flashduty authenticates with the integration_key in the push URL and does not check X-Zadig-Token
  4. Trigger events: select both start of execution and completion of execution
3

Run a workflow

Run a workflow once and the change appears in the Flashduty change list.

Option 2: Workflow webhook notification

Edit the workflow and add a notification of type Webhook. Set the webhook address to the Flashduty push URL and select the workflow statuses to sync (for example succeeded, failed, canceled, timed out). A delivery is sent only when one of the selected statuses occurs, so unselected statuses do not appear on the change. Configuring both options does not create duplicate changes: one task records a given status only once.

How changes are merged

Retry restarts the same task with the same task id. So a retry reopens the original change: its status returns to Ready and then updates again.

Status mapping

The system hook sends only created (start of execution) and the end statuses (passed, failed, timeout, cancelled). Intermediate statuses such as waiting for manual execution can only come from a workflow webhook notification. These deliveries return success and create no change:
  • Release plan deliveries (object_kind is release_plan). A release plan sends only when planning finishes, execution starts, and all jobs are done. It sends nothing on cancel, rejection, or timeout, so its change could stay open forever. Workflow tasks started by a release plan are still recorded, with a release_plan label
  • Test, code scan, and delivery version tasks (task_type is test, scan, or delivery)
  • Deliveries with any other object_kind

Change content

Labels are available for routing and for filtering the change list:

FAQ

Yes. Zadig’s delivery does not say whether a workflow contains deploy jobs, so every workflow task is recorded. Use the integration’s Routes to match the workflow label for the workflows you care about.
The system hook does not send intermediate statuses. To get them, add a Webhook notification to the workflow and select the matching notification events.
Zadig only logs a failed delivery and does not retry it. Flashduty deduplicates by change time and status, so a repeated delivery of the same status is recorded once.
  • … is missing or invalid …: the payload is incomplete or a field is malformed. Confirm it comes from a native Zadig webhook
  • unsupported … or unknown …: Flashduty does not support this task status yet. Contact us