Import an attachment from google drive and send it in an email

Hi all,
Am creating an invoice from a google doc (that changes with different variables depending on the month of the year) that I save into a file in google drive.
Then I use ggl drive >dowload file module to convert to pdf.
Then I want to send an email, with this pdf in attachment.

For some reasons I cant manage to make it work:
If I used MAP ticked, I dont know which value to click on the pop up panel (?)-see screenshot with yellow options
If I used MAP ticked and click “ggl drive - Download a file”. it get an output error:
Validation failed for 2 parameter(s).

  • Missing value of required parameter ‘fileName’.
  • Missing value of required parameter ‘data’.

If I used MAP ticked and click the below Map option, I fill in
‘fileName’.=14.Name
‘data’=14.Data
I also get error:
Validation failed for 2 parameter(s).

  • Missing value of required parameter ‘fileName’.
  • Missing value of required parameter ‘data’.

Have tried even with more modules such as an additional upload into drive and download again from a file.
Cant make it work…

(note that this automation will run each month, so it seems I need to make sure the attachment chosen will be the latest file created or the one connected to the current run>pdf creation, and cant be mistaken with an older generated pdf )

Any help much appreciated :slight_smile: :slight_smile:





Hi cavalor, it seems you are doing it correctly. I tested in the same way as you, and it worked

Try my blueprint and tell me if it works
Test 1111.blueprint.json (45.5 KB)