Skip to main content
Workflows are an Alpha routine type for building Clay logic from the plugin and CLI.
Workflows are in Alpha. They are earlier than Clay-managed functions and custom functions. Expect the surface to evolve.

How Workflows differ from functions

Functions and Workflows can both run Clay logic programmatically. The difference is where you build the logic.

Why use Workflows

  • Build and edit directly from Claude Code, Codex, Cursor, or the CLI.
  • Avoid the 50,000 row limit.
  • Write code inside the flow.
  • Start from prompts, CSVs, webhooks, Audiences, or existing Clay tables.
  • Validate, run, inspect, debug, and restore snapshots programmatically.

What a Workflow contains

Workflows start from a trigger, then run connected nodes. Triggers can come from a CSV, webhook, Audience, Clay table, manual test run, or another configured source.

What agents can do

With the Clay plugin, agents can read and edit Workflows, validate the graph, run test actions, start runs, inspect failed steps, pause or resume runs, and restore snapshots.

Build a Workflow (Alpha)

Walk through the agent-first Workflow path.