Create a workflow diagram specification for [PROCESS NAME]. The process starts when [TRIGGER] and ends when [END CONDITION]. These are the known steps, systems, roles, policies, timing expectations, and pain points: [PROCESS NOTES]. The people or teams involved are [ROLES AND OWNERS]. The diagram will be used by [DIAGRAM AUDIENCE]. First, identify missing decisions, ownership conflicts, undefined handoffs, and timing gaps. Do not fill gaps with invented procedures. Then produce: 1. A short scope statement defining what is inside and outside this workflow. 2. A diagram-ready flow in Mermaid flowchart syntax. Use swimlane-style subgraphs by owner where it improves readability. Show a single start and end, numbered activity nodes, decision diamonds with explicit yes/no labels, system-of-record steps, approvals, waits or service-level targets, and rework loops. 3. A plain-language step table with step number, owner, action, required input, output or system update, target timing, and escalation path. 4. An exceptions section for at least the failure cases supported by my notes, including who decides and where the process returns. 5. A handoff checklist naming what must be complete before each team passes work onward. Use verb-first activity labels such as “Validate request” rather than vague labels such as “Review.” Keep each diagram node to one action. If two actions have different owners, split them. Treat an approval as a decision with an accountable approver, not as a generic box. Before answering, trace the happy path from trigger to end condition and verify that every decision branch reconnects, ends, or escalates. Verify that every step has one accountable owner and that any stated timeline has a clock start. Ask up to 3 clarifying questions only if a required input is missing.
Fill in
| Placeholder | What to enter | Example |
|---|---|---|
| [PROCESS NAME] | Enter the name of the process to map. | Marketing webinar request intake |
| [TRIGGER] | Enter the event that begins the process. | A product manager submits the webinar request form |
| [END CONDITION] | Enter the observable result that closes the process. | The event is published or the requester receives a documented rejection |
| [PROCESS NOTES] | Paste current steps, policies, tools, timing expectations, and known problems. | Requests need a six-week lead time. Marketing Ops checks the form in Asana within two business days. Demand Gen approves dates and audience. Legal reviews customer logos. Events creates the registration page in HubSpot. |
| [ROLES AND OWNERS] | List each role or team involved and its known responsibilities. | Product manager: request details; Marketing Ops: intake; Demand Gen lead: approval; Legal: logo review; Events manager: production and publishing. |
| [DIAGRAM AUDIENCE] | Describe who will use the diagram and the level of detail they need. | product and marketing teams onboarding to the request process |
How to use
- Paste the current process notes, including the messy parts and exceptions people currently handle informally.
- Name one accountable owner per action; list consultation roles separately if they do not act in the flow.
- Render the Mermaid code in your diagram tool and test both the normal route and every decision branch.
- Follow up with: “Convert the step table into a RACI and flag activities with no accountable owner.”
Variations
SOP from workflow
Use this after the flow is agreed and you need operating instructions.
Turn this approved workflow into a standard operating procedure: [WORKFLOW]. The audience is [AUDIENCE], and the systems used are [SYSTEMS]. Produce purpose, scope, roles, prerequisites, numbered operating steps, required evidence at each handoff, exception handling, escalation contacts as role placeholders, and a revision-control block. Keep steps executable and use one owner per action. Do not invent policy rules or access permissions. Before answering, check that every workflow node is represented and every decision includes a next action.
Approval workflow
Use this for processes involving requests, reviews, and sign-off.
Design a diagram-ready approval workflow for [REQUEST TYPE]. Requests arrive through [INTAKE CHANNEL], must meet [APPROVAL CRITERIA], and involve these roles: [ROLES]. Include intake validation, incomplete-request return loops, conflict-of-interest handling, approval or rejection, decision logging, notification, and archival. Output Mermaid flowchart code plus a decision-rights table with approver, consulted roles, evidence required, and target turnaround. Do not invent approval thresholds. Check that rejected and expired requests reach a documented endpoint before answering.
Incident response flow
Use this to map operational incident handling with escalation paths.
Map an incident-response workflow for [INCIDENT TYPE] used by [TEAM]. The trigger signals are [TRIGGERS], severity criteria are [SEVERITY RULES], and current tools are [TOOLS]. Return Mermaid code with incident declaration, severity decision, assigned incident lead, communications, mitigation, recovery validation, closure, and post-incident review. Include time-based escalation points and a role-based communication matrix. Do not claim regulatory requirements not provided. Before answering, ensure every severity path has an owner, notification action, and closure condition.
Tips
- Set the trigger and end condition before diagramming; otherwise teams create a picture of responsibilities rather than an operable process.
- Separate an action from a decision: “Manager approves” should become “Assess criteria” followed by “Approved?” with clear routes.
- Place target times on the activity or wait that starts the clock, not in a legend where no one can enforce it.
- Use exception paths for recurring failures, such as incomplete intake or missed SLA, rather than hiding them in a footnote.
FAQ
What is the difference between a workflow diagram and an SOP?
A workflow diagram shows sequence, decisions, and handoffs. An SOP adds detailed instructions, prerequisites, evidence, and operating rules.
Should every person appear as a swimlane?
No. Use lanes for roles that perform meaningful actions or handoffs; too many lanes make the diagram harder to use.
Can AI make a visual diagram file?
It can provide diagram syntax or a structured specification. Render and review it in your preferred diagram tool before relying on it.