Merging PDF files

Hi all,

I want to join multiple pdf files using N8N, however, I’m not able to achieve this currently.

The files are send to a webhook either as a binary octet-stream or base64 encoded. I was able to convert the files to PDFs, just the merging fails.
Currently I try to utilize Stirling PDF as a service (https://github.com/Stirling-Tools/Stirling-P). If I reference one file, I’m able to rotate the file. Somehow I’m unable to reference the files using a javascript reference, even then the service returns a 500 exception.

Also I’m not sure if I can send a multipart array with binary files to the service.

From the discussions I have seen, there is some need to merge PDFs, but haven’t found any solution to this problem yet.

TIA

1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

HI @schuhmann

Welcome to the community!

Can you share the call you are making to this API?
Preferably the workflow you are using or atleast the node and how it is setup. :slight_smile: