create_workflow
Create compliance workflows from YAML to establish workflow IDs, automate governance processes, and generate visual audit diagrams.
Instructions
Create a new workflow using YAML definition. Always display the workflow diagram. Before creation confirm workflow name and creation with the user before executing this tool. Later use 'modify_workflow' tool to update states, activities, conditions, and transitions.
yaml struct:
metadata: name: description: summary: mermaidDiagram:
This function creates a workflow from a YAML specification.
Create workflow (establishes the ID) Update summary (document what we're building) Update mermaid diagram (visualize the flow) Then modify workflow (implement the actual logic)
Args: workflow_yaml: YAML string defining the workflow structure
Returns: Success message with workflow ID or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_yaml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |