Workflow write commands are now available, but full support for the Workflow API is still evolving. Endpoints are in alpha and are subject to change.
workflows command lets you list, inspect, create, and update workflows and their nodes in your Loops account.
list
List workflows.
--pick to filter the list interactively with fzf and copy the selected workflow ID to your clipboard. Requires fzf to be installed and on your PATH.
Flags
get
Get a workflow by ID. Returns workflow metadata and a summary table of its nodes. For full node configuration, use workflows nodes get.
Optimistic concurrency
Workflow write commands that modify an existing workflow accept an--expected-revision-id flag to guard against overwriting concurrent changes. Pass the revision ID from a prior workflows get; if the workflow has changed since then, the request is rejected with a conflict.
create
Create a workflow.
Flags
update
Update a workflow’s name and/or description.
Flags
change-mailing-list
Change a workflow’s mailing list.
--dry-run.
Flags
nodes get
Get full details for a single workflow node. See Get workflow node for the full response schema.
--output json.
nodes create
Create a workflow node.
--insert-mode between with --from-node-id and --to-node-id to insert a node between two existing nodes, or --insert-mode before with --before-node-id to insert ahead of a node.
Flags
nodes update
Update a workflow node.
typeName field identifying the node type:
Flags
nodes delete
Delete a workflow node.
--dry-run.

