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
Unanswered

How to send a message to teams when a cell is updated in excel

(0) ShareShare
ReportReport
Posted on by

Hey everyone!

 

Is it possible to Post a Teams Message when the approval cell is updated to post? Also, How to trigger it from excel?

Screenshot 2023-08-28 172731.png

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Pls refer the sample flow:

    1. Since we don't have any automated trigger for excel so we will use schedule flow to read records from excel send the records to teams channel. You may change the configuration as per your need:

    ManishSolanki_0-1693277314633.png

    2. Next, add "List rows in a table" action to fetch the records from the excel sheet. We will add filter query to fetch only those approval status is set to "Post". Here I am opening an excel sheet saved on my one drive:

    ManishSolanki_1-1693277458329.png

     

    3. Now, add "Filter array" action to get the records which are required to be posted for today. Pls ignore this action if you don't need this:

    ManishSolanki_2-1693277638169.png

    here, you need to write expression for both left & side operand in the condition. Expressions are written in the expression window as highlighted in the above screenshot.

    Expression used for left side operand:

    formatDateTime(item()?['Date'],'yyyy-MM-dd')

    Expression for right side operand:

    formatDateTime(utcNow(),'yyyy-MM-dd')

     

    4. We will not create a html table using "Create HTML table" action:

    ManishSolanki_3-1693277900666.png

    Expression used for 'Date' header value:

    formatDateTime(item()?['Date'],'MM/dd/yyyy')

    Expression used for 'Post Type' header value:

    item()?['Post Type']

     Expression used for 'Post Location' header value:

    item()?['Post Location']

    Expression used for 'Ambassador Name' header value:

    item()?['Ambassador Name']

     Expression used for 'Idea Description' header value:

    item()?['Idea Description']

     

    5. Finally, post the message in the teams channel using "Post message in a chat or channel" action:

    ManishSolanki_4-1693278207198.png

    I have also added the .zip package of the flow so that you can import in your environment and make changes as required.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • CU14112301-0 Profile Picture
    2 on at
    Hi,
     
    can you please share the zip package with flow as mentioned above.
     
    thank you so much.
     
     
    Regards,
    Subhash

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard