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 / 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,129 Super User 2025 Season 2 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,129 Super User 2025 Season 2 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,129 Super User 2025 Season 2 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,129 Super User 2025 Season 2 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,129 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard