Knock · Arazzo Workflow
Knock Identify User, Set Preferences, and Trigger Workflow
Version 1.0.0
Identify a recipient, apply their notification preferences, then trigger a workflow for them.
View Spec
View on GitHub
NotificationsMessagingInfrastructureWorkflowsCross-ChannelEmailSMSPushIn-AppChatSlackWebhooksMCPAI AgentsDeveloper PlatformArazzoWorkflows
Provider
Workflows
identify-user-set-preferences-trigger-workflow
Identify a user, set their preference set, and trigger a workflow.
Upserts the user, replaces their preference set with the supplied preferences, and triggers the named workflow for that single recipient.
1
identifyUser
identifyUser
Create or update the user record with the supplied identification properties so the recipient exists before preferences are written.
2
setPreferences
updateUserPreferenceSet
Write the complete preference set for the identified user, replacing any existing preferences with the supplied channel types and workflow opt-ins.
3
triggerWorkflow
{$sourceDescriptions.knockWorkflowsApi.url}#/paths/~1v1~1workflows~1{key}~1trigger/post
Trigger the named workflow for the identified recipient. Returns a workflow_run_id that can be used to track the resulting messages.
Source API Descriptions
openapi