30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Create Campaign

mailerpress/create-campaign creates a new MailerPress campaign. It starts in draft status.

Only title is required.

At a glance

Abilitymailerpress/create-campaign
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Campaigns & Sending
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

How it works

campaign_type chooses the kind: newsletter, automated, wp_email, wc_email or confirm_email.

That choice is structural rather than cosmetic. An automated campaign is what a workflow sends; the transactional kinds are what MailerPress Pro attaches to WordPress and WooCommerce email types; a newsletter is the ordinary broadcast.

Rich content goes under meta.json as a block tree and meta.emailConfig as the subject and email type.

A campaign created with a block tree and no compiled HTML sends nothing. mailerpress/save-campaign-content is where the compiled artifact is written, and mailerpress/check-campaign-send-readiness is how you confirm it exists.

Not idempotent — each call creates a campaign.

Input

NameTypeRequiredWhat it is
titlestringYesThe campaign name, shown to administrators.
campaign_typestringNonewsletter, automated, wp_email, wc_email or confirm_email.
metaobjectNoRich content: json for the block tree, emailConfig for subject and email type.

What comes back

NameTypeWhat it is
campaignobjectThe created campaign.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Create a newsletter campaign for the product update.

It resolves to one call:

{
  "ability": "mailerpress/create-campaign",
  "parameters": {
    "title": "September product update",
    "campaign_type": "newsletter"
  }
}

Worth knowing

  • The type is structural — an automated campaign is what a workflow sends.
  • A block tree without compiled HTML sends nothing.
  • Starts as a draft, which is correct.
  • Not idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading