Redis Workflow Status Manager
detail.loadingPreview
Manages the running status of a workflow using Redis.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow acts as a status manager for another n8n workflow, utilizing Redis to prevent concurrent executions. It checks if a specific workflow is already running in Redis. If it is, the workflow stops. If it's not running, it sets a 'running' flag in Redis before executing the target workflow, and then resets the flag to 'idle' upon completion or error.
Key Features
- Prevents concurrent executions of a workflow.
- Uses Redis for atomic status checks and updates.
- Configurable schedule for checking workflow status.
- Handles both successful execution and potential errors.
How To Use
- Configure Redis Credentials: Ensure your Redis instance is accessible and add its credentials to n8n.
- Set Workflow Key: In the 'Get Status', 'Set Running', and 'Set Idle' Redis nodes, replace
YOUR_CREDENTIAL_HEREwith a unique key that represents the workflow you want to manage (e.g.,my-critical-workflow-status). - Set Target Workflow ID: In the 'Execute Workflow' node, replace
4cnnwIeC9Sr5ngGZwith the actual ID of the workflow you want to trigger. - Configure Schedule: Adjust the 'Schedule Trigger' node to define how often this status manager should run.
- Review Error Handling: The 'Execute Workflow' node is set to
continueRegularOutputon error, meaning subsequent nodes will still run. The 'Error Handler' node is present but not explicitly configured to catch errors from 'Execute Workflow' in this snippet; ensure your overall error handling strategy is robust.
Apps Used
Workflow JSON
{
"id": "ffef5b05-04c1-4809-b0c4-81e7ec9ccc06",
"name": "Redis Workflow Status Manager",
"nodes": 0,
"category": "Redis",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: ffef5b05-04c1...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Weekly Cocktail Inspiration for Your Team
Automatically share engaging cocktail recipes with your team or community every week. This workflow fetches a random recipe, generates a beautiful visual card using Bannerbear, and posts it directly to your Rocket.Chat channel, fostering fun and connection.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automate DOCX to PDF Conversion and Save Locally
This workflow automates the process of converting a Microsoft Word DOCX file to a PDF document. It downloads a source DOCX file, uses ConvertAPI to perform the conversion, and then saves the resulting PDF file directly to your local disk.