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 Automate - Building Flows
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

 



 

I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    32,820 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard