When to use it
Use it to write a release standard, to walk a new engineer through shipping, or as the reference during a post-incident review. Failed tests return to development and bad metrics after canary or full rollout lead to rollback; those two loops are the safety net.
Make it yours
- Projects without canary capability can delete that node and its decision.
- State who can approve in the release approval node.
- Put the watch period in the Monitor node, such as 30 minutes.
Mermaid code
flowchart TD
A[Merge to main] --> B[Automated build]
B --> C[Automated tests]
C --> D{Tests pass}
D -->|No| E[Fix and resubmit] --> A
D -->|Yes| F[Deploy to staging]
F --> G[Verify on staging]
G --> H[Release approval]
H --> I[Canary rollout]
I --> J{Metrics healthy}
J -->|No| K[Roll back]
J -->|Yes| L[Full rollout]
L --> M[Monitor]
M --> N{Anomaly detected}
N -->|Yes| K
N -->|No| O[Release complete and logged]
K --> P[Review the cause]Ask an AI for one with this structure
Send the prompt below to ChatGPT or Claude, then paste the whole reply into the editor; the code inside is detected automatically.
Draw a software release flowchart with Mermaid flowchart TD syntax. Merge to main, automated build, automated tests; if tests fail, fix and resubmit. If they pass, deploy to staging, verify, get release approval, and start a canary rollout. If metrics are not healthy, roll back; if healthy, do the full rollout and monitor. An anomaly leads to rollback; otherwise the release is complete and logged. After a rollback, review the cause. Use diamonds for decisions and no parentheses in node text. Output only the mermaid code block.
FAQ
- How do I separate what developers, QA and operations do?
Use a swimlane. The library has a software release swimlane template with one lane per role.
- Can I add tool or job names?
Yes. Add a line break in the node, such as
Automated build<br/>pipeline job name.- What about a hotfix?
Copy the chart, remove staging verification and canary, and replace release approval with "Owner approves verbally, ticket filed afterward".
More in this category
User Registration Flowchart Template
E-commerce Order Flowchart Template
Customer Complaint Handling Flowchart Template
Incident Response Flowchart Template
Use case diagram template (library system)
IV infusion nursing procedure flowchart template
Patient admission process flowchart template
Nursing shift handover flowchart template
Clinical pathway management flowchart template
Outpatient clinic visit flowchart template
Purchasing and receiving flowchart template
Warehouse order fulfillment flowchart template
Returns and exchanges flowchart template
Hiring and interview process flowchart template
Employee offboarding process flowchart template
Contract approval process flowchart template
Expense reimbursement process flowchart template
IT help desk ticket process flowchart template
Code review process flowchart template
Content moderation process flowchart template
User growth loop flowchart template
Event planning and execution flowchart template
Supplier qualification process flowchart template
Emergency response plan flowchart template
Updated 2026-11-11