PagePixels Screenshots icon

PagePixels Screenshots

Capture website screenshots using the PagePixels API

Overview

This node captures website screenshots and performs AI analysis on the captured screenshots using the PagePixels API. It supports capturing screenshots from a public URL and then sending an AI prompt to analyze the screenshot content. This is useful for scenarios such as automated website monitoring, content analysis, or extracting insights from visual data on web pages.

Use Case Examples

  1. Capture a screenshot of a webpage and analyze it with an AI prompt to detect visual elements or extract textual information.
  2. Use the AI analysis feature to generate a summary or insights from a webpage screenshot for reporting or monitoring purposes.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (API Key or OAuth2).
URL Public URL of the webpage to capture a screenshot from.
AI Prompt Prompt instructing the AI how to analyze the captured screenshot (max 2000 characters).
Options Additional optional parameters to customize the screenshot capture and analysis, such as time zone, wait time, CSS selectors, viewport size, image format, custom CSS/JS injection, headers, cookies, geolocation, caching, and more.
Request Options Node-level request options such as batching, SSL certificate validation, proxy, and timeout settings.

Output

JSON

  • screenshotUrl - URL of the captured screenshot image.
  • aiAnalysisResult - Result of the AI analysis performed on the screenshot based on the provided AI prompt.
  • metadata - Additional metadata related to the screenshot or analysis.

Dependencies

  • PagePixels API

Troubleshooting

  • Ensure the provided URL is publicly accessible and valid to avoid capture failures.
  • Verify that the API key or OAuth2 credentials are correctly configured and have necessary permissions.
  • Check that the AI prompt is within the allowed character limit (max 2000 characters).
  • If using multi-step actions, ensure the JSON format is correct and selectors are valid CSS selectors.
  • Timeout errors may occur if the server is slow or the timeout setting is too low; increase timeout if needed.
  • If SSL certificate validation fails, enable the option to ignore SSL issues if appropriate.

Links

Discussion