Developers

Import & export

Export workflows as portable JSON (secrets stripped), and import MadMax templates or n8n workflow exports — unmapped n8n nodes degrade gracefully.

Workflows are portable JSON documents.

Export

Canvas menu (⋮) → Export downloads <workflow-name>.madmax.json — the graph in the madmax/v1 template format. Connection bindings, webhook ids, and anything workspace-local are stripped: secrets never travel in an export, so the file is safe to commit, share, or attach to a ticket. The same document comes from GET /api/v1/workflows/:id/export.

Import

On the workflows index, the New workflow modal takes a file (or pasted JSON): a MadMax template or an n8n workflow export, up to 5 MB.

The import dropzone on the new-workflow modal Drop a .madmax.json or an n8n export — the importer figures out which.

Importing a MadMax template recreates the graph; you re-bind connections (the AI's auto-wire rules apply) and re-verify.

n8n imports

An n8n export is translated, and the translation never fails:

  • Nodes with a MadMax equivalent map directly — HTTP request, if/switch (cases become ports), loops (batches become iterate/done), set, code, and the trigger types.
  • Nodes without an equivalent arrive as clearly-annotated placeholder steps that pass data through unchanged — the shape of your workflow survives even where the pieces don't.
  • The import report lists everything that needs attention, and the placeholders seed a ready-made prompt: ask Max to finish the build, and it replaces placeholders with real MadMax steps.

Sticky notes and n8n-specific AI sub-nodes are dropped (noted in the report).