Evaluate counters and key-value storage with the KeyValue community node
UnknownWhat this workflow does
This workflow has 32 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Keyvalue (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- workflowid (Key Value): get (counter)
- flag_workflowid (Key Value): work with counter
- check_value (Key Value): work with record
- If: checks a condition and branches into true / false
- logic_executed (Key Value): write (record)
- json_as_text (Edit Fields (Set)): sets 1 field: text
- write_json (Key Value): write (record)
- read_json (Key Value): work with record
- Split Out: splits a list into separate items
- loop_json (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 17 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-keyvalue is verified or supports 3.0 (used in workflowid, check_value, logic_executed).
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Key Value
n8n-nodes-keyvalue.keyValue - No Operation, do nothing
n8n-nodes-base.noOp - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if
From the author
Quick overview This workflow demonstrates the n8n KeyValue community node by using a counter to run one-time initialization logic per workflow, storing a per-day execution flag to allow the main logic only once per day, and showcasing basic directory, record,…