Automated Workflow Business Hours
detail.loadingPreview
Effortlessly manage your n8n workflow's operational hours. This powerful workflow automatically activates your specified workflow at the start of your business day and deactivates it at the close, ensuring efficiency and resource optimization.
About This Workflow
Gain precise control over your n8n workflows with this intelligent scheduling solution. Designed for efficiency, this workflow leverages n8n's API to activate your target workflow every morning at 08:00 and deactivate it every evening at 20:00. Ideal for processes that only need to run during business hours, it helps conserve system resources, manage API quotas, and align automation with your team's working schedule. Easily customize activation and deactivation times using cron expressions to fit any operational requirement, making workflow management simpler and more strategic.
Key Features
- Scheduled Activation/Deactivation: Automatically starts and stops any specified n8n workflow at predefined daily times.
- n8n API Integration: Utilizes the n8n API for seamless programmatic control over other workflows.
- Customizable Schedules: Easily adjust activation and deactivation times using flexible cron expressions.
- Resource Optimization: Conserve system resources and manage API limits by running workflows only when necessary.
- Centralized Management: Manage the operational schedule of critical workflows from a single, dedicated workflow.
How To Use
- Set Targeted Workflow ID: In the "Workflow ID" Set node, replace the default value (
cGqPi5Uy2u1ShmoO) with the actual ID of the n8n workflow you wish to activate/deactivate. You can find this ID in the URL of your target workflow. - Configure Schedule: Adjust the "Activate at 08:00 daily" and "Deactivate at 20:00 daily" Schedule Trigger nodes. Modify the cron expressions (e.g.,
0 8 * * *for 8 AM,0 20 * * *for 8 PM) to set your desired activation and deactivation times. Refer to the embedded sticky notes for cron expression guidance. - Set n8n API Credentials: Ensure you have n8n API credentials configured. Create an API key in your n8n instance (find instructions in n8n documentation), then create n8n credentials using this API key. Connect these credentials to the "n8n Activate" and "n8n Deactivate" nodes.
- Activate This Workflow: Once all configurations are complete, activate this workflow (the "Automated Workflow Business Hours" workflow) to enable automated scheduling.
Apps Used
Workflow JSON
{
"id": "eb11a9c7-1e26-441d-aab0-d82728bbf1c9",
"name": "Automated Workflow Business Hours",
"nodes": 7,
"category": "DevOps",
"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: eb11a9c7-1e26...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
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.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.