Package Information
Documentation
n8n-nodes-cronlytic
🚨 Warning: This n8n node is experimental and may change. Not ready for production use.
Tested locally only, but has to be running on a server to fully test webhook generation functionality
For production use, create webhook node, paste it inside cronlytic dashboard or use API documentation untill this node fully tested
An n8n community node for integrating with Cronlytic, providing advanced cron scheduling capabilities for n8n workflows through webhook triggers.
What is Cronlytic?
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
Features
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
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes in your n8n instance
- Click Install
- Enter
n8n-nodes-cronlytic
- Click Install
Manual Installation
# In your n8n installation directory
npm install n8n-nodes-cronlytic
# Restart your n8n instance
Setup
1. Get Cronlytic API Credentials
- 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
2. Configure Credentials in n8n
- 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
Usage
Cronlytic Trigger Node
The Cronlytic Trigger node creates scheduled jobs on Cronlytic that trigger your n8n workflows via webhooks.
Configuration Options:
- 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
Example Cron Expressions:
*/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
Example Workflow
- 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.
Advanced Features
Custom Webhook Payloads
Include dynamic data in your webhook triggers:
{
"trigger_time": "{{timestamp}}",
"source": "cronlytic",
"workflow_id": "daily-backup",
"environment": "production"
}
Error Handling
The node includes built-in error handling:
- API connection retries with exponential backoff
- Automatic lambda warming for reliable execution
- Detailed error messages for troubleshooting
Job Management
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
API Reference
This node uses the Cronlytic Programmatic API. For advanced usage, refer to the complete API documentation.
Troubleshooting
Common Issues
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
- Test expressions at crontab.guru
- 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
Support
- Node Issues: GitHub Issues
- Cronlytic API: [email protected]
- n8n Community: n8n Community Forum
Development
Requirements
- Node.js ≥ 20.15
- n8n development environment
Setup
# Clone the repository
git clone https://github.com/salehalsaihati/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
Scripts
npm run build
- Build the nodenpm run dev
- Build in watch modenpm run lint
- Run linternpm run format
- Format code
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Run linting and formatting
- Submit a pull request
License
Author
Saleh Alsaihati
- GitHub: @Cronlytic
- Email: [email protected]
Built with ❤️ for the n8n community