Templates / flowchart
Subscription dunning flow
Retrying a failed renewal charge with escalating notices before suspending the subscription.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
charge[Attempt renewal charge] --> success{Charge succeeded?}
success -->|yes| active[Keep subscription active]
success -->|no| retry1[Retry in 1 day]
retry1 --> success2{Charge succeeded?}
success2 -->|yes| active
success2 -->|no| notify[Email payment failure notice]
notify --> retry2[Retry in 3 days]
retry2 --> success3{Charge succeeded?}
success3 -->|yes| active
success3 -->|no| suspend[Suspend subscription]More templates
flowchartArchitecture
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
sequenceDiagramProcess
User login sequence
A login flow with token issuance and a failure branch. Useful for documenting auth endpoints and session behavior.
stateDiagram-v2Process
Order state machine
Lifecycle states for an e-commerce order, from creation to fulfillment, with cancellation and refund paths.