smartlead_download_campaign_data
Download campaign data in JSON or CSV format for analytics, leads, sequences, or full exports to track email marketing performance.
Instructions
Download campaign data and track the download for analytics.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
campaign_id | Yes | ID of the campaign to download data for | |
download_type | Yes | Type of data to download | |
format | Yes | Format of the downloaded data | |
user_id | No | Optional user identifier for tracking downloads |
Input Schema (JSON Schema)
{
"properties": {
"campaign_id": {
"description": "ID of the campaign to download data for",
"type": "number"
},
"download_type": {
"description": "Type of data to download",
"enum": [
"analytics",
"leads",
"sequence",
"full_export"
],
"type": "string"
},
"format": {
"description": "Format of the downloaded data",
"enum": [
"json",
"csv"
],
"type": "string"
},
"user_id": {
"description": "Optional user identifier for tracking downloads",
"type": "string"
}
},
"required": [
"campaign_id",
"download_type",
"format"
],
"type": "object"
}