I have a flow that will save file attachments sent to my email in a folder in onedrive. It is also set up to send an email whenever a file is saved in this folder. I want this email notification to have a link to the file in onedrive. Is there a way to do this?
Solved! Go to Solution.
Hi @thewiteam,
Could you please share a screenshot of your flow's configuration?
Do you create two separated flows on your side?
Further, do you want to send an email including the link to a OneDrive file?
If you want to send an email including the link to a created OneDrive file, I think the "Create share link" action could achieve your needs. I have made a test on my side and please take a try with the following workaround:
Within right branch of Parallel branch action, add a "When a file is created" trigger, specify Folder value. Add a "Create share link" action, File field set to File identifier dynamic content of the "When a file is created" trigger. Add a "Send an email" action, Body field set to Web URL dynamic content of the "Create share link" action.
Image reference:
The flow works successfully as below:
Best regards,
Kris
Hi @thewiteam,
Could you please share a screenshot of your flow's configuration?
Do you create two separated flows on your side?
Further, do you want to send an email including the link to a OneDrive file?
If you want to send an email including the link to a created OneDrive file, I think the "Create share link" action could achieve your needs. I have made a test on my side and please take a try with the following workaround:
Within right branch of Parallel branch action, add a "When a file is created" trigger, specify Folder value. Add a "Create share link" action, File field set to File identifier dynamic content of the "When a file is created" trigger. Add a "Send an email" action, Body field set to Web URL dynamic content of the "Create share link" action.
Image reference:
The flow works successfully as below:
Best regards,
Kris
Thanks for the help!
I get this error while trying to run the flow. any help?
Been playing with this for awhile and your solution worked wonderfully. However, can you help with a solution to send the email and include the share link and original subject/body? This is what I have now but it's not linking the original flagged email subject link and body. Any help is much appreciated!
Thank you.!
This solution works.
When is file is created, command has been removed from power automate, but it still works. Thank you.!
How can I embed the link vs having the whole URL show?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
26 | |
23 | |
17 | |
10 |
User | Count |
---|---|
61 | |
54 | |
29 | |
27 | |
24 |