Send SharePoint page owners new comments and likes

%3CLINGO-SUB%20id%3D%22lingo-sub-270269%22%20slang%3D%22en-US%22%3ESend%20SharePoint%20page%20owners%20new%20comments%20and%20likes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270269%22%20slang%3D%22en-US%22%3E%3CP%3EUsers%20who%20post%20pages%20in%20SharePoint%2C%20especially%20News%20want%20to%20know%20when%20a%20new%20someone%20comments%20or%20likes%20their%20post%20without%20having%20to%20check%20each%20day%20so%20they%20can%20respond%20to%20the%20user.%3C%2FP%3E%0A%3CP%3EBy%20using%20the%20SharePoint%20Send%20HTTP%20action%20its%20possible%20to%20retrieve%20the%20Comments%20and%20Likes%20and%20then%20email%20the%20owners.%26nbsp%3B%20I%20created%20this%20Flow%20to%20run%20each%20day%2C%20loop%20through%20all%20the%20pages%20and%20retrieve%20the%20likes%20and%20comments.%26nbsp%3B%20It%20checks%20the%20created%20date%20for%20each%20comment%20and%20like%20and%20if%20in%20the%20last%20day%2C%20it%20sends%20the%20created%20by%20an%20email%20with%20the%20number%20of%20likes%20and%20the%20comment%20text%20with%20the%20person%20who%20submitted%20it.%3C%2FP%3E%0A%3CP%3EThanks%20to%20Elio%20Struyf%20for%20the%20API%20calls%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.eliostruyf.com%2Fgetting-likes-and-comments-from-modern-pages%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.eliostruyf.com%2Fgetting-likes-and-comments-from-modern-pages%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-270269%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Regular Contributor

Users who post pages in SharePoint, especially News want to know when a new someone comments or likes their post without having to check each day so they can respond to the user.

By using the SharePoint Send HTTP action its possible to retrieve the Comments and Likes and then email the owners.  I created this Flow to run each day, loop through all the pages and retrieve the likes and comments.  It checks the created date for each comment and like and if in the last day, it sends the created by an email with the number of likes and the comment text with the person who submitted it.

Thanks to Elio Struyf for the API calls

https://www.eliostruyf.com/getting-likes-and-comments-from-modern-pages/

0 Replies