Forum Discussion

DragonNinja's avatar
DragonNinja
Copper Contributor
Jan 17, 2024

Sharepoint news post to the correct Teams/Channel through Power Automate

Hello everyone,

 

When news is posted in Sharepoint site it sends adaptive card with Power Automate to the right Team/Channel. I am using trigger: When a file is created then action: Post card in a chat or channel, where I can select the Post in Team and Channel. 

But it should send dynamically in the right Team/Channel how can I trigger this from the Sharepoint main Site and when a news item is posted how to get all the data like groupId Team, ChannelID so I can then apply dynamically for this specific Team and channel?

 

Maybe using Sharepoint list to lookup and then for example use Switch/Else if to compose the metadata?

 

Thanks hoping to get in the right direction if possible.

1 Reply

  • kingmanmp4's avatar
    kingmanmp4
    Copper Contributor

    I'm trying to do the same by using "News" in the page metadata, but I can't find a straightforward explanation of how to do this.  Any advice would be greatly appreciated.

Resources