Skip to main content
Best answer

Downloading multiple Gmail attachments separately


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

I have a numerous zaps that trigger with the receipt of multiple attachments [often 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!

Best answer by Danvers

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: 

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

10 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @Jangus 

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


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • Answer
  • March 5, 2021

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: 

 


  • Author
  • Beginner
  • 2 replies
  • March 7, 2021
Troy Tessalone wrote:

Hi @Jangus 

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

Thanks very much Troy.

Will give it a go!


  • Author
  • Beginner
  • 2 replies
  • March 7, 2021
Danvers wrote:

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?  

 


steph.n
Forum|alt.badge.img+8
  • Builder
  • 899 replies
  • March 9, 2021

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


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7532 replies
  • May 14, 2021

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


Forum|alt.badge.img
  • Beginner
  • 10 replies
  • July 3, 2021

@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!


Troy Tessalone
Forum|alt.badge.img+14

Forum|alt.badge.img
  • Beginner
  • 10 replies
  • July 3, 2021

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


Troy Tessalone
Forum|alt.badge.img+14

@mrose 

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