Knock · Arazzo Workflow
Knock Cancellable Workflow Trigger
Version 1.0.0
Identify a recipient, trigger a cancellable workflow, then cancel it by key.
View Spec
View on GitHub
NotificationsMessagingInfrastructureWorkflowsCross-ChannelEmailSMSPushIn-AppChatSlackWebhooksMCPAI AgentsDeveloper PlatformArazzoWorkflows
Provider
Workflows
cancellable-workflow-trigger
Trigger a workflow with a cancellation key and then cancel it.
Identifies the recipient, triggers a delayed workflow tagged with a cancellation key, and cancels the queued run for that key and recipient.
1
identifyUser
identifyUser
Upsert the recipient so the workflow has a valid user to target.
2
triggerWorkflow
{$sourceDescriptions.knockWorkflowsApi.url}#/paths/~1v1~1workflows~1{key}~1trigger/post
Trigger the workflow for the recipient with a cancellation key so the queued run can be cancelled before it sends.
3
cancelWorkflow
cancelWorkflow
Cancel any queued runs for the workflow key and cancellation key, scoped to the single recipient. A 204 indicates the cancellation was accepted.
Source API Descriptions
openapi