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!
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:
@equals(first(triggerOutputs()?['body/value'])['conversationID'],'abcd')
you can use trigger condition on the channel or chat id in trigger under settings
@equals(first(triggerOutputs()?['body/value'])?['conversationid'],'GiveIDHere')
to get conversation id of channel or chat..run the flow and send message in channel you need ..and you would find it
Hope this helps
cheers
stampcoin
25
Pstork1
22
Most Valuable Professional
David_MA
20
Super User 2025 Season 1