add_leads_to_campaign
Add new leads to marketing campaigns using LinkedIn profiles or email addresses with optional custom fields for enhanced targeting.
Instructions
Add a new lead to a selected campaign
Either profileUrl or email is required. All other fields can be provided in custom_fields.
Args: campaign_id: The ID of the campaign to add the lead to profile_url: LinkedIn profile URL of the lead (required if email not provided) email: Email address of the lead (required if profile_url not provided) custom_fields: Additional custom fields for the lead (e.g., {"first_name": "John", "company": "Acme"})
Returns: Created lead information
Example: add_leads_to_campaign( campaign_id="12345", email="lead@example.com", custom_fields={"first_name": "John", "company": "Acme Corp"} )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| profile_url | No | ||
| No | |||
| custom_fields | No |