---
title: Set up Clay
description: Build a Clay table, find and enrich people, and push each row to your Distrosauce webhook as a lead.
canonical: https://distrosauce.com/docs/integrations/clay
last_updated: 2026-11-15
---

# Set up Clay

This page walks through setting up Clay to find prospects, enrich them and send them to Distrosauce as leads for email and LinkedIn outreach.

What the connection does: [Distrosauce + Clay](https://distrosauce.com/integrations/clay). The fields and responses are in the [webhook payload reference](https://distrosauce.com/docs/reference/webhook-payload).

## Before you start

- A Clay account.
- At least one active targeting thesis in Distrosauce.
- Your Clay webhook URL, from the **Clay Webhook** card on **Settings > Webhooks**.
- Your **Clay Webhook Secret**, from **Webhook Secrets** on **Settings > Integrations**.
- Your thesis slugs, from **Settings > Targeting Theses**.

## Key ideas

- The thesis slug is the `signal_type`. Every row Clay sends includes a `signal_type`. It must match one of your active thesis slugs exactly, or the webhook refuses the row.
- One Clay table per thesis. Each thesis has its own search criteria, so each gets its own table. All tables send to the same Clay webhook URL with the same secret: the `signal_type` tells Distrosauce which thesis applies.
- Companies first, then people. For a thesis about a technology a company uses, find and filter the companies first, then find people at them. This saves Clay credits.

## Part 1: Build your company list

How you build the list depends on your thesis.

### Option A: companies that use a technology

If your thesis targets companies that use a particular kind of tool:

- Import a pre-filtered list. The cheapest path is a technology-detection tool that lets you search for websites using a technology and export the results. Filter by size, geography or industry, export to CSV with at least the domain column (company name, location, employee count and revenue help), then in Clay create a new workbook and import the CSV as your source.
- Find companies by tech stack in Clay. In your workbook, choose "+ Add", search for a source that finds companies by tech stack, enter the technology, add your ICP filters (size, geography) and run it.
- Check an existing list with BuiltWith in Clay. If you already have a company list, add a BuiltWith "Find Technology Stack" enrichment column, enter the technology in the keyword filter, run it, add a formula column that flags matches and filter to the matches.

> **Note:** An enrichment that checks every company charges Clay credits for every row, whether or not the technology is found. A pre-filtered import is usually much cheaper.

### Option B: business events

If your thesis is about an event rather than a technology:

1. In your Clay workbook, choose "+ Add".
2. Search for the signal: "Job Change" for new executive or new hire theses, "Funding" for theses about a recent raise, "New Hires" for team growth theses.
3. Set the signal's filters to match your thesis.
4. Set how often it runs. Daily suits time-sensitive signals.
5. Results flow into the table on their own.

### Option C: a direct people search

If your thesis needs no technology or event:

1. In your Clay workbook, choose "+ Add".
2. Open the "Sources" tab (not "Enrichments").
3. Search for "Find People", select it, set your criteria and import.

You already have people, so skip to [Step 2 of Part 2](#step-2-enrich-with-a-work-email).

## Part 2: Find people at your companies

### Step 1: Find people

1. In the table with your company list, choose "+ Add" and open the "Sources" tab.
2. Search for "Find People" and select it.
3. In the companies section, choose "Table of companies", point it at your company table and use the domain column as the company identifier. It is more reliable than the company name.
4. Set the job title filters:
   - Seniority: the levels your personas cover, for example C-suite, VP, Director, Head, Manager.
   - Job title keywords: the titles your personas target, for example "Head of Operations, operations manager, revenue operations" (an example).
   - Job titles to exclude: titles you do not want, for example Founder, Intern, Assistant.
   - Leave job functions empty. It can filter out good matches.
5. Under location, filter to your target geography.
6. Set the limit per company: 1 for one contact per company, 2 to reach more than one persona at the same company.
7. Keep the overall limit small for the first test, for example 50. You can raise it later.
8. Preview the results, then choose "Save to new table". This is your people table.

### Step 2: Enrich with a work email

1. On the import screen, Clay suggests enrichments. Choose its work email enrichment, an email-finding enrichment that tries several providers in turn.
2. Skip the other suggested enrichments, such as person summaries. Distrosauce researches each lead itself.
3. Import and let the email enrichment finish before you judge the results. Not every person has a findable work email.

People without an email can still be reached on LinkedIn if they have a LinkedIn profile URL and you send LinkedIn outreach through HeyReach.

## Part 3: Prepare two columns

### Column 1: signal_type

1. Add a column and choose "Formula".
2. Enter your thesis slug as a fixed string, for example `"new_team_lead"` (an example slug).
3. Name the column `signal_type` and save.

The value must match an active thesis slug on **Settings > Targeting Theses** exactly.

### Column 2: email_payload

Clay's HTTP API will not send a row when a column it references is blank, and some people have no work email. Add a formula that is never blank:

1. Add a column and choose "Formula".
2. Enter `IF(ISBLANK({{Work Email}}), "none", {{Work Email}})`.
3. Name the column `email_payload` and save.

Rows with an email send the email. Rows without one send `none`, which Distrosauce treats as no email: the person becomes a LinkedIn-only lead when the row has a LinkedIn URL.

## Part 4: Set up the webhook

### Step 1: Add the HTTP API enrichment

Choose "+ Add enrichment" (or the "Enrichments" tab on an existing table), search for "HTTP API" and select it.

### Step 2: Add the headers

Choose "+ Add account" at the top, give it a name you will recognize, and add two headers:

```text
Content-Type: application/json
x-webhook-secret: {your Clay Webhook Secret}
```

### Step 3: Set the method and endpoint

Set the method to POST and paste your Clay webhook URL into the endpoint:

```text
https://distrosauce.com/api/webhooks/clay/{your-workspace-slug}
```

Copy the exact URL from **Settings > Webhooks**.

### Step 4: Build the JSON body

In the body, type `/` to pick a column. Clay inserts it as a pill. In the example below, each `/Column Name` stands for a column pill:

```json
{
  "first_name": "/First Name",
  "last_name": "/Last Name",
  "email": "/email_payload",
  "title": "/Job Title",
  "linkedin_url": "/LinkedIn URL",
  "company_name": "/Company Name",
  "company_domain": "/domain",
  "signal_type": "/signal_type",
  "signal_details": {
    "details": "Your signal description here"
  }
}
```

> **Important:** Wrap every column pill in double quotes. Clay puts in the raw value, so without the quotes the JSON is invalid. Type `"` before the pill and `"` after it.

Column notes:

- Use `email_payload`, your formula column, not the work email column itself.
- Use `signal_type`, your formula column.
- For `company_name`, use whichever column holds the company name, from "Find People" or from your imported list.
- For `company_domain`, use the domain column from your company source.
- For `linkedin_url`, use the LinkedIn profile column from "Find People".
- For `signal_details`, write a fixed description of the signal, or reference a column with richer context.

Every other field you can send is in the [webhook payload reference](https://distrosauce.com/docs/reference/webhook-payload).

### Step 5: Run settings

1. Turn auto-run off for now, so you can test first.
2. Turn on "Remove empty values", so empty fields are left out instead of sent blank.
3. Save the enrichment.

## Part 5: Test

Test with people who have an email first:

1. Select two or three rows that have a work email.
2. Run the HTTP API column on just those rows.
3. In Clay, a 200 response means Distrosauce accepted the row.
4. In Distrosauce, open **Leads**. The leads appear and move through `researching` to `generated`.
5. Check the lead data: name, title, company, thesis and LinkedIn URL.

Then test a LinkedIn-only lead:

1. Select a row with no work email (`email_payload` shows `none`).
2. Run the HTTP API column on that row.
3. In Distrosauce, the lead appears as a LinkedIn-only lead, with a LinkedIn connection note and no email sequence. A note is written only when the thesis has a **LinkedIn Prompt Block**.

## Part 6: Run at scale

Once the test works:

1. Select all rows, or filter to the ones you want to send.
2. Run the HTTP API column on them.
3. Leads move through research and writing on their own.
4. Review and approve them in Distrosauce. Approved outreach goes to Instantly for email and HeyReach for LinkedIn.

### Turn on auto-run (optional)

For tables that keep finding new people:

Open the HTTP API column's settings and turn on auto-update in its run settings. Optionally add a run condition so only rows with the required data are sent:

```text
NOT(ISBLANK({{First Name}})) AND NOT(ISBLANK({{signal_type}}))
```

New rows added to the table are then sent to Distrosauce on their own.

### Add more people from the same search

Open the "Find People" source column again, raise the limit and run it. Clay adds new results without removing the existing ones. Run the HTTP API column on the new rows, or let auto-run do it.

## More than one thesis

Give each thesis its own Clay table. All of them use the same Clay webhook URL and secret. For example, with made-up theses:

| Clay table | Source | `signal_type` | Company filter |
|---|---|---|---|
| New Team Lead | "Job Change" signal (Director and above, recent) | `new_team_lead` | ICP match |
| Hiring Surge | "New Hires" signal | `hiring_surge` | ICP match |
| CRM Switch Window | Imported list of companies using a CRM tool | `crm_switch_window` | Uses a CRM tool, 50 to 500 employees |

## Saving Clay credits

- Companies before people: Filter your company list to ICP matches before running "Find People". Every people search costs credits.
- Import pre-filtered lists from a technology-detection tool instead of detecting the technology row by row in Clay.
- Start small: Test with a small batch before a large one, and fix payload problems there.
- Put the cheapest providers first in an email enrichment that tries several providers.
- Skip enrichments Distrosauce does itself: Distrosauce researches each lead, so you do not need to pay Clay for company or person background.
- Use run conditions on enrichments to skip rows that are missing the inputs they need.

## Troubleshooting

### Invalid signal_type

The webhook answers with a message that starts `Invalid signal_type "..."` and lists your active thesis slugs. The `signal_type` value does not match any active thesis slug. Check the exact slugs on **Settings > Targeting Theses**: they are case-sensitive.

### Invalid webhook URL or secret

The address or the `x-webhook-secret` header does not match. Check that the workspace slug at the end of the endpoint URL is your own, and compare the header on Clay's HTTP API account with the **Clay Webhook Secret** on **Settings > Integrations**.

### At least one contact method required

The row has no email and no LinkedIn URL. Check that your `email_payload` formula and LinkedIn URL columns are filled in.

### "Failed to parse body" in Clay

The JSON is malformed. Common causes are a missing pair of quotes around a column pill, an extra comma or a missing comma between fields. Paste the body into a JSON validator to find the problem.

### "Some inputs missing" in Clay because the work email is blank

You are referencing the work email column directly. Switch to the `email_payload` formula column, which sends `none` instead of a blank. See [Part 3](#part-3-prepare-two-columns).

### The lead shows waiting (setup) or error

Open the lead to see the reason. `waiting (setup)` means the workspace setup is not finished, for example no Anthropic key, company profile or active persona; the lead continues on its own once it is. For `error`, the lead page shows the error message.

### The same person sent twice

A second signal for a person who already has a lead is added to that lead instead of creating a duplicate.
