You are helping me build the following AI agent workflow. ## Goal Capture Website Screenshots via Google Sheets: New URL row in Sheets? The agent captures a screenshot using CustomJS and saves it to Drive named after the site title. ## Specification - What it does: You get automatic visual records for every new website URL added to your Google Sheet, with screenshots saved directly to Drive and named after each site's title. This process runs instantly using CustomJS PDF Toolkit whenever a new row appears in your sheet. - Trigger: Triggered by an event (Event ยท on new row in Google Sheets) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration and automation logic - Google Sheets: Trigger source containing website URLs and titles - CustomJS PDF Toolkit: Capturing screenshots of specified URLs - Google Drive: Storing the generated screenshot files ## Known pitfalls, handle each one explicitly in your implementation 1. Headless browsers often fail on sites requiring login or CAPTCHA verification so you must whitelist known public URLs or implement session cookies. 2. Google Drive API quotas can be exceeded by rapid bulk uploads so add a small delay between upload attempts to avoid throttling errors. 3. Dynamic content like lazy-loaded images may not render in time for the screenshot so configure explicit wait-for selectors before capturing. ## Reference implementation https://n8n.io/workflows/3332 (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/capture-website-screenshots-via-google-sheets/ via usecasesforagents.com