Knock · Arazzo Workflow
Knock Trigger Workflow and Track Recipient Run
Version 1.0.0
Trigger a workflow and poll its per-recipient run until it completes.
View Spec
View on GitHub
NotificationsMessagingInfrastructureWorkflowsCross-ChannelEmailSMSPushIn-AppChatSlackWebhooksMCPAI AgentsDeveloper PlatformArazzoWorkflows
Provider
Workflows
trigger-workflow-track-recipient-run
Trigger a workflow then poll the recipient run to completion.
Triggers the named workflow for a single recipient, resolves the recipient run id for that workflow, and polls the run detail until it is completed or cancelled.
1
triggerWorkflow
{$sourceDescriptions.knockWorkflowsApi.url}#/paths/~1v1~1workflows~1{key}~1trigger/post
Trigger the named workflow for the supplied recipient and capture the returned workflow_run_id.
2
listRecipientRuns
listWorkflowRecipientRuns
List recipient runs for the triggered workflow and recipient to resolve the per-recipient run id created by the trigger.
3
pollRecipientRun
getWorkflowRecipientRun
Fetch the recipient run detail and check whether it has reached a terminal status. Re-runs this step while the run is still queued or processing.