# Connect Clay with Open Flow

Source: https://openflow.run/en/integrations/clay/

[All integrations](https://openflow.run/en/integrations/)

Turn a defined search or existing routine into a usable research table.

*   [12 actions](https://openflow.run/en/integrations/clay/#integration-actions)
*   API key
*   Marketing
*   Data & analytics

[Connect Clay](https://console.openflow.run/connections/clay)

20,000 free app calls per month (paid services billed separately)

## What you can do

Search people and company data through Clay’s query tools, run existing routines on supplied items or a batch file, and retrieve results. Table and workflow-run queries also support inspection of existing workspace data.

### People and company search

Create a query-based search and retrieve successive results.

### Existing routines

Run routines on items or JSONL batch files and inspect results.

### Workspace queries

Read table data (Enterprise capability) and workflow-run records with supplied queries.

## All actions

12 actions

### Run Routine Batch

Download a JSONL file, upload it to Clay, and start an asynchronous batch routine. Each line must contain id and inputs. The routine may perform arbitrary downstream mutations. Connector transfer limit: 2 GiB, five minutes each for download and upload; JSONL validation is performed by Clay.

`clay.run_routine_batch`

### Get Routine Batch Results

Get batch progress, a result download URL, or validation/processing failure details. Download result\_url separately after completion and inspect individual item outcomes; results are not loaded into the action response.

`clay.get_routine_batch_results`

### Get Me

Get the Clay user and workspace associated with the API key.

`clay.get_me`

### Get Credit Balance

Get workspace credit balances without consuming credits.

`clay.get_credit_balance`

### Get Search Query Reference

Get the current Clay search query grammar and fields before creating a search.

`clay.get_search_query_reference`

### Create Search

Create a stateful company or people search from a Clay query. Count-mode and jobs queries are unsupported.

`clay.create_search`

### Get Search Results

Fetch the next page and advance a Clay search iterator. Do not retry blindly: each call advances the iterator.

`clay.get_search_results`

### Run Routine

Run a configured Clay routine on 1–100 items asynchronously. The routine may perform arbitrary downstream mutations; inspect its definition before running.

`clay.run_routine`

### Get Routine Results

Get routine progress or one page of completed results. Follow cursor until absent and check each item's status.

`clay.get_routine_results`

### Query Tables

Query known Clay tables on Enterprise plans. Concurrent updates can repeat rows; deduplicate by ID. Custom ordering and aggregation do not support cursor pagination.

`clay.query_tables`

### Get Workflow Run Query Reference

Get the workflow-run query grammar and supported fields (beta).

`clay.get_workflow_run_query_reference`

### Query Workflow Runs

Search or count workflow runs (beta). Results are eventually consistent; recently changed runs may be stale or absent.

`clay.query_workflow_runs`

No actions match your search.

## Connect Clay with Open Flow

[Connect Clay](https://console.openflow.run/connections/clay)

20,000 free app calls per month (paid services billed separately)
