Auto
The `hanzo auto` commands.
Also for this capability: API · CLI · SDKs
Workflows that run themselves, on a schedule or a webhook.
hanzo auto runs listEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
connectors
| Command | What it does |
|---|---|
hanzo auto connectors list | Connectors returns the connector catalogue. |
hanzo auto connectors run <id> | Run executes one connector action in-process and answers the outcome. |
flows
| Command | What it does |
|---|---|
hanzo auto flows create | Creates an automation and its initial DRAFT version in one call. |
hanzo auto flows disable <id> | Disarms a flow's trigger and marks it DISABLED. |
hanzo auto flows enable <id> | Arms a flow's trigger and marks it ENABLED. |
hanzo auto flows get <id> | Returns one automation and its latest version. |
hanzo auto flows list | Returns the caller org's automations, most-recently-updated first. |
hanzo auto flows operations <id> | Edit a flow — rename it, retarget its trigger, or add, move and delete steps |
hanzo auto flows rm <id> | Deletes one automation, its versions and its run history. |
hanzo auto flows run <id> | Starts one durable run of a flow now. |
hanzo auto flows update <id> | Updates one automation's metadata in place. |
hanzo auto flows versions create <id> | Adds a new DRAFT version to a flow. |
hanzo auto flows versions get <id> | Returns one flow's versions, newest first. |
hooks
| Command | What it does |
|---|---|
hanzo auto hooks source add <source> <event> | Fire an event that starts every enabled flow subscribed to it |
runs
| Command | What it does |
|---|---|
hanzo auto runs get <id> | Returns one run. |
hanzo auto runs list | Returns the caller org's run history, newest first. |
hanzo auto runs resume <id> | Release a run waiting at an approval step, with the approval payload |
How is this guide?