Showing results for 
Search instead for 
Did you mean: 
New Member

Specify target channel from either channel name or groupId/channelId combo ?

My goal is to send a Teams message to a dynamic target channel.


I currently have an Excel file containing rows of [key | Channel name | groupId/channelId ].  For example :


Key1  Channel 1    "groupId":"...","channelId":"..."

Key2  Channel 2    "groupId":"...","channelId":"..."


(the groupId/channelId values are extracted from the Teams application and manually inserted in the Excel file)


So, in my flow, I have the "key" in hand.  I have an Excel "get a row" task that filters with that key, and then another task assigns a variable with the groupId/channelId value.


I would then like to send a message to that channel.  In the "send a Teams message" task, the Channel field is pre-filled with my organization's channels, and then there's the "Add a custom value" option.


What is the syntax for that custom value ?  I've tried using the channel name or the groupId/channelId combo, both result in an error.



New Member

Found my answer, you just need to use the value for the channelId, no double-quotes, inside the "Channel" field in the Power Automate "Send a Teams message" form.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,280)