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>
