Workflows

Workflows are reusable, multi-step automations that a Managed Agents session executes on demand or on a schedule. Build them with create_workflow, activate and edit them with update_workflow, trigger them with run_workflow, and inspect run history with get_workflow_runs. The companion Marcora Workflow Builder skill documents authoring patterns (step design, scheduling, deduplication, runner-summary conventions).

Tools

create_workflow

Create a new workflow template. Workflows start as status="draft"; activate them via update_workflow once the user confirms.

get_workflow

Fetch a single workflow's full definition plus its triggers and latest run. Use before updating a workflow to avoid clobbering unknown fields.

get_workflow_runs

Inspect workflow run history. Two modes: list mode (paginated runs for a workflow) or single mode (one run with step logs and tool call logs) controlled by run_id presence.

list_workflows

List workflows for the authenticated user's active team. Supports optional status filter and name search.

run_workflow

Manually dispatch a workflow run. Creates a workflow_run row and dispatches a Managed Agents session. Returns the run row — check .status to know what happened.

update_workflow

Partial update of a workflow template. Only keys present in the input mutate — unspecified keys are preserved. Call get_workflow first to see the current state.

Scroll to Top