This may require Microsoft Graph to get the actual Copy Link URL ... before I play my hand on that, I am going to implement that method my end and I'll get back to you.
I wonder if any of the super user's have an idea on this one so I am tagging @ScottShearer for clarity. If he has the time I am sure he will pop by and let us know his thoughts.
You achieve this via another way.
I did tried the following steps and worked for me.
1. Workflow step : SharePoint when a file is created or modified in a folder
2. Send email
Here in the email body I have captured "filentity tag" and "filename" to construct the link of the file
Note: You don't need curley brackets in the url.
Please let me know how it goes.
Hi @abm Thank you for your response! In the process of following your tips, I actually found an option that I hadn't seen before and that solved this issue very easily by using "Create sharing link for a file or folder" and using the ItemId of the new file. Works like a charm:
Thanks for the info @robinteiner and good spot! I have never spotted that connector but I have acheived getting the "Copy Link" using MS graph. It stands alone as a seperate solution (of sorts), so I will post it seperately for those who may need to harness the power of MS Graph to get SharePoint file data.
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!