Hey all! I'm trying to create a simple email system that is sent out whenever an agent sends a message in the "Help" channel and says a specific keyword (in this case, "aux").
The goal is to have agents send the messauge AUX, and then power automate to reply with a bot message and then send an email to a specific set of people with the users name and message content.
Seems the only way to get the message content and username ID is to add "get messages" however doing so gets ALL messages, and while there is a way to filter for the specified keyword, it still enters all of the user messages that include the keyword and replies to the one message but then sends an email per every other teams message.
This is what I would like to happen:
Agent types: Hey, I need help with my aux state, can someone help?
Bot reply in MS Teams: Hey! An email has been sent to the team, please keep an eye out for a reply
Email sent from PA to team: Subject: Aux request, Body: Hey, USERNAME requests an aux check. Here is the following message content: MESSAGECONTENT
I apologize for lack of pictures, I am using mobile and its not working. My workplace prevents access from outside of the iMac so I dont have direct access to it from my iMac either. Weird situation but I do have access to allowing bots and stuff (and have it working for other keywords)