Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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.

 

  • Patricia11 Profile Picture
    on at
    Re: How to send a message in Teams only when a specific table is updated

    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.

  • Verified answer
    Unknown geen idee Profile Picture
    1,755 on at
    Re: How to send a message in Teams only when a specific table is updated

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >