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 / Send an email when a m...
Power Automate
Unanswered

Send an email when a message is added to a TEAMS channel

(0) ShareShare
ReportReport
Posted on by 14

Hi All,

 

I have a GH action which posts the message to teams channel.

 

 

- name: Send Notification to Microsoft Teams
uses: aliencube/microsoft-teams-actions@v0.8.0
with:
webhook_uri: "${{ secrets.MICROSOFT_TEAMS_WEBHOOK_URL_DEMO }}"
title: "UI Automation Reports"
summary: "Passed-${{ env.passed }} | Failed-${{ env.failed }} | Broken-${{ env.broken }} | Total-${{ env.total }} | Pass Percentage-${{ env.percent }}%"
text: |
\
Report Summary:\
\
Passed - ${{ env.passed }} \
Failed - ${{ env.failed }} \
Broken - ${{ env.broken }} \
Total - ${{ env.total }} \
Pass Percentage - ${{ env.percent }}%

 

 


which looks like this in teams --
image.png

Using power automate, I am using trigger "sending email whenever a channel message is added to teams".
So when I am using dynamic content --> message.summary, I am getting those details in email as mentioned in the summary tag in above gh action.
But how shall I get the details of text attribute mentioned in above gh action in my email. Using the dynamic content - message.bodycontent do not works.




Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @shwetank_verma 

     

    Currently how the data looks like when viewed from Power Automate ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • shwetank_verma Profile Picture
    14 on at

    i have attached the screenshot

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @shwetank_verma 

     

    i could not find any screenshot 

     

  • shwetank_verma Profile Picture
    14 on at

    Capture.JPG

  • shwetank_verma Profile Picture
    14 on at

    i have attached it again now..

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    No what i meant how the same content looks like when looking through via power automate action's results ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • shwetank_verma Profile Picture
    14 on at

    Capture1.JPG

     

    this is how it looks in email from the power automate trigger

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @shwetank_verma 

     

    May i know what details u exactly need ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • shwetank_verma Profile Picture
    14 on at

    So when I am using dynamic content --> message.summary, I am getting those details in email as mentioned in the summary tag in above gh action.
    But how shall I get the details of text attribute mentioned in above gh action in my email. Using the dynamic content - message.bodycontent do not works.

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @shwetank_verma 

     

    Actually i did not get what you meant by text attribute - did you meant by values present for Passed, Failed etc ?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard