Triggering workflows

Learn more about how to trigger cross-channel notification workflows in Knock.

Knock executes workflow runs when workflows are triggered. A workflow can be triggered in these ways:

💡
Note: Recipients can opt out of notifications through preferences. Knock handles all preference-based opt-outs automatically. Learn more about [preference management](/preferences/overview).

Conditionally executing a workflow trigger

A trigger step can have one or more step conditions that determine if the workflow executes. When conditions evaluate to false, the workflow terminates and no other steps execute.

Controlling workflow trigger frequency

Sometimes you need to limit how often a recipient runs through a workflow. For example, you might want an account signup workflow to run only once per recipient. Workflow trigger frequency controls this behavior.

Trigger frequency lets you set if a workflow should run every time or at most once per recipient. By default, workflows trigger every time for a recipient.

When you specify "Once per recipient" frequency, you can include the tenant in this control. This ensures your workflow triggers once per-recipient, per-tenant.

Frequently asked questions