Google Drive: Moving files after download and send email

What are you trying to achieve?

Hey guys,

I am trying to send all files in a specific Google Drive folder as multiple attachments in one email. After the email is being sent, the files should be moved to a different folder.

Steps taken so far

I’ve gotten so far that the email is being sent correctly - multiple files within one email. But I am struggling to move the files after the email is sent. I only have access to the output of my Array aggregator and it seems that the file id, which is needed to find the specific file, was lost during the process. Any ideas?

Best
Mark

You’re going to need to iterate the output of the array aggregator to work with each pat of the Array.data to get each file ID you need and then call the Move file/folder once for each file.

3 Likes

Awesome, thanks, @alex.newpath!