Hello,
I'm trying to create a flow to save my email attachments to a document library.
When I use the Power Automate template, all my attachments as well as pictures attached to the body of my email are transferred.
How can I filter the attachments to forward by content type? I would like to transfer any attachments which are PDF or PPT / PPTX.
thank you in advance for your help
Baptiste K.
Solved! Go to Solution.
This is how I did a quick PoC for 'pptx' with Or condition:
Tested with 3 files: 1 xlsx, 1 png and 1 pptx and the result:
Can you share snapshots of the flow so we can take a closer look?
You might be able to filter attachments using conditions where name contains (or ends with), and specify the extension there like ".pdf" or ".ppt"
I don't know which part to modify to take this condition into account.
I tried adding a condition that checks the extension of my attachment after the variable part. But without success.
All attachments from my email are transferred to the library (attachment and images of my signature).
This is how I did a quick PoC for 'pptx' with Or condition:
Tested with 3 files: 1 xlsx, 1 png and 1 pptx and the result:
Can you share snapshots of the flow so we can take a closer look?
Hello HimanshuSSharma,
I created this automation using your example. Your opinion ?
It's the first time I'm doing this, I don't know if I forgot something ...
I performed a test and the procedure is working.
Step 1 :
Step 2 :
@Baptiste_k97 it looks okay to me, despite the language barrier.
Please accept the solution if you found it helpful!!
Thanks!