Prevent concurrent workflow runs using Redis

Prevent concurrent workflow runs using Redis

Complex
High
43
Nodes
Complex
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
43
Node Types
11

Node Types

execute Workflow Trigger
When Executed by Another Workflow
1 node
switch
Switch, Switch1
2 nodes
manual Trigger
When clicking ‘Test workflow’
1 node
if
If2, If, If1
3 nodes
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5, Sticky Note6, Sticky Note7, Sticky Note8, Sticky Note9, Sticky Note10, Sticky Note11
12 nodes
execute Workflow
Is Workflow Active, Set Workflow Active, Set Workflow Finished, Is Workflow Active1, Set Workflow Active1, Set Workflow Finished1, Is Workflow Active2, Set Workflow Finished2, Set Workflow "started", Set Workflow "finishing", Set Workflow "loading", Is Workflow Active3
12 nodes
redis
Get Key, Set Key, UnSet Key
3 nodes
set
Set Timeout, set continue
2 nodes
stop And Error
Stop and Error, Stop and Error1
2 nodes
no Op
No Operation, do nothing
1 node
wait
Wait, Wait1, Wait2, Wait3
4 nodes

Workflow JSON

45.13 KB
{
  "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"
            },
            {
              "name": "key"
            },
            {
              "name": "timeout"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "caee6ecf-76ee-4014-8e85-a2463dcbba86",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        380,
        720
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "get",
              "conditions": {
                "optio...

Showing first 1000 characters. Click "Expand" to view the full JSON.