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

Start free trial

MailerPress Create Workflow

mailerpress/create-workflow creates a MailerPress workflow atomically from an automation and nodes payload.

Discover the valid keys first: mailerpress/list-workflow-triggers, mailerpress/list-workflow-actions and mailerpress/list-workflow-conditions between them describe the whole vocabulary a workflow can be composed from, and it is extensible per site.

At a glance

Abilitymailerpress/create-workflow
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Workflows
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

Node wiring uses step_id string handles with next_step_id and alternative_step_id pointers. CONDITION nodes carry settings.branches for multi-way splits.

Atomically matters here: a workflow is a graph, and a partially created graph is a broken automation rather than an incomplete one. Either the whole thing is written or none of it is.

Non-template workflows with any non-TRIGGER step require MailerPress Pro. A free install can hold a trigger and not much else.

The wiring is where authoring errors concentrate. A next_step_id pointing at a handle that does not exist produces a workflow that runs into a dead end, and MailerPress does not validate the graph on save.

So a workflow that saves cleanly can still be unreachable past its second node.

A created workflow starts in DRAFT unless told otherwise, which is correct — an automation that begins running the moment it is written is not something to do by accident.

Not idempotent.

Input

NameTypeRequiredWhat it is
automationobjectYesThe workflow metadata.
nodesarrayYesThe step tree, wired with step_id handles and pointers.

What comes back

NameTypeWhat it is
workflowobjectThe created workflow with its node tree.
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 an automation that tags new subscribers.

It resolves to one call:

{
  "ability": "mailerpress/create-workflow",
  "parameters": {
    "automation": { "name": "Tag new subscribers" },
    "nodes": []
  }
}

Worth knowing

  • Atomic — a partial graph would be a broken automation.
  • The graph is not validated on save; a dangling pointer saves cleanly.
  • Non-trigger steps need Pro.
  • Starts as a draft.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading