I wanted to inquire about attaching a PDF file.
From the node “Send Email” I attach it as a binary when I receive it by email, I previously made the conversion to pdf, but if I attach it from the node “Gmail” it sends it as a pdf attachment, is there any parameter that is needed in the node “Send Email” to not send it as a binary?
Thank you very much as always!
Good week!
Regards,
I understand that you have a PDF file which you want to send using the Send Email node. However, it sounds like you don’t want to send it as a PDF but using a different format? Which format exactly should your attachment have?
I want to send it in pdf format, but when I attach it the person receives it as binary, and as attachment when you receive the mail in gmail it is binary, instead if I use the Gmail node and run the same workflow, it is attached as pdf file correctly, I think it is something of the Send Email Node when I want to send a pdf and I attach it as binary. Because at the same time that I send by mail I upload the same file to a drive and it is uploaded in pdf format
OK, so you already have the PDF file, it’s just not being sent as a PDF when you use the Gmail node? It worked fine for me when I tested it earlier, so I’m not quite sure what’s going wrong on your end just yet.
Perhaps you could share your workflow as well as the binary item you are passing on to your Gmail node?
For reference, my own test workflow looks like so:
And the binary item I am passing on to my Gmail node looks like this (pdf extension + application/pdf MIME type):
Any chance you can share a simplified example workflow using which the problem can be seen as well as the binary file details (in case your PDF isn’t publicly available)?
Quite possible! Perhaps you can share a screenshot of the binary output of your Obtenemos documento en pdf and convertimos el file binary en pdf nodes?
Oh, could the problem be that the filename field itself does not include .pdf? When trying to send a file without this suffix I am getting a result like this: