Diagramly

Templates

Flowchart template

A top-down flowchart of a cache lookup: a request comes in, the payload is validated, and a decision asks whether the answer is cached. One branch returns the cached value; the other queries the database and writes to the cache before responding.

Good for

  • Mapping a process or an algorithm step by step
  • Documenting a decision with yes and no branches
  • Runbooks and how-to guides

How to use it

  1. Press Use this template. It opens on the canvas in your browser, free, with no sign-up.
  2. Double-click any shape to rename it, or press / and type a line such as Client -> API -> DB to add to it.
  3. Share it as a link, present it with Shift+P, or export PNG, SVG or PDF.

In this diagram

  • Request in
  • Validate payload
  • In cache?
  • Return cached
  • Query database
  • Write to cache
  • Response
  • yes
  • no

More templates