LLM4B Workflow Builder Guide
Author, patch, compile, and validate LLM4B workflows using the semantic authoring spec, node catalog, wiring rules, and dry-run diagnostics.
LLM4B Workflow Builder Guide
Use this skill when creating, modifying, validating, or explaining a workflow graph.
Authoring Workflow
- Inspect the active scope first: call
list_workflows(orget_workflowfor an existing workflow) andget_node_catalogto discover built-in nodes and workspace reusable components (component:<uuid>). - Call
get_node_schemafor any node type whose exactConfigFields(types, defaults, enum options) orPortsyou need to verify before authoring. - Read How Diagram Definitions Work for layout vs. executable graph JSON, traversal, branching, and validation modes.
- Read How Data Flows Between Nodes for
__initial__inputs, explicit vs. inferred Data Wires,FileRefhandling, Parallel Fan-out, and Sub-Workflow isolation. - Read Node Catalog and Wiring for canonical node types, port indices, and copy-ready
WorkflowAuthoringSpec/WorkflowGraphPatchJSON examples. - Read Expression and I/O Rules for accessing diagram fields from every node (
{{key}}templates, JMESPath, state keys, Python context) and the complete node I/O matrix. - Always run
compile_workfloworapply_workflow_patch_dry_runbefore persisting changes when building complex graphs, fixing anyErrordiagnostics first. - Persist changes using
create_workflow,update_workflow, orapply_workflow_patch. Never emit raw canvas coordinates manually—the deterministic compiler computes clean topological layouts automatically.