
Announcements
Dear Automators,
Good Day!
I am building a flow to post B'Days of many people each day in a Yammer Post Message. I have been able to achieve the following:
1. Check for BDays in a Sharepoint List
2. Ones a few people BDays meets the condition, print a message along with the names that were meeting the condition in Yammer
But, the way the message is being shown is not very good. It is all coming in a single line of text, which would be very confusing to look at if we have hundreds of B'Days in a single day. 🙂
Thus, the ask is to be able to print a Bullet list for the Identified names in the Yammer Message.
Here is how the flow looks:
Here is what results on Yammer:
Please ignore the bottom part of the Yammer message and the Create HTML Table node in the Flow. I am trying a few things out which I'd remove in the final version of the Flow.
But kindly extend any help possible as this is the last step where I am stuck. 🙂 Happy Automating Everyone!
Regards
Ranjeet
Hi @Ranjeet_7396,
As far as I am aware that Yammer connector action doesn't support HTML formatting.
However, a workaround would be to use the Post Message method of the Yammer REST API.
Be aware that for using this REST API you would have to register an app in Yammer and acquire an access token:
https://developer.yammer.com/docs/app-registration. In addition to that the HTTP action is also part of a premium connector.
That Post Message method supports HTML formatting for announcement message types:
https://developer.yammer.com/docs/messages-json-post
"To send an announcement, set the following parameters, and use HTML to format the message body.
is_rich_text:true
message_type:announcement
title: your text here."
Below is an example of that approach.
The result would look something like this: