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 / Teams Message Trigger ...
Power Automate
Answered

Teams Message Trigger Condition for IMPORTANT! / high

(4) ShareShare
ReportReport
Posted on by

I've spent the last few days trying to figure out how to run a flow only when a message is posted with 'IMPORTANT!' and I just figured it out with the help of a few other articles.  I didn't find anything else exactly like this, so I thought I'd share here.  It's actually very simple.  

 

Overall flow:

mjregil_0-1626361887225.png

 

 Click the menu for "When a new channel message is added..." and choose "Settings"

mjregil_1-1626361402531.png

 

Find "Trigger Conditions" and click "Add"

mjregil_2-1626361435694.png

Add the following

 

 

@equals(triggerOutputs()?['body/importance'], 'high')

 

 

 

 Click "Save" and do whatever else you want with the flow.

 

It might take minutes for the flow to actaully work.  I've seen other posts that indicate this can be slowed based on the number of API calls your tennant is making and your subsciption level.  I've seen it take seconds and I've seen it take 20 minutes.  Â¯\_(ツ)_/¯

 

Enjoy!

Categories:
I have the same question (0)
  • Verified answer
    AnthonyAmador Profile Picture
    2,557 Moderator on at

    Hi @mjregil 

     

    Thanks for sharing your findings and helping others with your solution. 

    Consider marking the thread as solved to help others find it more easily.

     

    Cheers.

  • zbroinx Profile Picture
    2 on at

    It's possible to save that message?

    2022-08-02 17_18_24-Window.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard