You are helping me build the following AI agent workflow. ## Goal Website Screenshot Capture: Automatically captures headless screenshots of protected websites using Bright Data Web Unlocker and saves the PNG to your local disk. ## Specification - What it does: Capture protected website screenshots instantly by bypassing anti-bot defenses like Cloudflare with Bright Data Web Unlocker. You get the resulting PNG images saved directly to your local disk without needing a manual browser session. - Trigger: Run manually (Manual ยท on demand) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Bright Data Web Unlocker: Bypass anti-bot protections to capture screenshots - HTTP Request: Send API request to Bright Data - Write a file to disk: Save captured screenshot image locally ## Known pitfalls, handle each one explicitly in your implementation 1. Large response bodies from high-resolution screenshots can exceed memory limits so implement streaming writes to disk instead of loading into RAM. 2. Anti-bot systems may block your IP if requests come too frequently so add a random delay between captures to mimic human behavior. 3. File permissions on the target directory might prevent writing so verify write access before starting the automated batch process. ## Reference implementation https://n8n.io/workflows/3465 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automated-website-screenshot-capture/ via usecasesforagents.com