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

Start free trial

MailerPress Delete Workflow

mailerpress/delete-workflow destructively deletes a workflow along with its steps and associated A/B tests. It requires confirm_name matching the workflow’s current name.

The in-flight contacts are the consequence people do not picture.

Before you run it

The workflow, its steps and its A/B tests all go. Contacts currently in flight through the automation lose whatever was coming next, mid-sequence — somebody two emails into a five-email onboarding sequence simply stops receiving it. Disabling with mailerpress/update-workflow-status stops new entries while letting in-flight contacts finish.

At a glance

Abilitymailerpress/delete-workflow
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Workflows
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyDestructive — deletes the workflow, its steps and its A/B tests. Requires confirm_name.
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

A workflow with active jobs has contacts partway through it. Deleting the workflow ends their sequence wherever they happen to be, which on an onboarding automation means somebody receives two of five emails and nothing more.

mailerpress/get-workflow-stats reports the active job count, which is how many people that is.

Disabling is the alternative and behaves differently in exactly the useful way: it stops new contacts entering while letting those already inside finish.

The A/B test results go too, which on a workflow that has been running a test for weeks is the result of that test discarded.

The name guard is checked live, so a stale name fails rather than deleting a workflow renamed since your read.

Idempotent.

Input

NameTypeRequiredWhat it is
idintegerYesThe workflow.
confirm_namestringYesMust match the workflow’s current name.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
deletedbooleanWhether the workflow was removed.
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:

Delete that old automation.

It resolves to one call:

{
  "ability": "mailerpress/delete-workflow",
  "parameters": {
    "id": 21,
    "confirm_name": "Onboarding sequence",
    "confirm": true
  }
}

Worth knowing

  • In-flight contacts stop mid-sequence.
  • Disabling lets them finish and stops new entries.
  • A/B test results are discarded with it.
  • The name is checked live.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading