Monitor Cron Jobs with n8n and QuietPulse: A Complete Guide
Automate your heartbeat monitoring by connecting QuietPulse to n8n workflows. Get instant alerts when scheduled tasks fail.
Why Combine n8n + QuietPulse?
n8n is a powerful workflow automation tool. QuietPulse monitors cron jobs. Together they create:
- โ Automated monitoring โ no manual ping scripts
- โ Visual workflow โ see exactly what happens when a job fails
- โ 200+ integrations โ Slack, databases, ticketing systems, etc. (via n8n)
- โ Telegram alerts or webhooks โ route missed-job notifications where they fit best
How It Works
- QuietPulse provides a unique endpoint URL for each job
- n8n sends a HTTP ping to that endpoint on a schedule
- If the ping fails (or is missed), QuietPulse sends alerts through Telegram, webhooks, or both
Step 1: Create a Heartbeat Endpoint in QuietPulse
- Log in to QuietPulse dashboard
- Click "New Job"
- Fill in:
- Job Name: e.g., "Daily Backup"
- Expected Interval: e.g., 1 hour
- Ping URL: Copy this (you'll paste it into n8n)
- Enable Telegram notifications, webhooks, or both (optional, but recommended)
- Save
You now have a unique endpoint like:
text
https://quietpulse.xyz/ping/abc123def456...
Step 2: Add Ping to n8n Workflow
In your n8n workflow:
Drag an HTTP Request node
Configure:
- Method: GET
- URL: Paste the QuietPulse Ping URL
Set Authentication: None (endpoint uses token in URL)
Connect this node to your existing workflow (or create a simple cron-triggered workflow)
Step 3: Schedule the Workflow
Add a Cron trigger node to run at your desired schedule:
text
*/5 * * * * # Every 5 minutes
0 2 * * * # Daily at 2 AM
*/15 * * * * # Every 15 minutes
Connect cron node โ HTTP Request node.
Step 4: Handle Failures (via Webhooks or Telegram โ n8n)
QuietPulse supports two notification channels for alerting n8n:
Option 1: Webhooks (Recommended)
The simplest way to connect QuietPulse to n8n:
- In the QuietPulse dashboard, configure a webhook to your n8n webhook URL
- In n8n, add a Webhook node as the trigger
- When a job is missed, QuietPulse sends a signed JSON payload directly to n8n
- n8n catches it and runs your workflow
Option 2: Telegram โ n8n (Alternative)
If you prefer the Telegram path:
- Connect QuietPulse Telegram bot to a Telegram group that has n8n integration
- In n8n, add a Telegram Trigger node listening to that group
- When QuietPulse sends an alert, n8n catches it and runs your workflow
Complete Example: Backup Monitoring
Workflow structure:
With webhooks (simplest):
text
Cron (0 2 * * *) โ HTTP Request (Ping QuietPulse) โ [Success] โ Log
โ
[Failure] โ QuietPulse Webhook โ n8n Webhook Trigger โ Action
With Telegram (alternative):
text
Cron (0 2 * * *) โ HTTP Request (Ping QuietPulse) โ [Success] โ Log
โ
[Failure] โ QuietPulse Telegram Bot โ n8n Telegram Trigger โ Action
What happens:
- 2:00 AM: n8n triggers
- 2:00:05: Sends ping to QuietPulse
- 2:00:10: If ping succeeds โ QuietPulse marks job as OK
- 2:00:15: If ping fails (or no ping) โ QuietPulse sends an alert through your configured channel
- Optional: Use a direct QuietPulse webhook into n8n, or connect QuietPulse Telegram bot to a group that n8n monitors via Telegram Trigger node
Best Practices
โ Do:
- Use separate endpoints for different jobs (not a single endpoint for all)
- Set expected interval slightly lower than actual cron schedule (e.g., job runs hourly, set interval to 55 min)
- Configure Telegram alerts, webhooks, or both in job settings
- For complex workflows, prefer a direct QuietPulse webhook into n8n; use Telegram group triggers only if that matches your setup
โ Don't:
- Share your Ping URL publicly (it's a secret token)
- Use the same endpoint for multiple unrelated jobs
- Set intervals too tight (e.g., 1 minute for a job that runs hourly) โ causes false positives
Troubleshooting
| Issue | Check |
|---|---|
| No Telegram alerts arrive | Telegram connected in job settings? |
| No webhook alerts arrive | Webhook URL saved correctly and reachable from QuietPulse? |
| n8n workflow fails | HTTP Request node returns 200? Check Ping URL |
| Duplicate alerts | Check job interval vs cron schedule overlap |
Supported n8n Features
| Feature | Status |
|---|---|
| HTTP Request (Ping QuietPulse) | โ Built-in |
| Cron Trigger | โ Built-in |
| Conditional branching | โ Use "IF" node on HTTP response |
| Custom headers | โ Add Authorization if needed (optional) |
| Retry logic | โ Configure in HTTP Request node |
| Telegram Trigger (alternative alert path) | โ ๏ธ Via Telegram group, not direct |
Next Steps
- Ensure Telegram alerts, webhooks, or both are configured in each QuietPulse job
- Add grace periods to avoid deployment false positives
- Prefer an n8n Webhook trigger for direct integration, or use Telegram Trigger if that fits your workflow
- Monitor job status directly in QuietPulse dashboard