Forum Discussion
Pn1995
Apr 08, 2019Brass Contributor
Flow to extract attachments from Inbox
Hi We have a Outlook Inbox that has a subfolder in this that contains lots of emails with attachments on them. We want to be able to extract the attachment from these emails and save them int...
- Apr 12, 2019No - the 'apply to each' required are automatically added by Flow when it detects that you are using an output that is an array - e.g. if you use an output from 'get emails' (rather than get email) - the action is automatically put inside a 'apply to each'.
Basically, you Flow would need to look almost identical to mine, in terms of blocks, at least.
Regarding the limit on number of emails it will get - I'm not sure, but it would be easy to test.
If you do find there is a limit, you may need to move batches of emails into a folder, and run the Flow multiple times.
Lakshman_Kanth
Feb 07, 2020Copper Contributor
We can use Instant Flow --> When an email is flagged --> Save attachment to One Drive folder.
After creating flow select all mails and add flag then the flow will run
I Did this one for 1500 mails
Thanks ,
LK
- ControllerFredMay 02, 2023Copper ContributorI am new to this process, can you help me set up the flow step by step?
- j_cabanillasJul 13, 2023Copper Contributor
I like this flow and already using it but I need to have something more specific.
I want to extract the attachment but only certain files , like pdf file. I don't want images to get into my folder.
Any idea on how to do that ?- ninjaryderDec 21, 2023Copper Contributor
I just posted a thread on a similar topic.
I want to extract 1 particular attachment from a received email, and save it to Sharepoint. Easy enough with pre-built flows by MSFT, except the "apply to each" piece that kicks in automatically during the build. Signature lines contain lots of png and jpeg files as attachments that get saved due to "apply to each" and I need a way to identify and pull only the file in word or excel as the attachment, skipping the others from sig line. any takers on helping with how to do this?
- YakRancherMar 13, 2023Copper Contributor
Lakshman_Kanth this is genius! Simple and effective. Thanks!