Simple file based key value store (WriteKey)
Store a key with a value in a local json file. Multiple keys could be saved in a single file.
Related workflow: GetKey
Create a subfolder in your n8n homedir: /home/node/.n8n/local-files. In docker look at the data path and create a subfolder local-files. Set the correct access rights chmod 1000.1000 local-files.
Put the workflow code in a new workflow named WriteKey.
Create another workflow with a function item:
return { file: '/4711.json', // 4711 should be your workflow id key: 'MyKey', value: 'MyValue' }
Pipe the function item to an Execution Workflow that calls the WriteKey workflow.
It would be nice if we could get someday a shiny built-in n8n node that does the job. :)
Related Templates
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Bulk Automated Google Drive Files Sharing and Direct Download Link Generation
This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch pro...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments