Portable workflows, triggers, and schedules. Pack them into a JSON envelope, share them between companies, and automate anything.
01Overview
The portable workflow system lets you export any workflow — including its trigger and schedule configuration — as a self-contained JSON file. Import it into any company to instantly replicate automations.
Workflow → Export → JSON file → Import → New Company
02The mw_schema Envelope
Every exported artifact is wrapped in a versioned envelope. The schema version allows forward-compatible parsing.
JSON
mw_schemastringrequired
Schema version. Currently "2.0".
exported_atstringoptional
ISO 8601 timestamp of when the export was created.
typestringrequired
"workflow" or "trigger".
payloadobjectrequired
The exported content. Structure depends on type.
03What Can Be Imported / Exported
Not everything is portable. Here is what travels with the JSON file and what stays behind.
Object
Export
Import
Notes
Workflow
YES
YES
Full step definitions, brief, settings
Trigger Config
YES
YES
Type, mode, config (once/continuous)
Schedule Config
YES
YES
Cron expression, timing, saved workflow ref
Mini Assignments
YES
WARN
Imported by miniId — must exist in target
Tool Assignments
NO
NO
Per-company, not portable
Credentials
NO
NO
Security — never exported
Chat History
NO
NO
Too large, privacy concerns
Contacts
NO
NO
Per-company, use CSV import instead
04Workflow Spec
Every field in the workflow payload, documented with types and defaults.
titlestringrequired
Display name for the workflow. Shown in the UI and used for identification.
briefstringrequired
What the workflow does. Passed to the AI agent as context for execution.
stepsarrayrequired
Array of step objects. Each step assigns a task to a Mini.
miniIdstring — Agent ID (e.g. "ops", "marketing"). Must exist in the target company.
taskstring — What this step should do. Natural language instruction.
requireHumanApprovalbooleanoptionaldefault: true
Gate before final action. When true, workflow pauses for human review before executing.
pauseBetweenStepsbooleanoptionaldefault: false
Pause execution between each step for review.
autoApprovebooleanoptionaldefault: false
Skip human review entirely. Use with caution.
initiatedBystringoptional
Origin of the workflow: "user", "trigger", or "schedule".
triggerobjectoptionaldefault: null
Trigger configuration. When present, the workflow listens for external events.