Key-value store
A simple database that maps unique keys to values. In automation, key-value stores (Redis, Upstash) hold temporary state between workflow runs e.g., tracking which records have been processed to prevent duplicates.
Expert insight
A key-value store (like Redis) is the right tool for automation state that needs fast lookups but doesn't need the relational structure of a full database, tracking "has this webhook event ID already been processed" to prevent duplicate processing is a classic key-value use case that would be overkill to implement in a full SQL database.
In a real workflow
The last processed order ID is stored in a key-value store so the next run starts where the previous one stopped.
Common mistakes
- Using it as a full database.
- No expiry for temporary keys.
Complexity level
Requires some familiarity with automation concepts.
Related terms
See it in action
Want Key-value store built into your automation?
Book a free audit and we'll show you exactly how this applies to your business.
Get my free automation plan →Who we build for
Run a firm, an agency or an online store? We automate the work behind it.
Done-for-you n8n workflows and Claude AI agents, fixed price, maintained for you.
- Professional firms Onboarding, documents, billing and reporting run on their own. See what we automate →
- Agencies and SaaS teams Custom n8n and Claude builds, client reporting and internal tools. See what we automate →
- E-commerce brands Orders, support, returns and stock handled without the busywork. See what we automate →
More in Data
Keep exploring
Mapping (field)
The process of connecting fields from a source system to fields in a d…
Merge (data)
Combining two or more data sets into a single output. In automation: m…
Normalisation (data)
Reformatting incoming data into a consistent standard. Example: phone …
OCR (Optical Character Recognition)
Technology that converts images or scanned documents into machine-read…
Output schema
The defined structure of data produced by a workflow step field names,…
Parse
Converting raw data (JSON text, CSV, XML) into a structured format tha…