Skip to content
Proud to collaborate with Microsoft for Startups

hook.replay-event ​

Re-deliver a stored webhook event to DevKit

Re-deliver a stored webhook event to DevKit without re-validating HMAC.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-hookredirect
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—DAG-stamped parent run id
event_uuidstringYes—UUID of the WebhookEvent to replay
organization_uuiduuidNo—Organization UUID supplied by Workflow API context

Output Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—DAG-stamped parent run id
event_uuidstringNo—UUID of the WebhookEvent to replay
organization_uuiduuidNo—Organization UUID supplied by Workflow API context
methodstringNo——
headersjsonNo——
bodystringNo——
query_paramsjsonNo——
content_typestringNo——
signed_uuidstringNo——
redirect_uuidstringNo——
replay_workflow_uuidstringNo——
replayedbooleanNo——
failure_reasonstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
error_messagestringNo——
successbooleanNo——
failed_atstringNo——
failure_typestringNo——
retried_fromstringNo——
retry_countintegerNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
validatingYesNo—validate—
loading_eventNoNo—load_event—
spawning_receiveNoNo—spawn_receive—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
validatingvalidateloading_event—
loading_eventload_eventspawning_receive—
spawning_receivespawn_receivecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
replayedSUCCESSReplay receive workflow was startedreplay_workflow_uuid
failedFAILUREReplay failedfailure_reason

Business Errors ​

CodeMessage Template
HOOK_REDIRECT_WORKFLOW_ERRORHook redirect workflow failed

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "hook.replay-event",
  "initial_data": {
    "event_uuid": "value"
  }
}