- Functions are built and managed in the Clay UI, then run or batch-run programmatically.
- Workflows are in Alpha and can be built, edited, run, inspected, and batch-run from the plugin or CLI.
Function batch runs
Use function batch runs when you have a Clay-managed function or custom function and want to apply it to a list of inputs. CLI function batch runs use JSONL input:upload_url:
file_id:
Workflow batch runs
Use Workflow batch runs when you want the Workflow itself to be built and managed from the plugin or CLI. Workflows are in Alpha. They are useful when you need agent-first building, run inspection, snapshots, code inside the flow, or runs that avoid the 50,000 row limit.Workflows (Alpha)
Learn when to use Workflows.

