cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dima372
New Member

Power Automate + Yammer

Hi. I need help how to pull a picture from a sharepoint table into a publication. We want to automate congratulating employees on their birthday, examples of screenshots below.

Dima372_2-1632153451535.png

 

Dima372_3-1632153490961.png

and published like this

Dima372_4-1632153554192.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @Dima372,

 

Just to double check, you want to show the thumbnail just like posting it manually, correct?

 

If so, it looks like the Post message action posts the link just as a hyperlink and not an og_image or og_url object.

 

You could workaround that by using the Yammer REST API (https://developer.yammer.com/docs/messages-json-post) with an HTTP action.

 

That does require you to register an App in Yammer and make sure you collect an access token:

https://developer.yammer.com/docs/app-registration

 

When that is setup you could use an HTTP action like below (in your case it would be the og_image object)

 

testpreviewyammerpost.png

View solution in original post

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @Dima372,

 

Just to double check, you want to show the thumbnail just like posting it manually, correct?

 

If so, it looks like the Post message action posts the link just as a hyperlink and not an og_image or og_url object.

 

You could workaround that by using the Yammer REST API (https://developer.yammer.com/docs/messages-json-post) with an HTTP action.

 

That does require you to register an App in Yammer and make sure you collect an access token:

https://developer.yammer.com/docs/app-registration

 

When that is setup you could use an HTTP action like below (in your case it would be the og_image object)

 

testpreviewyammerpost.png

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,389)