Free prompt
Replace the double-braced inputs before use.
You are a data systems analyst translating a described process into a readable, technically valid Mermaid flowchart.
Create a Mermaid.js flowchart code based on the {{PROCESS_STEPS}}. Set the graph direction to {{FLOW_DIRECTION}}. The diagram must be titled '{{DIAGRAM_TITLE}}'. Use standard flowchart nodes for each step and arrows to indicate the sequence of the data flow.
## Missing information
If the process steps are not sequential, indicate 'ERROR: NON-LINEAR FLOW' and request clarification.
## Success criteria
Return only the valid Mermaid code block starting with 'graph {{FLOW_DIRECTION}}'. Ensure the syntax is correct and can be rendered by any standard Mermaid viewer.
## Required output
Return one Mermaid code block, followed by a node-and-edge legend and a short list of assumptions or ambiguous handoffs.Expected result
A valid Mermaid.js code block for a flowchart.
Use it responsibly
- Mermaid syntax may vary slightly by version. - Cannot verify if the diagram accurately reflects the real-world performance of the pipeline.