smartlead_bulk_import_leads
Import multiple leads with contact details into a campaign simultaneously to streamline email marketing list management.
Instructions
Import multiple leads into a campaign at once.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
campaign_id | Yes | ID of the campaign to add the leads to | |
leads | Yes | Array of leads to import |
Input Schema (JSON Schema)
{
"properties": {
"campaign_id": {
"description": "ID of the campaign to add the leads to",
"type": "number"
},
"leads": {
"description": "Array of leads to import",
"items": {
"properties": {
"company": {
"description": "Company of the lead",
"type": "string"
},
"custom_fields": {
"description": "Custom fields for the lead",
"type": "object"
},
"email": {
"description": "Email address of the lead",
"type": "string"
},
"first_name": {
"description": "First name of the lead",
"type": "string"
},
"last_name": {
"description": "Last name of the lead",
"type": "string"
},
"phone": {
"description": "Phone number of the lead",
"type": "string"
},
"title": {
"description": "Job title of the lead",
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"campaign_id",
"leads"
],
"type": "object"
}