Describe the problem/error/question
Send a variable number of images to Stirling API as formData and merge them to a single PDF.
What is the error message (if any)?
I somehow had managed to achieve the first part (sending the data), but never managed to convert the response into a working PDF file.
What finally worked, was setting the encoding to “arraybuffer” and encoding the response to base64…
Please share your workflow
Share the output returned by the last node
PS: you probably need the environment variable
“NODE_FUNCTION_ALLOW_BUILTIN” to be set to “*” or “form-data”
Information on your n8n setup
- n8n version: current
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: ubuntu