You’re very close, this is a classic Power Automate scenario!
The main issue is that email signatures (like company logos) are often treated as attachments, so your flow needs to isolate only real PDF files.
Recommended Setup
1. Update the Trigger Configuration
- Use trigger: When a new email arrives (V3)
- Add Subject Filter → Invoice
Crucial Step:
Click Show advanced options and set:
- Include Attachments = Yes
- Only with Attachments = Yes
If you skip this, the flow won’t find any attachments to process.
2. Add the Loop and Filters
- Add Apply to each → Attachments
- Inside, add a Condition (set to AND):
- Name → ends with → .pdf
- isInline → is equal to → false
Tip: isInline helps filter signature images, while .pdf does most of the filtering. If isInline isn’t available, the .pdf check alone usually works fine.
3. If Yes Branch
Use Create file (OneDrive or SharePoint)
File Name → Name
File Content → Content Bytes
4. After the Loop
Add: Mark as read or unread (V3)
→ Set Is Read = Yes
Keeping this outside the loop ensures the email is marked read only after processing.
Saving to Desktop
Power Automate can’t save directly to your PC.
Easy workaround:
- Save files to OneDrive
- Sync OneDrive to your computer
Files will automatically appear on your desktop/folder.
Summary
Filter using .pdf (+ isInline if available)
Save to OneDrive
Mark email as read after processing
✅ If one of the responses here solved your issue, please mark it as Accepted so others facing the same problem can benefit as well.
👍 If this or any other reply here helped you, feel free to give it a Like. It helps others and is always appreciated.