Skip to main content

I want to send a file as a Gmail Attachment using file object and not a url.

Before Gmail action I have added a “Code By Zapier” where I create the file object.

I have attached the image below.

How can I add it in the Attachment field and send the pdf as an attachment?

Also, after executing the code, when I click on Attachment field, it shows me separate keys: attachment content, attachment filename and attachment type and not “attachment” as a single key