Forum Discussion
SuleimanDC
Sep 02, 2020Iron Contributor
Power Automate: Post a message when a new member is added to the Team
Has anyone tried this flow? I've added it to my test team but the message output is directed to the object id associated with the user. See the attached file for clarity.
- Sep 03, 2020You have to use one of the other actions that say mention a user instead of post the a message action.
Sep 03, 2020
Yeah, create a list on the SharePoint site to hold the new members information you want to post, if it's just their name, then you could just store that. Have the flow run each member add to add to the list. Then Have another flow on a 1 week schedule that Reads the list data and forms the message post into the Team from that.
You would have to loop through each item in the list, and in that loop get the @mention tokens to use in your message if you want to mention those individuals. Then post the message using the generated data elements and then remove the individuals from the list.
But overall that's how you would accomplish that.
You would have to loop through each item in the list, and in that loop get the @mention tokens to use in your message if you want to mention those individuals. Then post the message using the generated data elements and then remove the individuals from the list.
But overall that's how you would accomplish that.
Mike1865
Sep 03, 2020Copper Contributor
Thank you Sir, I'll give that a go