[Video] How to Filter Email Attachments with Microsoft Flow

Return to the Insights Blog

Jul 7, 2019 | Microsoft 365

I’ve been perusing the Flow Community lately (if you haven’t yet, I strongly encourage it) and I noticed multiple questions related to filtering email attachments. 

For example, a user gets an email and only wants to save the PDF/DOCX/XLSX (excluding images) somewhere. Most HTML email signatures contain images making this feature helpful. 

Note: Saving the files to OneDrive for Business, a SharePoint site, or even a local file share does not matter in this instance. 

Previously, we would either need to use a Switch action for each statement per file extension or write a long OR IF expression in the Condition box. With the latest improvements in Conditions, we can now easily accomplish this using the “Attachments Name”: 

After it runs, you will see it found 6 attachments, but only saved 2 files:  

New improvements with the Condition action make saving email attachments a breeze. Watch this 10 minute video to walk you through the entire process, step-by-step.

How to Filter Email Attachments with Microsoft Flow

Hope you enjoyed the quick walk-through, be sure to reach out to us if you have any questions or need any help with Microsoft Flow!

Search Posts

Recent Posts

Subscribe to The Insights

Stay ahead with C5 Insight's latest resources delivered straight to your inbox. We share expert insights on Microsoft business solutions (e.g., Copilot, Dynamics 365 CRM, Microsoft 365), business strategy, employee and customer engagement, upcoming events, and more.