Skip to main content

How to Send Leads from Clay to Alsona

Written by Jaclyn Curtis

Clay can send leads straight into an Alsona agent. You add an HTTP API column to your Clay table. Each time it runs, it posts that row to your agent, and the lead appears on the agent's Prospects tab.

Before you start

• A Clay plan with the HTTP API enrichment. It's a paid Clay feature, but Clay's free trial includes it.

• A Clay table of leads with a LinkedIn URL column. The LinkedIn URL is the only required field. First name, last name and a custom field are optional.

• Alsona and Clay open in two browser tabs. You'll copy values from Alsona into Clay as you go.

Step 1: Create an agent that imports from Clay (Alsona)

1. Go to Integrations and make sure the Clay toggle is on.

Alsona Integrations page with the Clay card switched on

2. Go to Agents and click Create Agent.

3. On Connect your integrations, under Import Profiles, select Clay and click Continue.

Connect your integrations step with Clay selected and the Continue button

4. The Clay Integration - REST API Setup window opens. It lists what Clay needs: the Endpoint URL (POST), the Required Headers and a sample POST JSON Body. Keep it open; you'll copy from it in the next steps.

Clay Integration REST API Setup window with Copy, Manage API keys and Copy JSON highlighted

Your endpoint URL is unique to your agent, so it's blurred here.

Step 2: Add an HTTP API column in Clay

1. Open your Clay table of leads. The video uses First Name, Last name, LinkedIn URL and Extra columns.

2. Click Add column, then Add enrichment.

Clay Add column menu with Add enrichment highlighted

3. Search for http and select HTTP API (the enrichment by Clay).

Clay enrichment search showing HTTP API

4. Open the Configure tab. Set Method to POST. Then copy the Endpoint URL from Alsona's setup window and paste it into Endpoint.

HTTP API Configure tab with Method set to POST and the Alsona endpoint pasted

Clay warns that the column doesn't reference any other columns yet. That clears once you map your fields in Step 4.

Step 3: Connect Clay with your Alsona API key

Clay keeps the API key in a saved account, so the key stays secret and out of the column settings.

1. In the column's Account section in Clay, click Add account (visible at the top of the last screenshot).

2. Switch to Alsona and click Manage API keys in the setup window. Enter a name (for example, clay) and pick a permission that includes Clay profile import; the video uses full API access. Click Generate key, then copy the new key with the copy icon.

Alsona API Keys Management page with Generate key and the copy icon highlighted

3. Back in Clay's Add HTTP API (Headers) Account window, name the connection and click Add a new key and value pair. Enter x-api-key as the Key and paste your Alsona API key as the Value. Click Save.

Clay Add HTTP API (Headers) Account window with the x-api-key header; the key value is blurred

4. Clay confirms the account was created and selects it. Scroll down to Headers and add one more pair: key Content-Type, value application/json.

Clay Headers section with Content-Type set to application/json

Step 4: Map your lead fields and run

Only ln_profile_url is required. The video sends four fields:

JSON field

Clay column

Required

ln_profile_url

LinkedIn URL

Yes

first_name

First Name

No

last_name

Last name

No

custom_field_1

Extra

No

1. In Alsona's setup window, click Copy JSON. Paste it into Body in Clay.

2. Delete the fields you won't send. The sample body also accepts full_name, job_title, ln_headline, comp_name, comp_industry_name, comp_location_region, comp_website, email_business and phone_mobile.

3. Replace each sample value with a column: select the value, type / and pick the Clay column.

Typing / in the Body opens a list of Clay columns

When you're done, each value is a column chip:

Body with ln_profile_url, first_name, last_name and custom_field_1 mapped to Clay columns

4. Open the menu on the Save button and choose Save and run for the rows in view.

Clay Save menu with Save and run 1 rows in this view highlighted

5. Check the new HTTP API column. Status Code: 200 means Alsona accepted the lead. Click the cell to see the profile Alsona created, ending in Success: true.

HTTP API column showing Status Code 200 and the Cell details panel ending in Success true

Step 5: Launch the agent and check your prospects (Alsona)

1. In Alsona's setup window, click Got it. Finish the agent's remaining steps (Intent Signals, Pitch & Personality, Outreach & Schedule and Workflow), then launch it.

2. The confirmation screen says your Clay connection is ready. Click View Clay Setup to see the endpoint, headers and body again, or click Go to Agents.

Agent is live screen confirming the Clay connection is ready

3. Open the agent and go to the Prospects tab. Leads sent from Clay are listed there with their mapped fields, such as Custom Field 1.

Agent Prospects tab showing the lead sent from Clay

4. To send more leads, add rows in Clay and run the HTTP API column for them, then refresh Prospects. If a row is missing a mapped value, its cell shows Some inputs missing and won't run until you fill it in.

Clay row with empty fields showing Some inputs missing in the HTTP API column

Did this answer your question?