Integrations · n8n
Monitor scrapers, APIs, and keys from n8n
Datasource Pulse runs as an Apify Actor, and Apify ships a verified community node for n8n - so a health pass over your scrapers, endpoints, and API keys is one node in a workflow. No custom code, no separate account: your existing Apify credential runs everything, billed at $0.02 per check.
Ready-made workflows
Three importable templates. Download the JSON, then in n8n choose Workflow → Import from File, connect your Apify credential, and replace the placeholders flagged in the sticky note inside each workflow.
Scraper health check → Slack alert
Every 6 hours: one pass over your scraper and the endpoint it feeds. Unhealthy verdicts become Slack messages with the failure class and what breaks downstream.
Cost on your Apify account: 2 checks × 4 runs/day ≈ $4.90/month
Download workflow JSONDaily API key + quota watchdog → Gmail
Every morning: validates your keys against the live vendor APIs (35+ vendors pre-wired, plus generic_http for any endpoint you add) and checks usage against your own budget caps. A silently revoked key or a blown quota lands in your inbox, not in production.
Cost on your Apify account: 3 keys × 1 run/day ≈ $1.83/month
Download workflow JSONActor output drift monitor → email
Daily: baselines a watched actor’s recent runs and alerts on volume drops, cost spikes, and staleness - the quiet failure modes where a scraper keeps running but the data degrades.
Cost on your Apify account: 1 actor × 1 run/day ≈ $0.61/month
Download workflow JSONWant proof the alarm rings before you trust it with production? We broke an endpoint on purpose and timed how long Slack took to hear about it.
How it works
Install the Apify node once (n8n Cloud: open the nodes panel, search “Apify”, Install; self-hosted: Settings → Community Nodes → @apify/n8n-nodes-apify). Then a single node runs the whole health pass: resource Actors, operation Run an Actor and Get Dataset, actor growth_wizard~datasource-pulse, and your checks as the Input JSON:
{
"checks": [
{
"type": "credential",
"id": "openai-prod",
"label": "OpenAI · production key",
"vendor": "openai",
"apiKey": "YOUR_OPENAI_KEY",
"impact": "LLM features fail when this key dies"
},
{
"type": "actor",
"id": "my-scraper",
"label": "My scraper · output drift",
"actorId": "username~my-scraper",
"apifyToken": "APIFY_TOKEN_WITH_READ_SCOPES",
"enableVolumeBaseline": true,
"enableCostBaseline": true
}
]
}The node returns one item per check, so standard n8n routing applies from there. Each verdict carries state, a stable failure_class enum, a human-readable message, and your own impact note echoed back - so the alert answers “what breaks?” by itself. An IF node on state ≠ healthy feeds Slack, Gmail, or anything else n8n talks to.
Common questions
Can n8n monitor an Apify actor for silent failures?
Yes. An actor check baselines recent runs and flags volume drops, cost spikes, and staleness - failure modes that never throw an error. It works for your own actors and for public actors you depend on.
How do I get alerted in n8n when an API key stops working?
A credential check calls the vendor’s live API with your key and classifies the result: dead credential, rate limited, quota exhausted, or healthy. Schedule it daily and route anything unhealthy to your alert channel - the API key + quota watchdog template above is exactly that.
What does it cost?
$0.02 per check per run, billed through your Apify account (pay-per-event, no subscription). A daily three-key watchdog is about $1.83/month.
Also available: Zapier · Make · agent access (MCP, API, x402)