Forum Discussion
Microsoft Flow: @mention action not working for Teams reply
Hey Julian12 ,
Couple of places you could have gone wrong, here is a working screenshot reference:
First off the end result; note that message posted in teams says "Via email" when someone posts email to channel :
So, Instead of using the condition "if the sender from name is" a better option would be "Message from display name contains" like:
Next make sure the flow is replying to the right message, Use "Message ID" (unique for every message) for this :
and that should do the trick.
Thanks
- Julian12Aug 18, 2020Brass Contributor
Hi harveer singh,
thanks for your detailed explanation!
I rebuilt my flow with the exact same objects and values to your example but still I'm getting these nasty errors. I even tried other channels and other users with which I built the flow, still no luck.
Following is a screenshot of my current flow, though in german but should be same elements:
Maybe you notice something.
The errors occur as soon as I add the mention Token action to the flow, first for the condition and as as soon as I add the last reply to message action, the 2nd error is popping up^^
Best Regards
- harveer singhAug 18, 2020Iron Contributor
Hey Julian12 ,
Can you try nullifying the other condition, the one where there is no match, also can you try to use mention for some other user.
Thanks
- Julian12Aug 19, 2020Brass ContributorWhat do you mena with nullifying the False condition? Simply leaving it empty?
I tried that too, but no change.
I tried with moving the get-mention token action to differentplaces but it produces everywhere even when I remove the condition and only the trigger -> mention -> reply message actions are left^^
It's always saying that the Inputparameters for the following action after the mention token action has an invalid expression?
Are there any logs or deeper error descriptions available in Flow?