← All N8N workflows
Automation & utilitiesCodeConvert To FileIfRead Write FileRespond To Webhook

Basic PDF Digital Sign Service

Configured with Convert To File, Read Write File, Respond To Webhook, Switch, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
CodeValidate Key Gen ParamsCodeCodeValidate PDF SignParamsCodeCodeValidate PDF UploadCodeCodeValidate Key UploadCodeCodeGenerate KeysCodeCodeSign PDFCodeTransformPrepare SuccessResponseEdit FieldsRoutingSwitch OperationSwitchRoutingSwitch Upload TypeSwitchTransformPrepare input paramsEdit FieldsTransformset file pathEdit FieldsTransformConvert PDF to FileConvert To FileFiles / mediaWrite PDF File to DiskRead Write FileFiles / mediaRead PDF File from DiskRead Write FileTransformConvert PFX to FileConvert To FileFiles / mediaWrite PFX File to DiskRead Write FileFiles / mediaRead PFX File from DiskRead Write FileTransformCheck PDF file is OKEdit FieldsTransformCheck PFX file is OKEdit FieldsRoutingcheck successIfTransformset downlowd file infoEdit FieldsFiles / mediaRead download file fromDiskRead Write FileTriggerAPI POST EndpointWebhookTriggerAPI GET EndpointWebhookWeb / APIPOST Success ResponseRespond To WebhookWeb / APIPOST Error ResponseRespond To WebhookWeb / APIGET Respond to WebhookRespond To Webhook

Node categories in this workflow

  • Code
  • Transform
  • Routing
  • Files / media
  • Trigger
  • Web / API

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Validate Key Gen ParamsCodeCodeSee node parameters
Validate PDF Sign ParamsCodeCodeSee node parameters
Validate PDF UploadCodeCodeSee node parameters
Validate Key UploadCodeCodeSee node parameters
Generate KeysCodeCodeSee node parameters
Sign PDFCodeCodeSee node parameters
Prepare Success ResponseTransformEdit FieldsSee node parameters
Switch OperationRoutingSwitchSee node parameters
Switch Upload TypeRoutingSwitchSee node parameters
Prepare input paramsTransformEdit FieldsSee node parameters
set file pathTransformEdit FieldsSee node parameters
Convert PDF to FileTransformConvert To FiletoBinary
Write PDF File to DiskFiles / mediaRead Write Filewrite
Read PDF File from DiskFiles / mediaRead Write FileSee node parameters
Convert PFX to FileTransformConvert To FiletoBinary
Write PFX File to DiskFiles / mediaRead Write Filewrite
Read PFX File from DiskFiles / mediaRead Write FileSee node parameters
Check PDF file is OKTransformEdit FieldsSee node parameters
Check PFX file is OKTransformEdit FieldsSee node parameters
check successRoutingIfSee node parameters
set downlowd file infoTransformEdit FieldsSee node parameters
Read download file from DiskFiles / mediaRead Write FileSee node parameters
API POST EndpointTriggerWebhookSee node parameters
API GET EndpointTriggerWebhookSee node parameters
POST Success ResponseWeb / APIRespond To WebhookSee node parameters
POST Error ResponseWeb / APIRespond To WebhookSee node parameters
GET Respond to WebhookWeb / APIRespond To WebhookSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

Basic PDF Digital Sign Service

Basic PDF Digital Sign Service

Purpose and structure

This folder contains the Basic PDF Digital Sign Service workflow. Its executable nodes use code, convertToFile, if, readWriteFile, respondToWebhook, set, switch, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

API POST Endpoint, API GET Endpoint

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Webhook/1722_Webhook_Code_Automation_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Cryptographic Operations
  • Document Management
  • Document Management
  • Request Processing and Method Routing
  • Response Checking and Formatting

More in Automation & utilities