Actions36
- Automation Actions
- Campaign Actions
- Email List Actions
- Subscriber Actions
- Tag Actions
- Transactional Mail Actions
Campaign → Create
AI-generatedSummary
Create a new email campaign in Mailcoach by specifying the target email list UUID, campaign name, and optionally the subject line and other detailed campaign settings.
Inputs
- Email List ID (required) — The UUID of the email list to which the campaign will be sent.
- Name (required) — The name of the campaign.
- Subject — Email subject line for the campaign.
- Additional Fields — Optional fields to customize the campaign such as sender details, template UUID to use, HTML content variations, tracking options (track opens, track clicks), UTM tag inclusion, target segment UUID, and template field key/value pairs.
Output shape
a single JSON object representing the newly created campaign, including its details and unique identifiers as returned by the Mailcoach API.
If 'fields' are provided within additional fields, they are passed as an object mapping keys to values. The operation requires valid Mailcoach API credentials and the endpoint is derived from these credentials.
Examples
Example 1: Create a simple campaign with required fields
Provide 'Email List ID' and 'Name' to create a new campaign with default options.
Example 2: Create a campaign with template and tracking enabled
Provide 'Email List ID', 'Name', 'Subject', and in 'Additional Fields' set 'template_uuid', 'track_opens', 'track_clicks' to customize the campaign content and tracking.