Skip to main content
Community site session details

Community site session details

Session Id : pfT+fibLF2hGEHv/rP+3eE
Power Automate - General Discussion
Unanswered

Add to Playlist from Power Automate?

Like (2) ShareShare
ReportReport
Posted on 19 Jul 2023 07:27:31 by 8

Hi,

I want to add videos in SharePoint playlist based on the some condition using Power Automate. Could you please suggest me how to add videos in Playlist from power automate. 

Scenario

I have one Sharepoint list library where we are storing videos. When user insert or update any record in the list, it will trigger power automate flow and check the video type. If video type Approved then it will be insert in SharePoint playlist. 

  • MateuszKl Profile Picture
    16 on 03 Nov 2023 at 20:37:13
    Re: Add to Playlist from Power Automate?

    Hello @rahul444,

     

    I stumbled across the same problem as I have pretty much the exact same scenario. My research just led me to you 🙂
    Although your post is >3 months old, I couldn't find a solution.

     

    It is possible to create items from the list experience, which looks different for the "Playlist" list type. However, in the full view of the items in the list, any kind of link to the video is missing, which seemed kind of suspicious to me. This also makes it impossible to use the regular "Create Item" action in Power Automate, as there is no field to name the matching video.


    So I tried to make an HTTP request to Sharepoint via Power Automate to get the list details. The API actually always offers more details.

    I made 2 GET requests with the Uri. First to get the correct GUID, second to get the Items. 

     

    _api/web/lists/getbytitle('PLAYLIST NAME')
    _api/web/lists(guid'PLAYLIST GUID')/Items

     

    And indeed, there is an attribute called "VideoIdentifiers" in the list, which is not shown in the frontend!The attribute seems to follow this pattern:

     

    "VideoIdentifiers": "{\"UniqueId\":\"VIDEO GUID\",\"Id\":\"VIDEO ID\",\"WebAbsoluteUrl\":\"SHAREPOINT SITE\",\"ListFullUrl\":\"VIDEO PATH\",\"WebDavUrl\":\"VIDEO PATH WITH FILENAME AND EXTENSION"}"

     

    The POST method then also worked via "Send an HTTP request to Sharepoint"!

    Uri:

    _api/Web/Lists(guid'LIST GUID')/Items

    Body:

    {
    "Title": "VIDEO TITLE",
    "VideoIdentifiers": "{\"UniqueId\":\"VIDEO GUID\",\"Id\":\"VIDEO ID\",\"WebAbsoluteUrl\":\"SHAREPOINT SITE\",\"ListFullUrl\":\"VIDEO PATH\",\"WebDavUrl\":\"VIDEO PATH WITH FILENAME AND EXTENSION"}"
    }

     

    To make it look prettier you should add the other fields as well (at least the thumbnail). 

    I don't think this is a particularly practical solution, but it works. I still hope that MS can come up with a better solution soon, but at the same time I assume they will!

     

    I hope I was able to help you and all those who are looking for a solution here.

     

    Best wishes

    Mateusz

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete