web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to send a message ...
Power Automate
Answered

How to send a message in Teams only when a specific table is updated

(0) ShareShare
ReportReport
Posted on by

Hi,all.

 

One Excel file in Sharepoint has multiple sheets, and each sheet has a table.

Could you please let me know if there is a way to send a message in Teams only when a specific table is updated?

Currently, updating any table sends a message to Teams.

 

The flow is below.

 

1)When an item or file is modified

name of list or library:document

 

2)Initialize variables
Name:List
kinds:string
value:
<table border=”1″>
<tr bgcolor =”#999999″>
<th valign = “middle” align=”center”>Seat type</th>
<th valign = “middle” align=”center”>No.</th>
<th valign = “middle” align=”center”>manager</th>
<th valign = “middle” align=”center”>Project name</th>
<th valign = “middle” align=”center”>Contract line name</th>
</tr>

 

3)List rows that exist in a table

document library:document

table:table-A

 

4)Apply to each
conditions:Sheet type is equal to, etc.
if yes,add to string variable
Name:List
value:
<tr>
<td>Seat type</td>
<td>No.</td>
<td>manager</td>
<td>Project name</td>
<td>Contract line name</td>
</tr>

 

5)add to string variable 3
Name:List
value:</table>

 

6)conditions 2
Sharepoint updater email address is equal:My email address
if yes,Post a message in a chat or channel

 

powerautomate231010-01.png

 

powerautomate231010-02.png

 

powerautomate231010-03.png

 

powerautomate231010-04.png

 

 

 

 


Thank you in advance.

 

Categories:
I have the same question (0)
  • Verified answer
    Unknown geen idee Profile Picture
    1,757 on at

    Dear P,

    I see 2 ways in which you can resolve your issue:

    • Split the tables in 1 file across multiple files such that you can use the trigger 'When a file is modified ...'.
    • Use a periodic check for a trigger of the flow and build in the flow a comparison between the last version (a saved copy of the latest table status) and the current one ... if there is any difference you can pinpoint this and take action accordingly.

    Happy flowing,

    Koen

  • Patricia11 Profile Picture
    on at

    Dear @Koen5 

    Thank you for your reply.

    Since I can't split it into multiple files, I'd like to use periodic checks to trigger the flow and include a comparison between the last version and the current version in the flow.

    I'll look into how to do it.

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard