
📎 This article includes 1 downloadable practice file ↓
In this article
Supplier invoices arrive by email; someone downloads and files them. This flow does it the moment they arrive.
Build it
- Trigger When a new email arrives (V3) with Include Attachments and Only with Attachments = Yes, Subject Filter “Invoice”.
- Apply to each over Attachments (one email can have several).
- Inside, a Condition: Attachments Name ends with “.pdf”, so signature logos (image001.png) are skipped.
- If yes: OneDrive Create file (or SharePoint) › folder /Invoices › name:
formatDateTime(utcNow(),'yyyy-MM-dd')+ “_” + Attachments Name › content: Attachments Content.
💡 Add the sender’s name to the file name or create one folder per supplier (Folder path = /Invoices/ + From) so files are organised without manual work.
Expressions
Expressions like formatDateTime(), concat() and toLower() are typed in the Expression tab of the dynamic content panel. They work like Excel functions.
Where people go wrong
| Problem | Fix |
|---|---|
| Logos and signatures saved | Filter by extension |
| Same name overwrites a file | Add date/time or the email id to the name |
More: save email attachments automatically.
Practice
Build the attachment flow from the steps file.
📎 Practice files for this article
- 📄Lesson 3 step-by-step guidePrintable steps to build the flow.⬇ TXT · 438 B
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
✨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong