Templates / Create a simple data caching system with no external dependencies

Create a simple data caching system with no external dependencies

Ready for 3.0

by JustCallMeBlue · 589 views · created 2025-10-08 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs when another workflow calls it (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Check Action Type (If): checks a condition and branches into true / false
  2. Drop all rows with expired cache entires (Data table): delete rows
  3. Upsert row(s) (Data table): create or update
  4. Get row(s) (Data table): get
  5. Return Value (Edit Fields (Set)): sets or maps fields
  6. If: checks a condition and branches into true / false
  7. No cache found, use error detection to detect this. (Stop and Error): stops the run with an error
  8. If: checks a condition and branches into true / false
  9. Return Value from Cache (Edit Fields (Set)): sets or maps fields

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Greetings! If you're in need of a quick and dirty cache that doesn't need anything other than the current version of N8N, boy do I have a dodgy script for you to try! Presenting a simple template for a cache layer using the new N8N Tables Beta! This flow can…

Excerpt from JustCallMeBlue's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.