
Announcements
Hi all,
sorry I'm completely new to the automate topic and guess I lack some basic understanding, but I hope someone can help.
So my use case is this:
Message is posted in Teams channel --> Keyword yes/no? --> Keyword no: do nothing | Keyword yes: Send message with notification and "initial channel message content" to Teams group chat.
So far I managed to:
EITHER "mirror" the content of a channel message to a group chat OR when keyword is mentioned in channel message send a notification to a group chat.
But NOT the combination of both.
This is because as soon as I use the "Keyword"-Trigger instead of the "Message sent"-Trigger the "Body Content" dynamic content disappears from the list of dynamic content options.
I'm really lost here. I guess I'm missing a step somewhere but don't know enough about the whole matter.
Thanks in advance.
Hi,
You could create a flow using "When a new channel message is added" trigger. Select the channel you want to monitor then, for every message sent triggering flow, check if it contains one of the key words you mentioned.
To illustrate, in the following flow, I check if input message contains '#prod' keyword then post a message to another channel, you can add as many condition as there are keywords if you want to post in a different channel depending of keyword posted or add or/contains in same condition if you want to post in the one channel for all keywords:
I didn't take into account the yes/no input as I think #keyword are enough on their own. But up to you to adapt.
If I have answered your question, please Accept the post as solution.
If you like my response, please Thumbs Up.