Prevent concurrent workflow runs using Redis

Automated workflow: Prevent concurrent workflow runs using Redis. This workflow integrates 11 different services: stickyNote, wait, switch, redis, set. It contains 43 nodes and follows best practices for error handling and security.

Integrations Used (2)

Workflow Structure (32 nodes)
100%
Execute Workflow Trigger
When Executed by Another Workflow
Set
Set Timeout
Execute Workflow
Is Workflow Active
Switch
Switch
If
If2
Redis
Get Key
Redis
Set Key
Redis
UnSet Key
Set
set continue
Stop And Error
Error Handler
Execute Workflow
Set Workflow Active
Execute Workflow
Set Workflow Finished
Manual Trigger
When clicking ‘Test workflow’
Execute Workflow
Is Workflow Active2
Execute Workflow
Is Workflow Active3
Execute Workflow
Is Workflow Active1
If
If1
Switch
Switch1
If
If Node
Stop And Error
Stop and Error1
Execute Workflow
Set Workflow "started"
Stop And Error
Stop and Error
Execute Workflow
Set Workflow Active1
Wait
Wait1
No Op
No Operation, do nothing
Execute Workflow
Set Workflow "loading"
Wait
Wait
Wait
Wait2
Execute Workflow
Set Workflow "finishing"
Wait
Wait3
Execute Workflow
Set Workflow Finished1
Execute Workflow
Set Workflow Finished2
Node Types:
trigger
logic
default
action
transform
Requires credentials

Prerequisites

Required Credentials (1)

Redis

Used by: Get Key, Set Key +1 more

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~30 min
Score: 55/100
Conditional Logic
6 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "name": "Prevent concurrent workflow runs using Redis",
  "nodes": [
    {
      "id": "e0729c93-e192-42fb-9ba0-c465d5a38089",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -60,
        720
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "action"
            },
            {
              "name": "value"
            },
...

Workflow Details

Nodes
44
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Set Workflow

Automated workflow: Set Workflow. This workflow integrates 19 different services: stickyNote, switch, redis, executeWork...

Executeworkflow
N8n
Redis
47 nodesEvent

Realtime Notion Todoist 2-way Sync Template

Automated workflow: Realtime Notion Todoist 2-way Sync Template. This workflow integrates 29 different services: stickyN...

Http-request
Notion
Form
Webhook
246 nodesWebhook

API Schema Extractor

Stage 1 - Research for API Documentation - Fetch a list of services pending research from Database (Google Sheet) - Uses...

Http-request
Textsplitterrecursivecharactertextsplitter
Documentdefaultdataloader
Executeworkflow
88 nodesEvent
Curated

Enhance Customer Chat by Buffering Messages with Twilio and Redis

Step 2. Buffer Incoming Messages [Learn more about using Redis](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-n...

Lmchatopenai
Redis
Memorybufferwindow
Twilio
18 nodesEvent
Curated

KB Tool - Confluence Knowledge Base

![n8n](https://i.imgur.com/lKnBNnH.png) Receive Query from Parent Workflow This node receives input from the AI Agent i...

Executeworkflow
Http-request
7 nodesEvent
Curated

get_a_web_page

Send URL got Crawl This can be reused by Ai Agents and any Workspace to crawl a site. All that Workspace has to do is se...

Executeworkflow
Http-request
4 nodesEvent
Curated