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 / How to send messages i...
Power Automate
Answered

How to send messages in Teams only if conditions are met

(0) ShareShare
ReportReport
Posted on by

Hello,

I have an Excel file stored on Sharepoint, and 
I would like to create an HTML table and send a message using Teams only when conditions are met.

However, the message will be sent even if the conditions are not met.

 

If the conditions were met, the following message was sent.

powerautomate231011-01.png

 

 

 

 

 

 

 

 

 

If the conditions were not met, the following message was sent.

powerautomate231011-02.png

 

 

 

 

 

 

 

The flow is below.

 

powerautomate231011-03.png

powerautomate231011-04.png

powerautomate231011-05.png

powerautomate231011-06.png

 

Any guidance would be much appreciated.

 

 

Categories:
I have the same question (0)
  • Verified answer
    Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hello @Patricia11 

     

    I am pretty sure that the condition was true. But you will see that in the flow run history.

     

    I can’t read the condition so I can’t help further.

     

    But there are better ways to create an HTML table. There is an action that does that for you. And it is always better to filter the array and not apply to each and append after checking a condition.

  • Patricia11 Profile Picture
    on at

    Hello @Matthy79 

    Thank you for your reply.

    I had success with the array filtering and HTML table creation.
    Thank you for your help.

     

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
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard