# Clay integration

> Data enrichment and go-to-market platform. Run enrichment routines, search for people and companies, and query Clay tables via the public API.

- Authentication: apiKey

## Tools (10)

- **Create a Filters-Mode Search**: Start a new people or company search from structured filters; returns a search_id to page through.
- **Create Routine Batch Upload URL**: Issue a presigned PUT URL for uploading a JSONL input file used by a batch routine run.
- **Get Routine Batch Run Results**: Fetch the status and result_url for an asynchronous batch routine run; poll until terminal.
- **Get Routine Run Results**: Fetch the status and paginated results for an asynchronous routine run; poll until status is complete.
- **Get the Authenticated User**: Return the Clay user and workspace associated with the API key.
- **List Search Filter Fields**: List the filter fields accepted when creating a filters-mode search for a source type.
- **Query Tables**: Run a structured query across one or more Clay tables; returns records with field metadata, cursor-paginated.
- **Run a Filters-Mode Search**: Return the next page of records for an existing filters-mode search; call while has_more is true.
- **Run a Routine**: Start an asynchronous routine run for up to 100 inline input items; returns a routine_run_id to poll.
- **Start Routine Batch Run**: Start an asynchronous batch routine run over a previously uploaded JSONL file; returns a routine_run_id.

## Related prompts

- [Enrich Typeform demo requests with Clay and route them to HubSpot and Slack](https://www.generalinput.com/prompts/enrich-typeform-demo-requests-with-clay-and-route-them-to-hubspot-and-slack.md)
- [Weekly HubSpot champion job change alerts, powered by Clay](https://www.generalinput.com/prompts/weekly-hubspot-champion-job-change-alerts-powered-by-clay.md)
- [Weekday Clay signal alerts into Instantly outbound at 7am](https://www.generalinput.com/prompts/weekday-clay-signal-alerts-into-instantly-outbound-at-7am.md)
- [Nightly Clay to Smartlead lead sync with a Google Sheets audit log](https://www.generalinput.com/prompts/nightly-clay-to-smartlead-lead-sync-with-a-google-sheets-audit-log.md)

Connect Clay in General Input: https://www.generalinput.com/apps/clay