Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Campaign → Create
AI-generatedSummary
Create a new campaign in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- campaignName (required) — Name of the campaign
- listId (required) — ID of the list to send the campaign to
- senderName (required) — Name that appears in the 'From' field when recipients receive the email.
- senderEmail (required) — Email address that appears in the 'From' field. Must be verified in your Cakemail account.
- subject (required) — Email subject line that recipients will see in their inbox.
- htmlContent — HTML content of the email. Use standard HTML tags and inline CSS for styling.
- textContent — Plain text version for email clients that don't support HTML.
- previewText — Preview text (preheader) shown next to the subject line in email clients.
Output shape
no body — success/failure only
Returns success or failure status for creating the campaign.