Hello,
I have to create a flow that is triggered when I receive an email. Email's body and attachment have to be saved in SharePoint in a folder that is named by the sender.
Bellow I attached my progress until now:
Thank you!
Hi @User0987
You need to add some actions to your Power Automate to Save the attachments.
You might also want to have a look at the template and build on it https://unitedkingdom.flow.microsoft.com/en-us/galleries/public/templates/f7a46809e53c42108034e56acf...
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
The error occurs at the folder creation part or searching. Thing is I've just realised that I have to create a function that parse every sender's address by domain. So that a folder to contain every email from a company and not every email from every worker in a company
To create the folder name by domain you can use the split function as below
split('senderemail','@')[1]
Also can you share a screenshot of the History of your flow run that is failing.
If this post helps you with your problem, please mark your as Accepted solution.
If you like my response, please give it a Thumbs Up.
MG (Naturally Curious)
By does not run do you mean it does not get triggered?
Or when you open the flow run history no steps are executed...
You need to use the below action instead of List Folder
Where outputs is the Folder Name ,
The use the below condition:
Then your condition will be as below
If yes than the folder exist , No folder does not exist
If this post helps you with your problem, please mark your as Accepted solution.
If you like my response, please give it a Thumbs Up.
MG (Naturally Curious)
User | Count |
---|---|
95 | |
48 | |
21 | |
19 | |
18 |
User | Count |
---|---|
137 | |
54 | |
42 | |
40 | |
30 |