Pdf attachment to email

i reveive pdf document from API and i get binary, but how can i change File Name property as it comes out not nice. email receiver sees this file name, i need to change it to something.pdf

i get normal content disposition in header

“content-disposition”: “attachment; filename=“Celaji 2023-00023 230623113929.pdf”; filename*=utf-8’'C%C4%93l%C4%81ji%202023-00023%20230623113929.pdf”,

binary

Hi @Edmunds_Priede :wave:

You can change the filename of your PDF with something like the Code node before you send out the email.

I’ve created a quick workflow here to show you how to do this after pulling a PDF from the HTTP Request node:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.