GenAiHub

Last checked 24 November 2026 — responded normally.

Prevent simultaneous workflow executions with Redis

Purpose

Live
Open / InstallLast updated November 24, 2026

Description

Purpose This ensures that executions of scheduled workflows do not overlap when they take longer than expected. How it works This is a separate workflow which monitors the execution of the main workflow Stores a flag in Redis (key dynamically named after workflow ID) which indicates if the main workflow is running or idle The TTL setting ensures that the flag will also be removed automatically when the workflow hits the defined timeout Only calls the main workflow if the last execution has finished Setup Update the interval in the Schedule Trigger Turn your main workflow into a sub-workflow by adding an Execute Workflow Trigger Set a reasonable timeout for that sub-workflow Set the same timeout (seconds) in the TTL option of the Set Flag node Select the right sub-workflow in the Execute Workflow node Publish the workflow Customization Duplicate the Execute Workflow node and select another workflow you would like to run sequentially, then replace the placeholder node underneath with it Make sure to set a timeout for that other workflow as well and then update the TTL value in the Redis node to the sum of all workflow timeouts You can add as many workflow calls as you want, just make sure they are neatly organized below each other in one line to guarantee the right execution order. An n8n automation workflow template by Mario.

Community Metrics

Views
1,484
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Mario

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • redis

Capabilities

  • 1 nodes
  • 1,484 views

Information

TypeWorkflow
Sourcen8n
AddedSeptember 3, 2026

Comments

?

Others in the same category, ranked by how often they are opened.