send_campaign
Send a campaign immediately to all targeted recipients. Emails begin delivering within minutes. Requires a campaign in draft status with content set.
Instructions
Send a campaign immediately to all targeted recipients. Emails begin delivering within minutes.
Use for immediate delivery. The campaign must have content set via set_campaign_content and be in 'save' (draft) status. Use schedule_campaign instead to send at a future time. Use send_test_email first to preview the email before sending to real recipients. Once sent, emails cannot be recalled.
Args: campaign_id: The campaign ID to send (e.g. 'abc123def4'). Must be in 'save' status with content set. Obtain from create_campaign or list_campaigns(status='save').
Returns: JSON with fields: status ("sent"), campaign_id. Returns error if the campaign has no content, is already sent, or is in schedule status (use unschedule_campaign first).
Example: send_campaign(campaign_id="abc123") -> {"status": "sent", "campaign_id": "abc123"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| campaign_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |