Skip to content
SHREVI
Download Shrevix

Hooks

Hooks are local rules attached to named points in an agent or workflow run. They make automation visible: what matched, what action ran, and whether it was allowed to affect the pipeline.

The Hooks page showing agent and workflow pipeline stages The Hooks page showing agent and workflow pipeline stages
Hooks are grouped by the stage where they fire.

The page separates Agent run and Workflow run stages. Add a hook beside the stage it should observe, then provide a matcher and action.

  • Observe records or notifies without changing the run.
  • Block stops a matching action.
  • Rewrite changes the matching payload before the next stage.

Powerful hooks are labelled clearly and included in the page’s compact stats. Disable a hook without deleting it when you need to test the pipeline without the rule.

The fire log records recent matches, results, and failures. Use it to debug a rule before widening its matcher or giving it block/rewrite power.