npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-pdfgenstudio

v1.0.6

Published

n8n node for PDF Gen Studio - Generate PDFs and images from templates, JSON, or HTML

Readme

n8n-nodes-pdfgenstudio

This is an n8n community node for PDF Gen Studio - a powerful document generation API that lets you create PDFs and images from templates, JSON designs, or HTML.

Features

  • Template Renderer: Render saved templates with dynamic data injection
  • JSON Renderer: Render raw JSON design documents to PDF/PNG/JPG/HTML
  • HTML Renderer: Convert HTML content to PDF or images

Installation

In n8n Desktop/Self-hosted

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-pdfgenstudio and click Install

Using npm

npm install n8n-nodes-pdfgenstudio

Credentials

To use this node, you need a PDF Gen Studio API key:

  1. Sign up at PDF Gen Studio
  2. Go to your Dashboard > API Keys
  3. Create a new API key
  4. In n8n, create new credentials for "PDF Gen Studio API"
  5. Enter your API key and base URL

Credential Properties

| Property | Description | |----------|-------------| | API Key | Your PDF Gen Studio API key | | Base URL | API base URL (default: https://api.pdfgenstudio.com) |

Node Operations

Template Renderer

Render saved templates with dynamic data.

Parameters: | Parameter | Description | |-----------|-------------| | Template | Select from your saved templates or enter ID directly | | Dynamic Data | JSON data to inject into template placeholders | | Output Format | PDF, PNG, or JPG | | Response Type | Binary (file) or Base64 (encoded string) |

Options:

  • Text Overflow: How to handle text exceeding boundaries (truncate, wrap, scale, none)
  • Table Pagination: Auto-paginate tables exceeding page height
  • Table Header on New Page: Repeat headers on new pages
  • Pixel Ratio: Image quality multiplier (1-4)
  • Quality: JPG quality (0.1-1)
  • Page Index: Render specific page only

JSON Renderer

Render raw JSON design documents.

Parameters: | Parameter | Description | |-----------|-------------| | JSON Document | The JSON design document structure | | Output Format | PDF, PNG, JPG, or HTML | | Response Type | Binary, Base64, or Preview (HTML only) | | Validate Only | Only validate without rendering |

Options:

  • Scale, Quality, Print Background
  • Header/Footer templates
  • Timeout, Full Page, Omit Background, Raw output

HTML Renderer

Convert HTML content to PDF or images.

Parameters: | Parameter | Description | |-----------|-------------| | HTML Content | Complete HTML document | | Output Format | PDF, PNG, or JPG | | Response Type | Binary or Base64 |

PDF Options:

  • Page Format: A4, A3, A5, Letter, Legal, Tabloid
  • Orientation: Portrait or Landscape
  • Margins, Scale, Print Background
  • Header/Footer templates, Page Ranges
  • Custom Width/Height, Timeout

Image Options:

  • Quality (1-100)
  • Full Page, Omit Background, Timeout

Example Workflows

Generate Invoice PDF from Template

  1. Trigger: Webhook or Schedule
  2. Set Node: Prepare invoice data
  3. PDF Gen Studio: Template Renderer
    • Select invoice template
    • Pass dynamic data with customer info, items, totals

Convert HTML Report to PDF

  1. HTTP Request: Fetch HTML report
  2. PDF Gen Studio: HTML Renderer
    • Pass HTML content
    • Set format to PDF
    • Configure page options

Generate Document from JSON

  1. Function: Build JSON document structure
  2. PDF Gen Studio: JSON Renderer
    • Pass document JSON
    • Choose output format

API Reference

This node connects to the following PDF Gen Studio API endpoints:

| Endpoint | Method | Description | |----------|--------|-------------| | /api/v1/templates | GET | List all templates | | /api/v1/templates/:id | GET | Get template by ID | | /api/v1/renderer/templates/:id | POST | Render template | | /api/v1/renderer/json | POST | Render JSON document | | /api/v1/renderer/html | POST | Render HTML |

All render endpoints support query parameters for options (e.g., ?format=pdf&response=binary).

Support

License

MIT License - see LICENSE.md