CONTENT CREATION

Auto Re-Capture Stale Screenshots and Open a PR

On a weekly schedule, captures fresh screenshots for any doc images that have drifted, commits the replacements to a branch.

CategoryContent Creation
EngineSim + Paperclip
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule fires
  • ActionDetect drifted screenshots via live capture diffBrowserbase
  • ActionUpload fresh image files to CDN bucketCloudflareCloudflare
  • LogicSkip if no screenshots drifted
  • OutputOpen a GitHub PR swapping stale imagesGitHubGitHub

What it does

Closes the loop from detection to fix. It finds drifted doc screenshots, captures pixel-matched replacements from the live product, commits the new image files to a branch, and opens a pull request that swaps the stale images for fresh ones, leaving the merge decision to a reviewer.

When to use it

Use it when screenshot drift is frequent enough that manually re-capturing and committing images is a recurring chore. Automating the capture-and-commit step removes the tedious work while keeping human review on the actual content change.

How it works

  1. 1A weekly schedule starts the run.
  2. 2The flow identifies drifted screenshots by diffing current docs images against live captures via Browserbase.
  3. 3For each stale image it captures a replacement at the documented viewport and resolution.
  4. 4New image files are uploaded to a CDN bucket and committed to a fresh GitHub branch.
  5. 5A logic step skips opening a PR if nothing drifted this week.
  6. 6Otherwise a GitHub PR is opened with the swapped images and a summary table of what changed.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BrowserbaseHeadless browsers, sessions, replays.
  2. 2
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  3. 3
    Connect GitHubRepos, issues, pull requests, actions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.