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

Start free trial

MailerPress Get Workflow

mailerpress/get-workflow fetches one workflow by ID, including its automation metadata and its full node tree.

Two normalisations happen on the way out.

At a glance

Abilitymailerpress/get-workflow
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Workflows
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

Node type is normalised to uppercase — TRIGGER, ACTION, CONDITION and the rest — because MailerPress stores them inconsistently and a caller comparing case-sensitively gets the wrong answer on some nodes.

Node position metadata is extracted from settings and surfaced at the top level, where it belongs. Canvas position is presentation rather than configuration, and burying it inside the settings blob means anything editing settings has to preserve it carefully.

The node tree is what mailerpress/update-workflow replaces wholesale, so this read is the required first half of any structural edit: fetch, mutate, send back.

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.

For a single-node change, mailerpress/update-workflow-step edits in place and avoids the whole fetch-mutate-replace cycle — which matters because a full replace has side effects a single-step edit does not.

Input

NameTypeRequiredWhat it is
idintegerYesThe workflow.

What comes back

NameTypeWhat it is
workflowobjectAutomation metadata and the full 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:

Show me how that automation is wired.

It resolves to one call:

{
  "ability": "mailerpress/get-workflow",
  "parameters": {
    "id": 21
  }
}

Worth knowing

  • Node types are uppercased, because MailerPress stores them inconsistently.
  • Canvas position is lifted out of settings so editing settings cannot lose it.
  • This is the required first half of a structural edit.
  • Single-node changes have a narrower ability.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading