Forum Discussion
Microsoft Flow: @mention action not working for Teams reply
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
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?- harveer singhAug 19, 2020Iron ContributorYour logic looks correct, am thinking the reason it works for me and not for you with the same logic could be that the feature is still in preview, this feature has been a long standing ask from flow community and finally MS put it into action to some extent, here is another article from Pieter who was able to achieve it with the same logic : https://sharepains.com/2020/07/07/mention-microsoft-teams-power-automate/
Try using @mention with a single brach as shown in the above article and if it still doesn't work am thinking you might just have to wait for it, if it is workable for the time being, you can go with the older approach to achieve this by citing the flow bot to post a response, doesn't look neat but that's all we had back then :
https://powerusers.microsoft.com/t5/Building-Flows/Can-you-Mention-anyone-in-Teams-from-a-flow/m-p/269667#M27395
Thanks- Julian12Aug 21, 2020Brass Contributor
I'm currently testing without the mention token action and I simply added in the code <at>USERMAIL</at> which is working for single users now at least 🙂
Do you have an idea with which method or string I can mention a whole channel?
I tried with its name, channel-ID and the channel mailadress, without success.
Best Regards