How can we help? 👋

How to Start a Workflow from Clay

Clay HTTP API integration

You can kickstart a workflow that can DM, InMail, connect, like, comment programmatically.

API Documentation

Creating workflow in Letterdrop

In your Letterdrop workflow, choose External Lead as the source node.

Click on the source node.

On the right side, select API under Source Type

There is only one required field that is the LinkedIn profile of the lead you want to act on. You can alternatively provide email and we’ll do a reverse lookup to find their LinkedIn (this only works 60% of the time as a heads up and check that we’ve given you enough enrichment credits in your plan for this to work)

You can add additional fields if you want to pass in more variables by clicking Add Field.

Copy the API Endpoint and API key below. You’ll enter this later

Notion image

Setting up HTTP requests in Clay

In your Clay table, click on Add column → Add enrichment →Select HTTP API

Notion image
 

Fill in API details

Method: POST

Endpoint: https://api.letterdrop.com/api/v1/workflows/{workflow_id} (copy this from your Letterdrop workflow. You can remove the API key at the end by removing the ?apiKey=... bit)

Remove empty values: true (toggled on)

Body:

{
	"lead": <LinkedIn URL of lead>
}

In the body, use the field names you defined in the workflow above

Headers:

api-key: <copied from above>

 
Notion image
 

Activate and Test

Now save your Letterdrop workflow and activate it by clicking on the Play button

Notion image
 

In Clay, save your request and run it for one row as a test

Check that it’s processed in Letterdrop. It might take up to an hour for it to appear in Letterdrop depending on the leads backlog since we need to enrich the lead first.

You can check by clicking on View Workflow Logs in your Letterdrop workflow

Notion image
Notion image