Generate Email Sequence
generate_sequenceGenerate a personalized cold email sequence for ONE lead.
This is SYNCHRONOUS — the request takes 3-10 minutes because MachFive researches the prospect and crafts unique emails. Do NOT retry if it seems slow; wait for the response.
You must have a campaign_id first. Call list_campaigns if you don't have one. If the request times out, use the returned list_id with get_list_status and export_list to recover results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Lead's full name (improves personalization). | |
| Yes | Lead's email address (REQUIRED). | ||
| title | No | Lead's job title (improves personalization). | |
| company | No | Lead's company name (improves personalization). | |
| list_name | No | Display name for this list in MachFive UI. | |
| campaign_id | Yes | Campaign UUID from list_campaigns. | |
| email_count | No | Number of emails in sequence, 1-5. | |
| linkedin_url | No | LinkedIn profile URL for deeper personalization. | |
| approved_ctas | No | Comma-separated CTAs, e.g. 'Direct Meeting CTA, Lead Magnet CTA'. Omit to use campaign defaults. | |
| campaign_angle | No | Additional context/angle for personalization. | |
| company_website | No | Company URL for AI research. | |
| email_signature | No | Signature appended to each email. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |