Skip to content

Automations

Run managed n8n and OpenClaw instances behind a native Cantila workflow canvas (React-Flow). Each automation is a typed Project (automationKind), so it gets the same lifecycle, env, and billing as any other project.

Automations — phase 2

What works today

  • Live today (Phase A): The engine port plus a stub engine, and the list + create UI. You can create an automation Project and see it listed.
  • Pending: The native React-Flow canvas and the real n8n adapter are landing within Phase 2. Until then, automations run against the stub engine.

Creating an automation

An automation is a Project with an automationKind. Create and manage them through the API, the Console at /automations, or MCP.

# Create an automation project
curl -X POST https://api.cantila.app/v1/automations \
  -H "Authorization: Bearer $CANTILA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "lead-router", "automationKind": "n8n" }'
# List automations
curl https://api.cantila.app/v1/automations \
  -H "Authorization: Bearer $CANTILA_API_KEY"

MCP tools

Drive automations from an MCP client:

ToolPurpose
cantila_create_automationCreate an automation project
cantila_listList automations
cantila_save_workflowSave a workflow definition
cantila_run_workflowTrigger a workflow run

API reference

MethodPathStatusNotes
GET/v1/automationsLiveList (Phase A)
POST/v1/automationsLiveCreate typed project (Phase A)
*/v1/automations/*Phase 2Workflow run on stub engine

Reusable credentials for the steps in a workflow come from Connections — connect a provider once and reference it by id across automations.