An n8n community node for integrating with Cronlytic, providing advanced cron scheduling capabilities for n8n workflows through webhook triggers.
Cronlytic is an advanced cron scheduling service that provides:
- Robust, reliable cron job execution
- Detailed execution logs and monitoring
- Advanced scheduling features beyond basic cron
- API-based job management
- Webhook-based triggers for external systems
This n8n node provides:
- Cronlytic Trigger: Create scheduled workflows using Cronlytic's advanced cron scheduler
- Webhook Integration: Automatically sets up webhooks between Cronlytic and n8n
- Advanced Scheduling: Support for complex cron expressions
- Automatic Job Management: Creates, updates, and deletes Cronlytic jobs as needed
- Custom Headers & Payloads: Configure webhook requests with custom data
- Go to Settings > Community Nodes in your n8n instance
- Click Install
- Enter
n8n-nodes-cronlytic
- Click Install
# In your n8n installation directory
npm install n8n-nodes-cronlytic
# Restart your n8n instance
- Sign up for a Cronlytic account
- Navigate to API Keys in your dashboard
- Click Generate New API Key
- Copy your API Key and User ID
- In n8n, go to Credentials
- Click Create New Credential
- Search for and select Cronlytic API
- Enter your API Key and User ID
- Test the connection and save
The Cronlytic Trigger node creates scheduled jobs on Cronlytic that trigger your n8n workflows via webhooks.
- Job Name: Unique identifier for the cron job (alphanumeric, hyphens, underscores only)
- Cron Expression: 5-field cron expression (minute hour day month day-of-week)
- Webhook Body: Optional JSON payload to send with the webhook
- Additional Headers: Custom headers for webhook requests
*/5 * * * *
- Every 5 minutes0 9 * * 1-5
- 9 AM on weekdays0 0 1 * *
- First day of every month30 14 * * 0
- 2:30 PM every Sunday
- Add a Cronlytic Trigger node to your workflow
- Configure credentials
- Set job name:
daily-report-generator
- Set cron expression:
0 9 * * *
(daily at 9 AM) - Add webhook body:
{"source": "cronlytic", "type": "daily_report"}
- Connect to your processing nodes
- Activate the workflow
When activated, this creates a job on Cronlytic that will trigger your workflow daily at 9 AM.
Include dynamic data in your webhook triggers:
{
"trigger_time": "{{timestamp}}",
"source": "cronlytic",
"workflow_id": "daily-backup",
"environment": "production"
}
The node includes built-in error handling:
- API connection retries with exponential backoff
- Automatic lambda warming for reliable execution
- Detailed error messages for troubleshooting
Jobs are automatically managed by n8n:
- Created when workflow is activated
- Updated when node configuration changes
- Deleted when workflow is deactivated or node is removed
This node uses the Cronlytic Programmatic API. For advanced usage, refer to the complete API documentation.
-
Authentication Failed
- Verify API Key and User ID are correct
- Check that credentials are properly configured in n8n
-
Invalid Cron Expression
- Use 5-field format:
minute hour day month day-of-week
- Use 5-field format:
-
Webhook Not Triggering
- Ensure workflow is activated
- Check Cronlytic dashboard for job status and logs
- Verify webhook URL is accessible
-
Job Limit Exceeded
- Check your Cronlytic plan limits
- Delete unused jobs or upgrade your plan
- Node Issues: GitHub Issues
- Cronlytic API: saleh@cronlytic.com
- n8n Community: n8n Community Forum
- Node.js ≥ 20.15
- n8n development environment
# Clone the repository
git clone https://github.com/Cronlytic/n8n-nodes-cronlytic.git
cd n8n-nodes-cronlytic
# Install dependencies
npm install
# Build the node
npm run build
# Link for local testing
npm link
n8n start
npm run build
- Build the nodenpm run dev
- Build in watch modenpm run lint
- Run linternpm run format
- Format code
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Run linting and formatting
- Submit a pull request
Saleh Alsaihati
- GitHub: @Cronlytic
- Email: saleh@cronlytic.com
Built with ❤️ for the n8n community