Skip to main content
Best answer

How can I save PDF attachments of Outlook email to Google Drive


I am trying to build a Zap with the following requirements

  1. Microsoft Outlook - source
  2. Trigger - new email
  3. Loop through all the emails and extract File name and file (binary)
  4. Save all the PDF attachments to Google Drive

Best answer by Danvers

Hi @awani! It sounds like the tricky part here is that there may be more than one attachment on the email, is that right? If that’s the case then this wont be possible with Microsoft outlook, sorry about that! 

 

If you’re able to have the emails sent to a Gmail address then you can use the trigger New Attachment, which triggers for every attachment on the email, rather than once for the whole email. 

 

You can then add a filter step in the Zap so that it will only continue if the attachment matches certain criteria (ie it’s a pdf) You can learn more about filters in this help doc.

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.

4 replies

andywingrave
Forum|alt.badge.img+9
  • Zapier Expert
  • 854 replies
  • April 10, 2020

Hey there,

 

Try copying this: https://zapier.com/shared/2ba97a418ad021fd3a108f62b4095a22b535aa30

 

That should set you on the right path


andywingrave
Forum|alt.badge.img+9
  • Zapier Expert
  • 854 replies
  • April 10, 2020

You might need to filter that to look only for pdf files though, if that’s your use case.


  • Author
  • Beginner
  • 1 reply
  • April 10, 2020

Basically, my main requirement is to iterate through the attachments of type PDF, get File Name and the file(binary) and save into any target app. (Google Drive being an example ). Can i achieve that by adding any intermediate step between Microsoft Outlook & Destination App (Like Google Drive) ?


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • Answer
  • April 21, 2020

Hi @awani! It sounds like the tricky part here is that there may be more than one attachment on the email, is that right? If that’s the case then this wont be possible with Microsoft outlook, sorry about that! 

 

If you’re able to have the emails sent to a Gmail address then you can use the trigger New Attachment, which triggers for every attachment on the email, rather than once for the whole email. 

 

You can then add a filter step in the Zap so that it will only continue if the attachment matches certain criteria (ie it’s a pdf) You can learn more about filters in this help doc.