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 / Mutiple Birthday to po...
Power Automate
Answered

Mutiple Birthday to post in Microsoft teams

(0) ShareShare
ReportReport
Posted on by

Hello everyone!
I'm new in power automate.

I created a flow that will send notification in Microsoft Teams Channel, but the problem is when there's two or more people have a same birthdate the automate send two separate messages.
 

JB261_0-1680182938219.png
the result that I want is.
Birthday today
Manuel
Juan

I want to combine the values.

here's the flow that I created.

JB261_1-1680183082009.pngJB261_2-1680183107678.png

 



 

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @JB261,

     

    Within the current setup (where you retrieve all birthdays first) you could use a array variable to store the names of the people who celebrate their birthday. Outside the loop you could check if there are any birthdays today and if so, use the values of that array in one single message.

     

    Btw, you could also use the filter query field in the Get items & Select (to avoid the apply to each loop).

     

    Below is an example with your current setup.

     

    1. The second condition action uses:

    length(variables('BirthdayArray'))

    is not equal to 0

     

    2. The Post a message action Message field is switched to code view and has this value

    <p>Birthday Today<br>
    @{join(variables('BirthdayArray'), '<br>')}</p>

     

    checkbirthdays.png

  • JB261 Profile Picture
    on at

    Hi @Expiscornovus it's worked! thank you so much.

    JB261_0-1680491223003.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard