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 / Weekly Teams Summary -...
Power Automate
Unanswered

Weekly Teams Summary - Based on "Forward emails to a channel"

(0) ShareShare
ReportReport
Posted on by 6

Hello everyone, I am currently experimenting with Power Automate and have already watched various tutorials. I have a specific scenario in mind, but I'm not getting anywhere (maybe it's not even possible?). Maybe someone can help me.

 

I have a Teams Channel "XYZ". When I receive an email with the subject "Article", a post is created in channel "XYZ". This works.

Now I would like to say after 1 week that a 2nd flow goes over it and summarizes these posts (let's say there are 7 of them) in a new post. So the individual 7 posts should not be posted separately again, but simply in one post one below the other.

 

I had thought about using "Get messages" (see screenshot) to get the previous messages. This also seems to work when I look at the output.

 

3.png

What would be the next step to display the messages in a new Weekly Report Post? Do I have to go over the entries via "Apply to each"? Or should I try another way?

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @DaRockwilda83 

     

    so you want post something like this format :

     

    Post Day 1

     This is post for day 1

     

    Post Day 2

    This is post for day 2 

     

     

    Like that right ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

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

  • Verified answer
    harshdeol Profile Picture
    441 Moderator on at

    Hi  @DaRockwilda83 ,

    You're on the right way and as a next step use the Filter array to Filter these messages based on specific condition. After that use an "Apply to each" to iterate on Each message and append them in a String Variable (Initialize that variable at the Top) and send that "Weekly Report Post" message in the channel.

    I create a Sample flow based on the requirements, please review, try it at your end and adjust accordingly.

     

    //Here is the Complete Flow: 

    harshdeol_1-1707661029918.png

     

     

    //Filter Array:

    Get messages gives all messages in from the channel, so "Filter array" is used to Filter messages based on the condition.

    <<Note: I configured it to get last 7 days messages. Please change it accordingly based on your requirements.>>

     

    //Append to string Variable

    Used to Append all messages in string, to post it into the channel.

    <<You can use HTML here with message to format your message in Teams chat.>>

     

    //Post a Message in Chat or Channel

    Switch to Code view and use Variable here from the Dynamic Content.

     

    //Input:

    harshdeol_3-1707659771111.png

    //Output

    harshdeol_0-1707660645576.png

    Please try and let me know if you face any issues.

     

    -----------------------------------------------------------------------------------------------------------------
    If your question got an answer, please click "Accept as Solution "✅, If you liked my answer, please hit the "thumbs-up" 👍button.

    Thank you,
    Harsh Deol

  • DaRockwilda83 Profile Picture
    6 on at

    Many thanks for this detailed flow, which works perfectly as I imagine.

    Above all, I realized that I still have a lot to learn and that it was already too complicated at my level. Because honestly, I wouldn't have come up with this solution at the moment.

    So thank you again!

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard