Prevent simultaneous workflow executions with Redis
n8n template #2270Summary
Use templatePurpose 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 time
Hand off to your agent
Prompt
Help me set up the n8n workflow "Prevent simultaneous workflow executions with Redis" (https://n8n.io/workflows/2270). It uses: Redis. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Build your own N8N Workflows MCP Server46K
- Conversational Interviews with AI Agents and n8n Forms27K
- Advanced Telegram Bot, Ticketing System, LiveChat, User Management, Broadcasting23K
- Telegram AI Bot-to-Human Handoff for Sales Calls13K
- Enhance Customer Chat by Buffering Messages with Twilio and Redis9,239
- Realtime Notion Todoist 2-way sync with Redis8,614
- Create Product Satisfaction Surveys with Telegram, Google Sheets and AI5,279
- Meraki Packet Loss and Latency Alerts to Microsoft Teams4,324