web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Mutiple Birthday to po...
Power Automate
Unanswered

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:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,175 Most Valuable Professional on at
    Re: Mutiple Birthday to post in Microsoft teams

    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
    Re: Mutiple Birthday to post in Microsoft teams

    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

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard