Block 1 - Execute sub-process
- Type / Role
- n8n-nodes-base.executeWorkflow - executeWorkflow
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Random Process Scheduler Turn predictable automations into human like activity with random scheduling across easily customisable time slots. Perfect for content publishing with organic scheduling p...
n8n-nodes-base.executeworkflow, n8n-nodes-base.n8n, n8n-nodes-base.stickynote, n8n-nodes-base.readwritefile, n8n-nodes-base.stopanderror, n8n-nodes-base.code, n8n-nodes-base.scheduletrigger, n8n-nodes-base.switch
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Florent.
Original n8n.io sourcePerfect for content publishing with organic scheduling patterns, social media automation, API systems that need to avoid rate limiting, or any automation requiring randomised timing control across multiple periods.
All times are configured in local timezone with automatic UTC conversion for technical operations.
Features easy slot management with chronological ordering, gap support, and 24-hour window scheduling.
schedulerExecutionTime in Init node (match it to Schedule Trigger cron)Two variables to set in the Init node's "Custom Configuration" section:
1. When the scheduler runs daily:
const schedulerExecutionTime = 1; // 1am (24h clock; must match Schedule Trigger node)
2. Your execution slots:
const subprocessTimeSlots = {
morning: { start: 6, end: 12, probability: 0.85 },
afternoon: { start: 12, end: 18, probability: 0.85 },
evening: { start: 18, end: 24, probability: 0.5 }
};
That's it. Three slots, three probabilities.
Add or remove slots, adjust times - it just works.
Real-world example with gaps:
const subprocessTimeSlots = {
night: { start: 0, end: 2, probability: 0.1 }, // Optional late activity
morning: { start: 6, end: 10, probability: 0.85 }, // Gap from 2-6am (no execution)
noon: { start: 12, end: 14, probability: 0.85 }, // Gap from 10am-12pm
afternoon: { start: 16, end: 18, probability: 0.85 }, // Gap from 2-4pm
evening: { start: 20, end: 24, probability: 0.5 } // Gap from 6-8pm
};
3. Configure Execute sub-process with your workflow ID
Your sub-workflow MUST start with a Wait node and be configured with {{ $json.executions.relativeDelaySeconds }} as “Wait Amount”.
4. Additional Configuration
const LOCAL_TIMEZONE = $env.GENERIC_TIMEZONE || 'Europe/Paris'; by default// ⚠️ Your email here
• const N8N_ADMIN_EMAIL = $env.N8N_ADMIN_EMAIL || '[email protected]';
// ⚠️ Your projects’ ROOT folder on your mapped server here
• const N8N_PROJECTS_DIR = $env.N8N_PROJECTS_DIR || '/files/n8n-projects-data';
// ⚠️ Your project’s folder name here for logging
• const PROJECT_FOLDER_NAME = "RPS";
/local-files:/files)IMPORTANT: Your sub-workflow MUST start with a Wait node and be configured with {{ $json.executions.relativeDelaySeconds }} as “Wait Amount”.
Use Cases:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.
| Workflow | Random Process Scheduler |
|---|---|
| Complexity | advanced |
| Nodes | 32 |
| Categories | Miscellaneous |
| Author | Florent |
| Published | 07 Oct 2025 |
Use the JSON export at /data/workflows/9351/9351.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Random Process Scheduler Turn predictable automations into human like activity with random scheduling across easily customisable time slots. Perfect for content publishing with organic scheduling p...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Miscellaneous use case.