Store variables between workflow runs using data tables as a key-value store — Workflow n8n
Aperçu
Store Variables Between Workflow Runs Using n8n's Built-In Data Tables (Key-Value Store)
Purpose
This workflow implements a simple key value store based on the built-in data tables feature in n8n – no external service needed.
What this is for
This is a workflow snippet which could be used to store a “last checked” timestamp or other variables between workflow runs.
Setup
Self-deploying – no extra setup needed Just clone the template into your n8n instance and follow the instructions on the
Nœuds utilisés
Aperçu du workflow
Comment ça fonctionne
- 1
Déclencheur
Le workflow démarre avec un déclencheur déclencheur.
- 2
Traitement
Les données transitent par 10 nœuds, connecting datatable, if, manualtrigger.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
Détails des nœuds (10)
Upsert Global "your_variable_name"
dataTable
Stop and Error
stopAndError
Global found
if
When clicking ‘Execute workflow’
manualTrigger
Format value
set
Sticky Note8
stickyNote
Do something
noOp
Comment importer ce workflow
- 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
- 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
- 3Sélectionnez le fichier
store-variables-between-workflow-runs-using-data-tables-as-a-key-value-storetéléchargé et cliquez sur Importer. - 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
- 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.
Ou collez directement dans n8n → Importer depuis JSON :
Intégrations
Créé par
Mario
@octionic
Tags
Nouveau sur n8n ?
n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.
Obtenir n8n gratuitement →