web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get a unique gr...
Power Automate
Answered

How to get a unique group chat to get triggered

(1) ShareShare
ReportReport
Posted on by 1,714 Moderator

Hi guys,

 

I have attached a pic of a very simple flow.

 

Goal is to get message details when a new chat message is added. Now, I don't want this to get triggered every time I send a message in teams in any group chat. I want this flow to get triggered only when a new chat message has come in that particular group chat.

 

Scenario:

Let's say I have these group chats:
Test1

Test2

Test3

 

I want this flow to only trigger for group chat, Test1.

 

Now, I send a message in Test1, this flow will get triggered.

Next, I send a message in Test2, this flow should not get triggered.

Similarly, in Test3 also it should not trigger.

 

I was trying to see under this trigger's settings if I can trigger that group chat only but I am not sure how to do it.

Please do let me know what can be done here. Thank you!

NathanAlvares24_0-1718913708459.png

 

Categories:
I have the same question (0)
  • Verified answer
    Anil_g Profile Picture
    668 Moderator on at

    @NathanAlvares24 

     

    you can use trigger condition on the channel or chat id in trigger under settings

     

    @equals(first(triggerOutputs()?['body/value'])?['conversationid'],'GiveIDHere')

     

    Anil_g_2-1718918017143.png

     

    to get conversation id of channel or chat..run the flow and send message in channel you need ..and you would find it

    Anil_g_1-1718917982015.png

     

    Hope this helps

     

    cheers

  • Verified answer
    BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @NathanAlvares24 ,

     

    As per the documentation, this trigger has no parameters, so you can't use those: Microsoft Teams - Connectors | Microsoft Learn

     

    However, it does have the option to set trigger conditions. If you leverage that, you can get it to trigger only for the selected conversationID:

    BCBuizer_0-1718918291788.png

     

     

    @equals(first(triggerOutputs()?['body/value'])['conversationID'],'abcd')
    

     

     

  • NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Thank you to both of you'll, @BCBuizer and @Anil_g ! This trigger expression worked like a charm.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard