JSPM

n8n-nodes-docuskribe

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q16563F
  • License MIT

n8n node for DocuSkribe - Convert URLs and HTML to PDFs or screenshots

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.

    1. Go to Settings > Community Nodes
    2. Select Install
    3. Enter n8n-nodes-docuskribe in Enter npm package name
    4. Agree to the risks of using community nodes
    5. Select Install

    Manual Installation

    npm install n8n-nodes-docuskribe

    Credentials

    This node requires a DocuSkribe API key. You can get one by:

    1. Signing up at docuskribe.com
    2. Going to your Dashboard
    3. 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 identifier
    • status: 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 bytes
    • sizeMB: File size in megabytes
    • credits: Credit usage information

    Examples

    Convert URL to PDF

    1. Add a DocuSkribe node
    2. Select Create Job operation
    3. Set Input Type to URL
    4. Enter the URL to convert
    5. Configure PDF options as needed
    6. Execute the workflow

    Convert HTML to PDF with Templating

    1. Add a DocuSkribe node
    2. Set Input Type to HTML
    3. Enter HTML with template variables: <h1>Hello ${name}</h1>
    4. Set Template Data to {"name": "World"}
    5. The output will be: <h1>Hello World</h1>

    Compatibility

    • Tested with n8n version 1.0.0+
    • Requires Node.js 18.17.0 or later

    Resources

    License

    MIT