Updated
How to Take Website Screenshots in n8n (and Get Change Alerts)
1. The HTTP Request node
Header Auth credential: Authorization = Bearer YOUR_APIFY_TOKEN. Node: POST https://api.apify.com/v2/acts/plainprobe~website-screenshot-monitor/run-sync-get-dataset-items, body JSON:
{
"urls": ["https://example.com", "https://www.python.org"],
"device": "mobile",
"fullPage": true,
"format": "png"
}One item per URL with status, imageUrl, title, httpStatus and, for blocked pages, a reason instead of a picture of the block page.
Or import the ready workflow.
2. Save or share the image
Add a second HTTP Request node (GET {{ $json.imageUrl }}, response format File) to get the binary, then Google Drive, S3, an e-mail attachment or Slack. To skip failures, put an IF node on status equal to ok first.
3. Change alerts
- Schedule Trigger, every hour or every day.
- Body: add
"mode": "monitor". The first run stores a baseline; each later run compares with it. - IF node on
monitor.changed, then Slack or e-mail withmonitor.changedPercent, the diff image and the text lines added or removed.
4. Costs and limits
Viewport screenshot $0.002, full page or PDF $0.003, comparison $0.002; failed, blocked and timed-out pages are free. In our test on 100 varied websites, all reachable sites were captured in 7.6 minutes and every site that blocks automated browsers was reported as such instead of being returned as a screenshot of the block page. Pages behind a login are not captured.
FAQ
How do I take a website screenshot in n8n?
Use an HTTP Request node that POSTs {"urls": ["https://example.com"]} to the run-sync-get-dataset-items endpoint of a screenshot Actor on Apify, with your Apify token in a Header Auth credential. Each result has an imageUrl you can download with a second HTTP Request node or post to Slack.
Can n8n alert me when a web page changes?
Yes: run the screenshot Actor in monitor mode on a Schedule Trigger; each result says whether the page changed (changed-pixel percentage and text lines added or removed). An IF node on monitor.changed then sends the alert.
How much does it cost?
$0.002 per viewport screenshot and $0.003 per full-page screenshot or PDF with Plainprobe Website Screenshot; failed and blocked pages are free.