Actions144
- Campaign Actions
- Lead Actions
- Email Account Actions
- Campaign Webhook Actions
- Global Webhook Actions
- Master Inbox Actions
- Get Inbox Replies
- Get Sent Emails
- Get Assigned to Me
- Get Unread Replies
- Get Important Emails
- Get Snoozed Emails
- Get Scheduled Emails
- Get Reminder Emails
- Get Archived Emails
- Get Custom View Emails
- Get Inbox Item by ID
- Get Untracked Replies
- Reply to Email
- Forward Email
- Change Read Status
- Update Lead Category
- Update Lead Revenue
- Assign Team Member
- Create Lead Task
- Create Lead Note
- Block Email Domains
- Resume Paused Lead
- Set Lead Reminder
- Push Lead to Subsequence
- Campaign Analytics Actions
- Global Analytics Actions
- Get Overall Analytics
- Get Campaign List
- Get Client List
- Get Month-Wise Client Count
- Get Day-Wise Overall Stats
- Get Day-Wise Stats by Sent Time
- Get Day-Wise Positive Reply Stats
- Get Positive Reply Stats by Sent Time
- Get Campaign Performance
- Get Client Overall Stats
- Get Email Health Metrics
- Get Domain Health Metrics
- Get Mailbox Health Metrics
- Get Team Board Stats
- Get Lead Statistics
- Get Lead Category-Wise Response
- Get Leads Take for First Reply
- Get Follow-up Reply Rate
- Get Lead to Reply Time
- Get Campaign Response Stats
- Get Campaign Status Stats
- Smart Delivery Actions
- Get Provider IDs
- Create Manual Placement Test
- Create Automated Placement Test
- Get Spam Test Details
- Delete Tests in Bulk
- Stop Automated Test
- List All Tests
- Provider-Wise Report
- Geo-Wise Report
- Sender Account Report
- Spam Filter Report
- Get DKIM Details
- Get SPF Details
- Get rDNS Report
- Get Sender Account List
- Get IP Blacklist Check
- Get Domain Blacklist
- Get Test Email Content
- Get IP Blacklist Count
- Get Email Reply Headers
- Get Schedule History
- Get IP Details
- Get Mailbox Summary
- Get Mailbox Count
- Get All Folders
- Create Folder
- Get Folder by ID
- Delete Folder
- Client Actions
- Utility Actions
Lead → Add to Campaign
AI-generatedSummary
Add leads to a campaign
Inputs
- campaignId (required) — Identifier of the target campaign.
- requestBody — JSON payload containing the leads to add; defaults to an empty object.
- requestOptions — Additional request configuration such as batching, proxy, timeout, and SSL verification.
Output shape
object
The response body from the SmartLead API, typically confirming the addition and returning any relevant details; errors are propagated as n8n errors.
Examples
Example 1: Add a single lead to a campaign with minimal configuration
'campaignId': '12345', 'requestBody': { 'leads': [{ 'email': 'test@example.com' }] }'
Example 2: Add multiple leads in batches of 50 using request options
'campaignId': '12345', 'requestBody': { 'leads': [{ 'email': 'a@example.com' }, { 'email': 'b@example.com' }] }, 'requestOptions': { 'batching': { 'batchSize': 50 } }'
Example 3: Add leads through a corporate HTTP proxy with custom timeout
'campaignId': '12345', 'requestBody': { 'leads': [{ 'email': 'user@example.com' }] }, 'requestOptions': { 'proxy': 'http://proxy.example.com:3128', 'timeout': 15000 }'