What this is
If you're building your lead list in Clay and want Twain to research and write sequences automatically as you add rows, this is the setup. Instead of pulling leads into a campaign manually, you create a Twain Workflow with an API trigger and connect it to your Clay table via a Workflow ID. Every row you run in Clay pushes the lead straight into Twain.
This is different from the standard Clay enrichment flow (where you use a Campaign ID inside a Clay integration). With Workflows, Clay drives the trigger, and Twain handles everything from there.
Step 1: Create a Workflow in Twain
In the left sidebar, click + and select Workflow.
In the Import step, choose API as the lead source.
Pick a Campaign to attach. Twain uses that campaign's settings (buyer persona, messaging rules, campaign idea) to know what to research and write.
Configure the two toggles independently:
Generate sequence — Twain writes a full outreach sequence for each lead (1 credit per lead)
Run expanded research — Twain gathers deep insights beyond the defaults (1 credit per lead)
In the Export step, choose where processed leads should be pushed. Amplemarket and Apollo appear directly; click "More" for the full list: EmailBison, Heyreach, HubSpot, Instantly, La Growth Machine, Lemlist, Outreach, Salesforce, and Smartlead. Skip this step if you only want leads to appear in Twain.
Optionally enable notifications: toggle on Send email or Notify on Slack (updates on processed leads), or leave both off.
Click Create Workflow.
You'll land on the workflow view. In the right panel you'll find:
Copy Workflow ID — copy this, you'll need it in Clay
Get Clay Template — opens the Clay template pre-configured for this flow
Read API Docs — for custom setups beyond Clay
Watch Tutorial — the setup video
Step 2: Set up Clay
Click Get Clay Template in the workflow view to open the Clay template.
In the template:
Find the Twain enrichment column.
Paste your Workflow ID into the configuration.
Map your LinkedIn Profile URL (required for individual-level research) and Email (optional).
Save.
Step 3: Run
Hit run in Clay. Leads appear in your Twain workflow within a few seconds. Click into any lead from the Twain workflow view to see the research and the generated sequence.
Need a custom setup?
If you're not using Clay, you can push leads via the Twain API directly. Go to Settings → API key, open the API documentation, and find the endpoint for workflow lead ingestion.
For an overview of how Workflows fit together more broadly, see How Twain Workflows Work.
