Skip to main content
Integrate pdf noodle with n8n to automate your PDF generation workflows. Create invoices, reports, certificates, and any other documents automatically—no code required.

Prerequisites

Before you begin, make sure you have:

Setting Up the Integration

n8n connects to pdf noodle using the HTTP Request node.
1

Create a New Workflow

In n8n, create a new workflow and add your trigger (e.g., Webhook, Schedule, or any app trigger).
2

Add HTTP Request Node

Click the + button and search for HTTP Request.
3

Configure the Request

Set up the HTTP Request node:
SettingValue
MethodPOST
URLhttps://api.pdfnoodle.com/v1/pdf/sync
AuthenticationPredefined Credential TypeHeader Auth
4

Set Up Authentication

Create a Header Auth credential:
SettingValue
NameAuthorization
ValueBearer YOUR_API_KEY
5

Configure the Body

Select BodyJSON and add:
{
  "templateId": "your-template-id",
  "data": {
    "customerName": "{{ $json.customer.name }}",
    "invoiceNumber": "{{ $json.order.id }}",
    "total": {{ $json.order.total }}
  }
}
Use n8n’s expression syntax to map data from previous nodes.

Finding Your Template ID

  1. Go to app.pdfnoodle.com
  2. Navigate to the Templates section
  3. Copy the Template ID shown in the list next to your template

Response

When the request succeeds, you’ll receive:
{
  "signedUrl": "https://pdforge-production.s3.us-east-2.amazonaws.com/...",
  "metadata": {
    "executionTime": "1.805 seconds",
    "fileSize": "4.066 kB"
  }
}
Use the signedUrl in subsequent nodes to send via email, upload to storage, or attach to records.

Example Workflow

A typical workflow that generates an invoice when a new order is received:
  1. Webhook Trigger - Receives order data
  2. HTTP Request - Generates the PDF with pdf noodle
  3. Send Email - Sends the PDF to the customer using {{ $json.signedUrl }}

Error Handling

  • Verify your API key is correct
  • Ensure the Authorization header format is Bearer YOUR_API_KEY
  • Check your JSON syntax is valid
  • Ensure all required template variables are provided
  • Verify the template ID exists
  • Double-check the Template ID
  • Ensure the template exists in your pdf noodle account

API Endpoints

EndpointDescription
POST /v1/pdf/syncGenerate PDF from template (synchronous)
POST /v1/pdf/asyncGenerate PDF from template (asynchronous)
POST /v1/html-to-pdf/syncConvert HTML to PDF (synchronous)
See the complete API Reference for all endpoints and options.

You can also generate PDFs using any HTTP Request node by calling the pdf noodle API directly. See the API Reference for all available endpoints and options.

Resources