Skip to main content

Hi everyone, I’ve seen similar posts, but no difinitive solution.

I have a numerous zaps that trigger with the receipt of multiple attachments soften from GMAIL] but could be from online forms.

I need to download these attachments into either dropbox, G Drive or attach to a new email as separate files AND NOT AS A ZIPPED / COMPRESSED SINGLE FILE

Is there a workable solution out there?  either with Formatter or something else?

The closest I’ve come is with formatter, but even then you have to input a FILTER function for a finite number of attachments.

Thoughts?

Thanks!

Hi @Jangus 

Try the new Looping action: https://zapier.com/apps/looping/integrations


Hi @Jangus!

 

For Gmail, there’s a trigger that will give you the attachments individually. If you use the Gmail trigger New Attachment, the Zap will trigger for each attachment, so you can run each step of the Zap per attachment. It often requires a Filter step so that the Zap only continues when the email of the attachment meets certain conditions, but’s it’s a good option for working with Gmail attachments.  

P.S. We’ve created a guide to help with this workflow: 

 


Hi @Jangus 

Try the new Looping action: https://zapier.com/apps/looping/integrations

Thanks very much Troy.

Will give it a go!


Hi @Jangus!

 

For Gmail, there’s a trigger that will give you the attachments individually. If you use the Gmail trigger New Attachment, the Zap will trigger for each attachment, so you can run each step of the Zap per attachment. It often requires a Filter step so that the Zap only continues when the email of the attachment meets certain conditions, but’s it’s a good option for working with Gmail attachments.  

THANKS VERY much for that.  That would mean though, that we have to have say, potentially 20 filters for 20 attachments?  

 


Hi @Jangus - Yes, that’s possible but don’t be afraid to give it a try. Let us know how it worked for you!


Hey @Jangus, were you able to get this working in the end? Keen to make sure you’re all set here!


@Jangus, any luck creating the loop for this use case?  I’m looking to explore something similar, but I’m not sure exactly which set of data to use in order to grab each attachment.  If I use the Filename or file ID, I’m able to create the correct number of loops, but the file is uploaded to GDrive as a text file containing only the file ID.  Alternatively, if I try to use All Attachments (exists but not shown), only one loop iteration will be created.  @Troy Tessalone, any suggestions, please?  Thank you!


Hi @mrose 

Try using this Gmail trigger:

Article: https://zapier.com/help/doc/common-problems-with-gmail#i-have-multiple-files-on-my-email-but-the-zap-is-giving-me-a-zip-file-combining-all-the-files


Thanks, @Troy Tessalone.  Is there any way to upload each of these attachments as another file format (ex. jpg)?


@mrose 

Check out the CloudConvert app: https://zapier.com/apps/cloudconvert/integrations