Save Gmail attachments to Google Drive

I set everything up. APIs, URIs, are correct. But no file shows up in Drive.
I tried some ideas from other posts (like this → {{formatDate(now; “YYYY-MM-DD HH:mm”)}}.{{last(split(2.fileName; “.”))}}, but only one strange file with the name “{{last(split(2.fileName; “.”))}}” ends up in Drive.

Any ideas? Thanks in advance!

@Kirsten_W
Hi, could you please provide the following screenshots to help us identify the problem?

  1. configuration of Gmail Module
  2. configuration of Google Drive Module
  3. INPUT and OUTPUT of Gmail Module execution result
  4. INPUT and OUTPUT of Google Drive Module execution result

@momomomonmon Thank you!

Thats all I got. Where du find further INOUT-Data?

@Kirsten_W
I understand the situation better now, along with the screenshots you provided. Thank you very much!

Perhaps it is just an error in the File Name setting in the Google Drive Module.
Try typing the following in the File Name section of the Google Drive Module. For the ${fileName} part, use the value obtained from Gmail or Iterator Module.
{{formatDate(now; YYYY-MM-DD)}} {{last(split(${fileName}; .))}}

I have also attached a screenshot, I have passed test1.test2.test3 to the split function, but in your case you can enter the values you get from Gmail or the Iterator module.

1 Like