This workflow implements a simple key value store based on the built-in data tables feature in n8n – no external service needed.
This is a workflow snippet which could be used to store a “last checked” timestamp or other variables between workflow runs.
A data table is used as a key value store having the two columns “key” and “value”.
It is referenced by name, which makes it easier to migrate this workflow to other instances.
Fallback: If the table doesn’t exist, it automatically gets created
Note: Please make sure to use this feature with care when storing passwords or access tokens since those can be exposed via the n8n API when querying past executions with their data or data tables directly. Those kind of data should preferably stored inside of credentials directly.