Need to create a list with multiple items on Google Docs

What are you trying to achieve?

When I send an email I need two processes, first I need to store the attached files on a Drive folder, after that I need to create a Document with basic information about the sent email, including a list of the attached documents each of them having a hyperlink to its location on the previous Drive folder.

Steps taken so far

I implemented a interator after “Watch Emails” and before “Google Drive - Upload a File”, because it was only uploading to the folder one of the many files i was sending. So now i upload 4 files and create one document.
The problem is that now, when creating a Document with the list of attachements i don’t know how to add all the files on the list, I only manage to create a list with one of the four items.
I tried with that second iterator to modify the html code of the document so it added four times the name and link of the files, but it doesn’t work as i’ve setted it.

Thanks for your help.

Screenshots: scenario setup, module configuration, errors

Hey Prueba,

configure the Array Aggregator to return an array containing the file links. Then use the join() function on that array on the corresponding place in the Google document to get a list of urls. Also you dont need the second iterator module.

1 Like