AUTOMATION

Automate screenshots across CI, cron jobs, and no-code tools

The same screenshot, analyze, and compare endpoints work from a CI pipeline, a scheduled script, or a no-code automation platform. Pick the surface that matches how your team already works.

CI-ready
GitHub Actions, cron, CLI
No-code ready
n8n, Zapier
SDKs
TypeScript, Python, PHP
Install:curl -X POST https://api.prod.ss.snapshot-site.com/api/v3/compare
Auth:x-snapshotsiteapi-key: YOUR_API_KEY
Get started for free
Automation pipeline
Good fits
Visual regression checks gating every pull request
Scheduled monitoring of pages you don't directly control
No-code teams routing screenshots into Slack, Notion, or Sheets
Batch capture jobs run from CI or a cron schedule

Four ways to automate, one API underneath

There's no separate 'automation' product — every surface below calls the same endpoints. The right choice depends on where the trigger for the screenshot actually lives.

1

CI pipelines

Call the compare endpoint on every pull request and fail the build past a mismatch threshold.

2

Scheduled jobs

A cron job or scheduled workflow captures and compares pages on a fixed interval for monitoring.

3

No-code platforms

Zapier and n8n call the API as a webhook step, routing results into Slack, Sheets, or Notion.

4

The CLI, for everything in between

One-off checks and shell scripts get a plain command instead of a full SDK integration.

Quick start

Pick your automation surface

1

CI: add a step that POSTs to /api/v3/compare and reads mismatchPercentage

2

Scheduled: run the same call from a cron job or scheduled workflow

3

No-code: use Zapier's Webhooks action or the verified n8n node

4

Shell/local: install the CLI for one-off checks without writing code

Example: CI gate

CI

Fail a pull request on visual regression

Compare production against a preview deploy and fail the check past a mismatch threshold.

curl --request POST \
  --url https://api.prod.ss.snapshot-site.com/api/v3/compare \
  --header 'Content-Type: application/json' \
  --header 'x-snapshotsiteapi-key: YOUR_API_KEY' \
  --data '{
    "before": {"url": "https://example.com/pricing", "width": 1440, "fullSize": true},
    "after": {"url": "https://preview.example.com/pricing", "width": 1440, "fullSize": true},
    "threshold": 0.1
  }'