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
| Ability | mailerpress/update-campaign-status |
| Toolset | MailerPress — toolset/mailerpress |
| Group | MailerPress › Campaigns & Sending |
| Requires | AcrossAI Pro, plus MailerPress active on the site |
| Capability | manage_options |
| Safety | Writes data |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI 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
| Name | Type | Required | What it is |
|---|---|---|---|
id | integer | array | string | Yes | One ID, several, a comma-separated string, or the literal all. |
status | string | Yes | The target status. |
filter_status | string | With all | Narrow to campaigns in this status. |
search | string | With all | Narrow by name. |
What comes back
| Name | Type | What it is |
|---|---|---|
updated | integer | How many campaigns changed status. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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
allwith no filters means every campaign on the site.- Draft and trash transitions handle attached automations rather than leaving them dangling.
- Setting
sendingdoes not start a send. - Idempotent.
Related abilities
- MailerPress Create Campaign Batch — what actually sends
- MailerPress Delete Campaign — permanent removal
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category