Hanzo AI

Auto

The `hanzo auto` commands.

Also for this capability: API · CLI · SDKs

Workflows that run themselves, on a schedule or a webhook.

API reference →

hanzo auto runs list

Every 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

CommandWhat it does
hanzo auto connectors listConnectors returns the connector catalogue.
hanzo auto connectors run <id>Run executes one connector action in-process and answers the outcome.

flows

CommandWhat it does
hanzo auto flows createCreates 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 listReturns 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

CommandWhat it does
hanzo auto hooks source add <source> <event>Fire an event that starts every enabled flow subscribed to it

runs

CommandWhat it does
hanzo auto runs get <id>Returns one run.
hanzo auto runs listReturns 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?

On this page