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.
Routine typeBuild and manageRun programmaticallyBatch-run programmatically
Custom functionsClay UIYesYes
WorkflowsPlugin or CLIYesYes

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.
Node typeUse it for
Agent nodesReasoning, drafting, summarizing, classifying, and choosing next steps
Enrich nodesRunning a Clay action such as finding an email or enriching a company
Code nodesDeterministic transformations, filtering, formatting, and custom logic
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.