web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to generate a hype...
Power Automate
Suggested Answer

How to generate a hyperlink to access a document in a Sharepoint library?

(0) ShareShare
ReportReport
Posted on by 18
Hello, I'm creating a flow that is connected to a Share point site that has a Library and a list that need to be related, that is, each document that is in a folder in the library will be related to the corresponding records in the list.
In the list there is the Filename column that contains the name of the document that must be related, and in the URL column it must be filled automatically through the Power Automate flow and must show the name of the document and must be displayed as a hyperlink and open the document.
I'm using the trigger When an item or file is modified so that when uploading information to the list it creates the relationship, but I still have doubts about how to search for the documents in the folders because there are several folders, and I still don't understand how to make the hyperlink because I have seen several examples but it is not clear to me.
I would greatly appreciate your help.
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    @besthannie I have a couple of YT Tutorials that may help you with your flow. Whenever you use an automated trigger in your flow it's always best practice to use trigger conditions. This way your flow will only trigger when you want it to trigger (based on the conditions you set) — instead of triggering each time an item or file is modified.
     
     
    In this Microsoft Power Automate video tutorial, I’ll show you how to quickly create folders based on a SharePoint list—while adding a hyperlink with custom display text to the folder for easy access. This workflow can work for many use cases such as patients, students, employees and more.
    Manually creating folders and adding the hyperlink can be time-consuming and prone to errors. This Power Automate flow will create the folders and hyperlinks in under a minute.
    First, I will show you how to create an automation that will create folders and hyperlinks in bulk by manually triggering the flow. Then, I’ll show you how to create an automated cloud flow that will automatically create a folder and add a hyperlink to a SharePoint list as soon as a new item is added to the list.
    IN THIS VIDEO:
    ✓ Create an instant cloud flow with a manual trigger
    ✓ Create folders in bulk from a SharePoint list
    ✓ How to create a Filter Query in the Get Items action
    ✓ How to get the internal column name in SharePoint
    ✓ Add a Hyperlink with Custom Display Text to a SharePoint list
    ✓ Use the Send HTTP Request to SharePoint action
     
    ---
     
     
    If you are using an Automated Cloud flow trigger in your flow—you need to consider adding trigger conditions.
    Do YOU 🫵 know what a trigger condition is?
     
    Trigger conditions can be set in most flow triggers. These conditions you set must be true for the trigger to fire.
    In this Power Automate tutorial, I’m going to show you how to use trigger conditions in your flows to control when your Power Automate flows trigger. If your plan has flow run limits—you can avoid triggering your flows unnecessarily by using trigger conditions.
     
    I’ll cover four different flow examples that would benefit from trigger conditions:
    ⚡️ Triggering a flow when a column is changed to a specific value
    ⚡️ Triggering a Flow When an Event Updated or Deleted
    ⚡️ Triggering a Flow When a New Folder is Created
    ⚡️ Triggering a Flow When a Specific Email is Received
    I’ll also show you a trick on how to easily create the expressions needed and give you a few tips on how to troubleshoot your flow.
    IN THIS VIDEO:
    ✓ Four different flows that would benefit from trigger conditions
    ✓ What is a trigger condition?
    ✓ How to add a trigger condition to your flow
    ✓ How to trigger a flow when a column is changed to a specific value
    ✓ How to trigger a flow when an event is updated or Deleted
    ✓ How to trigger a flow when a new folder is created
    ✓ How to trigger a flow when a specific email is received
    ✓ How to troubleshoot a trigger condition
    ✓ How to prevent case sensitivity issues with a trigger condition
    ✓ How to use the filter array action to easily compose an expression that can be used in a trigger condition
     
    If you still run into issues while building your flow, share screenshots of your full flow and the logic behind it. 
    Upload a screenshot of your flow in edit mode. If you are using the new designer, toggle it off and click each action to expand it.
     
     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • Suggested answer
    CA1105 Profile Picture
    545 Super User 2025 Season 2 on at
     
    You can open any document in browser and click on the Open original by clicking on three dots(...) so it'll give you the exact URL to open that document. Now from that URL you can understand how you can generate the URL for your document and store some where to use/open the document directly instead of searching within folders.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard