Files & Documents

Automated file processing and conversion via webhook

32 nodes 128 73 Webhook
Download

Workflow Description

An advanced workflow that receives webhook requests, reads and writes files, converts them across formats, and applies sophisticated conditional logic to process documents without manual intervention—ideal for document-heavy operations.

How it works

  1. 1.Receive incoming request via webhook and identify file type
  2. 2.Read file content and apply conditional logic to data
  3. 3.Execute data transformations and convert file to required format
  4. 4.Write processed file and send confirmation response via webhook

Use cases

  • Convert Excel reports to PDF automatically upon arrival
  • Process and filter CSV files by custom criteria and archive them
  • Generate documents from dynamic data and export in multiple formats

Requirements

  • Set up webhook endpoint to receive incoming files
  • Access to file read/write functionality supporting multiple formats
  • Understanding of conditional logic and data transformation techniques

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Read Write File

Details

Trigger Webhook
Nodes 32
Apps 1
Views 128
Downloads 73

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (32)

/

Validate Key Gen Params

Code

#1

Validate PDF Sign Params

Code

#2

Validate PDF Upload

Code

#3

Validate Key Upload

Code

#4

Generate Keys

Code

#5

Sign PDF

Code

#6

Prepare Success Response

Set

#7

Switch Operation

Switch

#8

Switch Upload Type

Switch

#9

Prepare input params

Set

#10

set file path

Set

#11

Convert PDF to File

Convert To File

#12

Write PDF File to Disk

Read Write File

#13

Read PDF File from Disk

Read Write File

#14

Convert PFX to File

Convert To File

#15

Write PFX File to Disk

Read Write File

#16

Read PFX File from Disk

Read Write File

#17

Check PDF file is OK

Set

#18

Check PFX file is OK

Set

#19

check success

If

#20

set downlowd file info

Set

#21

Read download file from Disk

Read Write File

#22

API POST Endpoint

Webhook

#23

API GET Endpoint

Webhook

#24

POST Success Response

Webhook

#25

POST Error Response

Webhook

#26

GET Respond to Webhook

Webhook

#27

Sticky Note

Sticky Note

#28

Sticky Note1

Sticky Note

#29

Sticky Note2

Sticky Note

#30

Sticky Note3

Sticky Note

#31

Sticky Note4

Sticky Note

#32