pixcap

n8n community node to capture website screenshots using the Pixcap API

Package Information

Downloads: 1 weekly / 40 monthly
Latest Version: 1.0.0
Author: Dan Shah

Documentation

n8n-nodes-pixcap

This is an n8n community node that allows you to capture website screenshots using the Pixcap API.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

npm

npm install n8n-nodes-pixcap

n8n Community Nodes

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-pixcap
  4. Agree to the risks and select Install

Credentials

To use this node, you need a Pixcap API key:

  1. Go to pixcap.dev
  2. Sign up or log in to your account
  3. Navigate to the API section to get your API key
  4. In n8n, create new credentials of type Pixcap API
  5. Enter your API key

Operations

Capture Screenshot

Take a screenshot of any website URL.

Parameters:

Parameter Type Default Description
URL string (required) The URL of the website to screenshot
Width number 1280 Viewport width in pixels
Height number 800 Viewport height in pixels
Full Page boolean false Capture the entire scrollable page
Format string png Image format: png, jpeg, or webp
Quality number 80 Image quality (1-100, for JPEG/WebP)
Dark Mode boolean false Enable dark mode preference
Delay number 0 Wait time in ms before capture

Output:

The node outputs:

  • Binary data: The screenshot image
  • JSON metadata: URL, dimensions, format, and response time

Example Usage

Basic Screenshot

  1. Add a Pixcap node to your workflow
  2. Configure your Pixcap API credentials
  3. Set the URL to capture (e.g., https://example.com)
  4. Execute the workflow
  5. The screenshot will be available as binary data

Full Page Screenshot with Dark Mode

  1. Add a Pixcap node
  2. Set the URL
  3. Open Options
  4. Enable Full Page
  5. Enable Dark Mode
  6. Set format to WebP for smaller file size

Save Screenshot to File

  1. Add a Pixcap node configured as above
  2. Add a Write Binary File node
  3. Connect the Pixcap node output to the file node
  4. Set the file path (e.g., /tmp/screenshot.png)

Resources

License

MIT

Discussion