Clay logo

Integrate Clay with your AI CRM

Clay is a go-to-market data enrichment and workflow automation platform for searching people and companies, running routines, and querying workspace tables.

Explore Triggers and Actions

Continue Search

Consume one next page from an existing Clay query-mode search. Each call advances Clay's server-side iterator and consumes search quota; call again only while has_more is true.

ActionTry it

Get Credit Balance

Return the current Clay workspace's remaining spendable data credits and, when available, action-execution balance. Free; no charge.

ActionTry it

Get Current User

Return the Clay user and workspace associated with the connected Public API key.

ActionTry it

Get Privacy Delete Status

Check an existing Audiences privacy deletion job in your Clay workspace once, including tracked cascading cleanup. HTTP 202 means queued or in progress; continue polling. HTTP 200 means complete or failed: inspect status, since failed means cleanup may be partial. finished stays 0 until the entire job completes, then equals total; it is not a partial-progress count. Completed and failed job statuses are retained for three days after completion or failure.

ActionTry it

Get Routine Batch Results

Check an existing asynchronous Clay batch routine run once. Returns progress (HTTP 202) or a terminal status (HTTP 200) with a result_url on completion. validation_failed and processing_failed are terminal failure statuses: callers must inspect status and error, since HTTP 200 does not imply batch success. Does not paginate, automatically poll, or download the result file.

ActionTry it

Get Routine Batch Upload URL

Create a presigned upload URL and file ID for a Clay routine batch. The caller must PUT a JSONL file to upload_url with Content-Type application/x-ndjson, then call Start Routine Batch with the returned file_id and the same routine_id. Each JSONL line contains an id and inputs object. Returns the URL without fetching it, uploading data, or starting a run.

ActionTry it

Get Routine Run Results

Check progress or fetch one page of results for an existing inline Clay routine run. Returns progress while processing and an explicit next_cursor when another terminal result page is available.

ActionTry it

Get Search Query Reference

Return Clay's current advanced-search field and grammar reference for composing people or company queries.

ActionTry it

Get Workflow Runs Query Reference

Get Clay's workflow-run query reference (beta) as Markdown. Use its queryable run fields, node predicates, content search, and grammar to author a workflow-run query.

ActionTry it

Privacy Delete People

Queue deletion of people from Clay Audiences for privacy-related requests in the workspace associated with the API key. Matches any of 1–100 email, LinkedIn slug, or phone identifiers. Set dry_run=true to preview the unique matching count, including archived people, without queueing deletion. HTTP 200 returns dry_run or no_matches; HTTP 202 returns in_progress and a deletion job ID. Queued deletion is asynchronous; acceptance does not mean deletion has completed.

ActionTry it

Query Table Rows

Run a structured query across caller-identified Clay workspace tables and return one page of rows, with field metadata when available; tables require Enterprise access. Grouped, aggregate, and custom-ordered queries cannot use cursor pagination and may return truncated results.

ActionTry it

Query Workflow Runs

Search Clay workflow runs using the official beta query API. Select returns one page newest-first with a continuation cursor; count returns the number of matches. Obtain query grammar from GET /workflows/runs/query/reference. Results are eventually consistent: recent runs or status changes may take a few seconds to appear.

ActionTry it

Run Routine

Start a Clay routine for 1-100 items, poll it for a bounded time, and return completed item results or the current run ID and progress. Execution may incur Clay charges and can notify an existing webhook when webhook_id is provided.

ActionTry it

Search People or Companies

Create a Clay query-mode people or company search and consume its first result page. Count-mode and jobs queries are not supported. This advances a stateful search iterator and consumes Clay search quota; use Continue Search only while has_more is true.

ActionTry it

Start Routine Batch

Start an asynchronous Clay routine batch over a previously uploaded JSONL file. First call Get Routine Batch Upload URL and PUT the JSONL file to its upload_url, then pass the returned file_id and the same routine_id here. Optionally notify a registered webhook when the run finishes. Returns an accepted run ID and in_progress status, not completed results. Use Get Routine Batch Results to retrieve the batch output.

ActionTry it

How the Clay integration works

The Clay integration connects your Dench AI CRM directly to Clay, so agents can read and act on your Clay data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

15 actions are available for agents to invoke on your behalf. Every call runs through Clay's own authorization, scoped to the account you connect.

Set up Clay in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Clay and click Connect — you'll authorize access through Clay's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Clay in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Clay integration work with Dench?

The Dench Clay integration connects your AI CRM to Clay, so AI agents can work with your Clay data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Clay via Dench?

The Clay integration currently exposes 15 actions, including Continue Search, Get Credit Balance, Get Current User, Get Privacy Delete Status, Get Routine Batch Results, and Get Routine Batch Upload URL. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Clay to Dench?

No. You connect Clay from your Dench workspace using Clay's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Clay integration secure?

Connections are authorized through Clay's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Clay connection from your workspace settings at any time.

Clay | Dench AI CRM