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 / "When Keywords are Men...
Power Automate
Suggested Answer

"When Keywords are Mentioned" MS Teams Trigger is Not Firing

(5) ShareShare
ReportReport
Posted on by 10
Hi,
 
"When Keywords are Mentioned" MS Teams Trigger is Not Firing
 
I have tried to check my connections, recconect, start a new flow, etc. but the trigger is still not firing...
 
All my connections are working.
 
Categories:
I have the same question (0)
  • SV-04061811-0 Profile Picture
    2 on at
    I am having the exact same issue with all of my tiggers for these flows as well, haven't been able to find a fix but seems like a big issue right now?
  • CM-04061914-0 Profile Picture
    2 on at
    Same here, triggers are not running at all, they are not even being recognized!
  • GD-04061919-0 Profile Picture
    3 on at
    Boa tarde, estou com o mesmo problema 😢
  • JT-04062008-0 Profile Picture
    3 on at
    Same problem.
  • JS-05112119-0 Profile Picture
    15 on at
    It seems like the 'When keywords are mentioned' action is still broken - or - they changed how it works when using multiple keywords that are separated by a comma. 
     
    My flow has worked fine since recently. 
     
    I can confirm that it triggers when I edit it to only use one keyword, but as soon as comma's are used to add multiple words, it's a no-go. 
  • GZ-19070058-0 Profile Picture
    7 on at
    Just discovered this was broken today. 
     
    Has anyone opened a ticket with Microsoft on this issue?  I am going to try. 
     
    We had a few perfectly working flows that broke when we updated the solution from our dev to prod.  I wasn't even working on those flows, just adding a new one to the solution.
  • Suggested answer
    GZ-19070058-0 Profile Picture
    7 on at
    I really needed this to work and did not have time to wait for Microsoft to fix this, so I have a solution.

    I consider this more a workaround than a solution, but it works and the trigger response is near instant.

    1. Change your trigger from Teams Keywords to 'Teams - When a new messages is added to a chat or channel'

    2. Initialize a variable called 'Keywords' or whatever you want, type = array, content = make it a json array of your keywords:
    [
    "these",
    "are",
    "my",
    "words"
    ]
     
    3. Action: Teams - Get Message Details:
    Message = triggerOutputs()?['body/value']?[0]?['messageId']
    Message type = channel
    Team = triggerOutputs()?['body/value']?[0]?['teamId']
    Channel = triggerOutputs()?['body/value']?[0]?['channelId']

    4. Compose (join subject and body words into array): 
    split(toLower(concat(outputs('Get_message_details')?['body/subject'], ' ', outputs('Get_message_details')?['body/body/plainTextContent'])), ' ')
     
    5. Condition (checks if keywords are present):
    left box = length(intersection(variables('Keywords'), outputs('Compose')))
    operator = is greater than
    right box = 0

    So this looks for new messages, inits a variable array of your keywords, creates an array of words from the message subject and body, and compares that against your keyword array.  Hope this helps someone.
  • Ellis Karim Profile Picture
    12,122 Super User 2026 Season 1 on at
    I was just testing this trigger, and I got the error message "Only single words are supported for this trigger." 

    I have never used this trigger before. Did it previously allow multiple keywords or phrases?
     
     
    The document seems to say that you should use "single" keywords separated by a comma:  Microsoft Teams - Connectors | Microsoft Learn | When keywords are mentioned. But I could only get the trigger to work when I uses only a single keyword:
     
     
     
    Ellis Karim
    Ellis Karim
    Blog | LinkedIn | Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
     
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 471

#2
11manish Profile Picture

11manish 246

#3
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

Last 30 days Overall leaderboard