Templates / Create a REST API for PDF digital signatures with webhooks

Create a REST API for PDF digital signatures with webhooks

Ready for 3.0

by Ferenc Erb ✓ · 5,895 views · created 2025-03-10 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 27 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. set file path (Edit Fields (Set)): sets 2 fields: pdfPath, keyPath
  2. Switch: routes items into 4 branches
  3. Prepare input params (Edit Fields (Set)): sets 2 fields: fileData, uniqueFileName
  4. Validate Key Gen Params (Code): runs custom JavaScript code
  5. Validate PDF Sign Params (Code): runs custom JavaScript code
  6. set downlowd file info (Edit Fields (Set)): sets 1 field: fullFileName
  7. Switch: routes items into 2 branches
  8. Generate Keys (Code): runs custom JavaScript code
  9. Sign PDF (Code): runs custom JavaScript code
  10. Read download file from Disk (Read/Write Files from Disk): reads a file from disk

…plus 15 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Overview An automation workflow that creates a complete REST API for digitally signing PDF documents using n8n webhooks. This service demonstrates how to implement secure document signing functionality through standardized API endpoints with file upload and…

Excerpt from Ferenc Erb's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.