How to upload multiple binaries to a S3 bucket?

Describe the issue/error/question

I need to upload all the binaries coming from the node “gmail get message”.
But I don’t see a way to upload all the “binary” files returned from that node into my S3 bucket:

This is the Gmail get message node which returns JSON data + binaries:

I can upload the file if I manually write the attachment_X number in the S3 node:

But this won’t work if there are many files as there is no way to “detect” how many binaries coming from the Gmail node and run the S3 action recursively in the number of binaries:

image

Any ideas on how to upload these multiple binaries or how to run multiple times the S3 node based on the binaries returned from the Gmail node?

Thanks.

uppp, someone? Thanks

Hi @yukyo, perhaps you want to take a look at this example workflow? This would split one item with multiple binary objects and changing names (like in your screenshots) into as many items as needed with one binary object named data:

You can then simply use your S3 node to upload data. Let me know if you run into any trouble with this :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.