Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-docuskribe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
n8n-nodes-docuskribe
This is an n8n community node that integrates with DocuSkribe to convert URLs and HTML content to PDFs or screenshots.
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Nodes (Recommended)
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-docuskribein Enter npm package name - Agree to the risks of using community nodes
- Select Install
Manual Installation
npm install n8n-nodes-docuskribeCredentials
This node requires a DocuSkribe API key. You can get one by:
- Signing up at docuskribe.com
- Going to your Dashboard
- Creating a new API key
In n8n, create a new DocuSkribe API credential and paste your API key.
Operations
Create Job
Convert a URL or HTML content to a PDF or screenshot. The node automatically polls for job completion and returns the final result.
Parameters:
- Input Type: Choose between URL or HTML
- URL: The URL to convert (required if Input Type is URL)
- HTML: HTML content to convert (required if Input Type is HTML). Supports
${key}templating with the Template Data parameter. - Output Type: PDF or Screenshot (default: PDF)
- Response Type: URL (temporary download link) or Buffer (base64-encoded data)
- File Name: Optional filename for the output file
- Format: PDF page format (Letter, A4, Legal, etc.) - PDF only
- Margins: Page margins (top, right, bottom, left) - PDF only
- Form Factor: Desktop or Mobile viewport
- Screenshot Format: PNG, JPEG, or WebP - Screenshot only
- Screenshot Quality: Quality for JPEG (0-100) - Screenshot only
- Full Page: Capture the entire page - Screenshot only
- Template Data: JSON object for URL query params or HTML
${key}template replacement - Timeout: Maximum wait time in seconds (default: 300)
Output:
The node returns a JSON object with:
jobId: Unique job identifierstatus: Job status (completed or failed)outputType: Type of output (pdf or screenshot)result.url: Download URL (if Response Type is URL)result.buffer: Base64-encoded data (if Response Type is Buffer)sizeBytes: File size in bytessizeMB: File size in megabytescredits: Credit usage information
Examples
Convert URL to PDF
- Add a DocuSkribe node
- Select Create Job operation
- Set Input Type to URL
- Enter the URL to convert
- Configure PDF options as needed
- Execute the workflow
Convert HTML to PDF with Templating
- Add a DocuSkribe node
- Set Input Type to HTML
- Enter HTML with template variables:
<h1>Hello ${name}</h1> - Set Template Data to
{"name": "World"} - The output will be:
<h1>Hello World</h1>
Compatibility
- Tested with n8n version 1.0.0+
- Requires Node.js 18.17.0 or later