webhook.endpoint.create-verify-and-replay ​
Create a webhook redirect endpoint, verify delivery settings, replay a test event, and acknowledge the result.
Create a webhook redirect endpoint, verify delivery settings, replay a test event, and acknowledge the result.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-hookredirect |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id. |
organization_uuid | uuid | Yes | — | Organization UUID for tenant isolation. |
actor | string | No | — | User or service actor initiating the workflow. |
idempotency_key | string | No | — | Caller-supplied idempotency key for safe retries. |
dry_run | boolean | No | — | Validate and plan without mutating external resources. |
endpoint_name | string | Yes | — | Webhook endpoint name. |
target_url | string | Yes | — | Webhook target URL. |
secret_ref | string | No | — | Signing secret reference. |
test_event | json | No | — | Test event payload. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Organization uuid. |
workflow_run_uuid | uuid | No | — | Workflow run uuid. |
status | string | No | — | Status. |
summary | json | No | — | Summary. |
resource_refs | json | No | — | Resource refs. |
warnings | list | No | — | Warnings. |
completed_at | string | No | — | Completed at. |
compensation_trigger | string | No | — | Compensation trigger. |
compensation_results | json | No | — | Compensation results. |
hook_create_redirect | json | No | — | Output state_data from DAG step hook_create_redirect. |
hook_receive_webhook | json | No | — | Output state_data from DAG step hook_receive_webhook. |
hook_replay_event | json | No | — | Output state_data from DAG step hook_replay_event. |
hook_acknowledge_event | json | No | — | Output state_data from DAG step hook_acknowledge_event. |
hook_expire_pending_events | json | No | — | Output state_data from DAG step hook_expire_pending_events. |
failure_reason | string | No | — | Failure reason. |
failed_step | json | No | — | Failed step. |
failed_layer | json | No | — | Failed layer. |
failed_at_state | string | No | — | Failed at state. |
error | string | No | — | Error. |
error_type | string | No | — | Error type. |
failed_at | string | No | — | Failed at. |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | 01_hook_create_redirect | hook.create-redirect | — |
| 2 | 02_hook_receive_webhook | hook.receive-webhook | — |
| 3 | 03_hook_replay_event | hook.replay-event | — |
| 4 | 04_hook_acknowledge_event | hook.acknowledge-event | — |
| 5 | 05_hook_expire_pending_events | hook.expire-pending-events | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
hook.create-redirect | hook_create_redirect |
hook.receive-webhook | hook_receive_webhook |
hook.replay-event | hook_replay_event |
hook.acknowledge-event | hook_acknowledge_event |
hook.expire-pending-events | hook_expire_pending_events |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "webhook.endpoint.create-verify-and-replay",
"initial_data": {
"organization_uuid": "value",
"endpoint_name": "value",
"target_url": "value"
}
}