Skip to main content
Routines are the umbrella for programmable Clay logic: enrichment, research, scoring, routing, cleanup, and other repeatable GTM work.
Workflows are in Alpha. They overlap with functions in what they can execute, but differ in how you build and manage them.

How routines are called

Routines can be called from the Clay plugin, CLI, MCP, or direct API integrations.

First pattern

  1. Use Searches to find a list of companies or people.
  2. Use a Clay-managed function to enrich the results.
  3. Send the structured output to your CRM, warehouse, app, or agent.

Run a search, then enrich with a function

See the basic search-plus-function flow.