Create a simple data caching system with no external dependencies
Ready for 3.0Ready 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.
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).
- Check Action Type (If): checks a condition and branches into true / false
- Drop all rows with expired cache entires (Data table): delete rows
- Upsert row(s) (Data table): create or update
- Get row(s) (Data table): get
- Return Value (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
- No cache found, use error detection to detect this. (Stop and Error): stops the run with an error
- If: checks a condition and branches into true / false
- 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)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Schedule Trigger
n8n-nodes-base.scheduleTrigger
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…