Tool to create a new email campaign (draft) with specified type, content, and targeting. Use when you need to create a campaign programmatically with email settings and optional audience targeting via groups or segments. HTML content support is also plan-dependent; insufficient…
nameRequiredstringCampaign name (max 255 characters). Used for internal identification.
typeRequiredstringCampaign type: 'regular' for standard campaigns, 'ab' for A/B tests, 'resend' for resend campaigns, 'multivariate' for multivariate tests. Note: Availability depends on your MailerLite plan.
emailsRequiredarrayArray of email configurations. Must contain at least one email object with subject, from_name, and from address. Optional `reply_to` field must be a verified sender address or omitted; unverified addresses return a 422 validation error.
groupsarrayArray of group IDs to target with this campaign. If both groups and segments are provided, segments take precedence.
segmentsarrayArray of segment IDs to target with this campaign. Takes precedence over groups if both are provided.
settingsobjectOptional campaign configuration settings.
language_idintegerLanguage ID for the campaign. Defaults to English if not specified.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.