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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an item in Shar...
Power Automate
Unanswered

Create an item in SharePoint when a file is modified in SharePoint

(0) ShareShare
ReportReport
Posted on by

Hello,

I am fairly new to the complex Workflows and for the past several days been fighting this setup without any success. Maybe I am not doing it right so any help would be greatly appreciated.

 

I need to build a flow that updates the List whenever a file in the library is added, deleted or modified. It literlaly needs to mirror it. For the timebeing, I am using default columns, Title, Modified, and Modified By.

 

As you see from the screenshots, it works, somewhat. But when i click on the item in the list, it only displays file with the extention, but what I need it to show is the clickable link to the file. I tried adding Link To Item step but all it does is displaying it as a text, not a link.

 

Can someone PLEASE walk me through on how to configure this flow so whenever I add an item in the library, it generates a clickable link that takes users to this file, and not just a static text?

Greatly appreciate any help!

 

 

 

library.JPGlist.JPGflow1.JPGflow2.JPGresult.JPGresult details.JPG

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at
    Re: Create an item in SharePoint when a file is modified in SharePoint

    Hi @JeffKuliyev,

     

    According to your description, I have made a test on my side. It seems that adding an attachment to the item in the list is also a good way to check the file content by clicking the item.

     

    The flow is configured likes below, please take it for a reference.

     

    It is triggered by When a file is created or modified (properties only), then the action Create item. In the Create item action, fill in the corresponding columns, Title, Modified, and ModifiedBy.

     

    Then the action Get file metadata, use the dynamic content Identifier in the File identifier field.

     

    In the action Get file content, use the Id from the action Get file metadata.

     

    In the action Add attachment, use the Id from the action Create item, File name with extension from the trigger, File content from the previous action Get file content.

    1.PNG

     

    When the flow is triggered, the file would be attached to the item, then you could check the attachment when checking the item.

    Please take a try with it on your side.

     

    Best regards,

    Mabel Mao

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard