# Workflow tools (/cli/resource/workflow)



The workflow-only tools, on top of the shared [`geni resource`](/cli/resource) lifecycle (create, validate, config, publish, pull). These apply to code and agent workflows, which run in the cloud on a trigger. Apps use [`geni app`](/cli/resource/app) instead.

* [`geni workflow set-type`](/cli/resource/workflow/set-type) — switch a workflow between code and agent.
* [`geni workflow test`](/cli/resource/workflow/test) — run a cloud test execution and wait for the result.
* [`geni workflow trigger-sample`](/cli/resource/workflow/trigger-sample) — fetch a live sample payload from a poll trigger.
* [`geni workflow stage-input`](/cli/resource/workflow/stage-input) — upload a local file as a file-type test input.
* [`geni workflow executions`](/cli/resource/workflow/executions) — list a workflow's recent executions.
* [`geni workflow execution`](/cli/resource/workflow/execution) — inspect one execution's status, output, and logs.

See [Building workflows](/cli/resource/code) for the code and agent contracts.
