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.
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
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2