Templates / flowchart
Webhook delivery with retries
Event delivery with exponential backoff, retry limits, and a dead-letter path — API platform documentation staple.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart LR
event[Domain event] --> enqueue[Enqueue delivery]
enqueue --> send[POST to endpoint]
send --> resp{2xx?}
resp -->|yes| done[Mark delivered]
resp -->|no| backoff[Exponential backoff]
backoff --> attempts{Under retry limit?}
attempts -->|yes| send
attempts -->|no| dead[Dead letter + notify]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.