cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vistex
Level: Powered On

Get link of copied file

I have flow that triggers for selected file.

I am able to copy that file but I want to send link to this file. I have problem with "get item" because i dont have ID of the new file.

Is there a way to get link for the copied file or at least file directory?

Thanks for ideas!

3 REPLIES 3
scotth82
Level: Powered On

Re: Get link of copied file

Hi Vistex,

 

Can you share a screenshot of your flow for the creating the second file please?

 

I think if you use the "apply to each" and then the "create file" action you can then use "get file properties" and use the "current item" dynamic content type.

 

flow.PNG

 

Thanks

 

Scott

Community Support Team
Community Support Team

Re: Get link of copied file

Hi @Vistex,

 

Could you share more details on your scenario?

I assume that your flow is triggered by “For a selected item”. Then you want to copy that file to a different library and send an email with the link to this file.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vistex
Level: Powered On

Re: Get link of copied file

Thank you all for advice.

 

I kinda workaround it by taking site url with folder path for folder link

like : example.sharepoint.com/sites/project/folder1/folder?web=1

and same for document

example.sharepoint.com/sites/project/folder1/folder/document.docx?web=1

 

are there any risks with this solution or its gonna work everytime?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 401 members 6,531 guests
Please welcome our newest community members: