Sequence diagram (request flow) template

Numbered steps across Client, API gateway, service, database and a third party — how one checkout request really travels.

Use this templateFree, opens in your browser. No sign-up.

Sequence diagram (request flow) template
Client
API gateway
Order service
Database
Payment provider
1. POST /v1/checkout
2. Verify JWT, rate limit
3. Validate cart, create order (pending)
4. INSERT order
5. Charge card (idempotency key)
6. Payment ok → mark paid
7. UPDATE status = paid
8. 201 Created + order id
9. Show confirmation
Solid = call · dashed = response
Add timeouts and retries on every hop that crosses a network
Sequence diagram
The sequence diagram (request flow) template as it opens in Kelvo: 9 boxes, 1 sticky note and 8 links, in 5 sections.

What's on the board

Client
1. POST /v1/checkout · 9. Show confirmation
API gateway
2. Verify JWT, rate limit · 8. 201 Created + order id
Order service
3. Validate cart, create order (pending) · 6. Payment ok → mark paid
Database
4. INSERT order · 7. UPDATE status = paid
Payment provider
5. Charge card (idempotency key)

Also on the board

  • Solid = call · dashed = response Add timeouts and retries on every hop that crosses a…

How to use this template

  1. Click Use this template. It opens in the Kelvo app as a new board, saved in your browser.
  2. Double-click any box to change its text. Replace the examples with your own content.
  3. Paste a table. Paste comma- or tab-separated text and it becomes a table. Tab moves to the next cell and adds rows as you go.
  4. Paste code as code. Paste a snippet and it becomes a code block with syntax colouring; Tab indents inside it.
  5. Link by dragging. Hover a box and drag one of its dots onto another box. The whole box is the target, and links stay attached when you move things.

Good for

  • sequence diagram
  • api
  • request flow
  • backend
  • engineer
  • Designing a schema or an API before writing it
  • Explaining a tricky flow in a code review or design doc
  • Agreeing on team conventions such as branching and reviews

Related templates

  • REST API design template previewREST API design

    An endpoint table — method, path, auth, status codes — plus the conventions every endpoint follows.

  • ER diagram (database schema) template previewER diagram (database schema)

    Entities as tables with columns, types and keys, joined by one-to-many relationships — sketch a schema before the migration.

  • UML class diagram template previewUML class diagram

    Classes with fields and methods, associations with multiplicity, and an interface with two implementations.

  • State machine template previewState machine

    Every state an order can be in and the events that move it — the source of truth for status logic and tests.

  • Microservices with API gateway template previewMicroservices with API gateway

    Clients behind an API gateway, services that each own their database, and an event bus for asynchronous work.

  • Integration patterns compared template previewIntegration patterns compared

    Request/response, queues, pub/sub and batch transfer side by side, with coupling, latency and when to use each.

All software engineering diagram templates · All templates

Use the sequence diagram (request flow) template