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

Start free trial

MailerPress Update Campaign Status

mailerpress/update-campaign-status transitions one or many campaigns to a new status: draft, scheduled, sending, sent, paused, cancelled or trash.

id accepts a single integer, an array, a comma-separated string, or the literal all.

At a glance

Abilitymailerpress/update-campaign-status
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Campaigns & Sending
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

“all” is a real option

With all, optional filter_status and search parameters narrow the scope. Without them it is every campaign on the site.

That is powerful and blunt in equal measure: trashing every campaign is one call, and the parameter that does it is the same one that transitions a single campaign.

So the filters are not optional in practice when using all.

Moving a campaign to draft or trash triggers automation restoration and cleanup — a campaign attached to a workflow is handled rather than left dangling, which is why this ability exists rather than a direct status write.

Transitioning to sending does not start a send. mailerpress/create-campaign-batch does that, and the status follows the batch rather than driving it.

Idempotent.

Input

NameTypeRequiredWhat it is
idinteger | array | stringYesOne ID, several, a comma-separated string, or the literal all.
statusstringYesThe target status.
filter_statusstringWith allNarrow to campaigns in this status.
searchstringWith allNarrow by name.

What comes back

NameTypeWhat it is
updatedintegerHow many campaigns changed status.
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:

Move those draft campaigns to trash.

It resolves to one call:

{
  "ability": "mailerpress/update-campaign-status",
  "parameters": {
    "id": "12,13,14",
    "status": "trash"
  }
}

Worth knowing

  • all with no filters means every campaign on the site.
  • Draft and trash transitions handle attached automations rather than leaving them dangling.
  • Setting sending does not start a send.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading