I'm building a flow that handles email attachments and saves them to a SharePoint library, and onwards pushes them into an approval process.
I've managed to filter out email signatures and only accept certain file types, but i am still having some issues since i have to use "apply to each" statements. When i configure my approval, I cannot retreive any data from the sharepoint file creation, since it's located in another "apply to each".
Q. Is it possible to start a separete flow for each attachment in an email?
Thanks
//Ed
Hi eddevadde,
I assume that your flow is triggered by “Office 365 Outlook – When a new email arrives”. Could you show me a screenshot of your flow?
When we use this trigger, the attachments in the email will be saved in the destination folder, such as a SharePoint library.
If you want to start a flow for each attachment in an email, you may consider to create another flow which is triggered by “SharePoint – When a file is created”.
Please try if this trigger will meet your needs.
Best regards,
Mabel Mao
Thanks for your reply!
The problem with the approach you are suggesting is that i loose the metadata about the file. Like the sender of the original email. I also cannot manually create any meta data for a file in SharePoint? (I just started working with flow so i might be missing something here.)
This is the flow, in three parts, since i can't fit it all in one screen.
Start of flow:
Create file in SharePoint (Tillämpa på vardera)
Approval process (Tillämpa på vardera 2)
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
47 | |
44 | |
43 | |
42 | |
36 |
User | Count |
---|---|
83 | |
78 | |
69 | |
51 | |
47 |