Import Workflow
import_workflowImport a WorkflowSchema into a new draft, returning its workflow ID and any issues. Handle unregistered reference kinds gracefully by reporting problems instead of rejecting the entire import.
Instructions
Read a WorkflowSchema document into a NEW draft and return its workflow_id, plus any issues found. Import is lenient on purpose: a document referencing a kind this host has not registered still imports, with the problem reported — refusing would lose the other forty nodes to fix one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the imported draft. | |
| workflow | Yes | A WorkflowSchema document, as export_workflow emits. | |
| workflow_id | No | Optional explicit id for the new draft. |