Use functions when
Use functions for:- Existing Clay enrichment waterfalls.
- Common jobs handled by Clay-managed functions.
- Team-specific functions that are already trusted.
- Backend jobs and agents that just need to call the logic.
- Batch execution where the function already does what you need.
Use Workflows when
Use Workflows when you want to build and edit outside the Clay UI. Workflows are in Alpha. Use them for:- Agent-built flows in Claude Code, Codex, or Cursor.
- CLI-first iteration, validation, testing, and debugging.
- Multi-step flows that benefit from run inspection and snapshots.
- Flows that need code inside the process.
- Large runs where you want to avoid the 50,000 row limit.
Workflows are in Alpha. For common enrichment and existing reusable logic, start with Clay-managed functions or
custom functions.

