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 / Flow doesn't work prop...
Power Automate
Suggested Answer

Flow doesn't work properly when two people have a birthday on same day.

(1) ShareShare
ReportReport
Posted on by 1,095
Hello,
 
I have the PowerAutomate below that posts a Teams Card when someone has a birthday.

That works perfectly fine until two people have their birthday on the same day, at which point the names of the two birthday celebrants appear on one card.
Is it possible to modify this Flow so that if more people have their birthday on the same day, two Cards are posted?
 
Categories:
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    3,910 on at
    Hi @frixel,
     
    Before going deeper, if we implement this logic like retrive all birthday records for the day --> Use Apply to each loop for each record --> Inside the loop "Post a separate Teams card" for each celebrant?
     
    It seems, your flow collects all birthday names into a single arrya or string and posts one card with all names concatenated. By looping over each birthday record and posting a card inside the loop, you ensure each person gets their own card.
     
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • frixel Profile Picture
    1,095 on at
    Yes, that is correct; what happens now is that all those celebrating their birthdays on that day end up on one card.
    The intention is for every birthday person to receive their own card.
    Where should that extra loop be placed then?
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    701 on at
    Hi Frixel,
     
    It is hard to suggest the place as you shared an overview without knowing the exact details of each action. I do assume that the action Append to string variable is adding a birthday. Instead of appending it, you can then post the card in this loop (Apply to each). I don't know what the actions Get file metadata and Create sharing link for a file or folder are used for. They might need to be put in the same loop as well.
  • Suggested answer
    Haque Profile Picture
    3,910 on at
    Hi @frixel,
     
    I guess André Arnaud is correct, can follow this. Please let's know if that work.
  • frixel Profile Picture
    1,095 on at
     
    I have tried a few things, but I can't get it to work.
     
    I have tried to outline the flow somewhat clearly below; hopefully, you can help me further with this.

    The Get file metadata and Create sharing link for a file or folder is needed for the image that is sent along with the card. (Because the image is on SharePoint, it needs to be shared so that everyone can see it.)
     
     
     
     
     
  • André Arnaud de Calavon Profile Picture
    701 on at
    Hi Frixel,

    When I understand correctly, the Get file metadata and Create sharing link for a file or folder are used regardless of any person celebrating their birthday. You can then place these actions before Apply to each.
     
    Can you share what exact attempt you have done? Maybe you can also share the details of the post card action?
  • frixel Profile Picture
    1,095 on at
     
     the Get file metadata and Create sharing link for a file or folder are for the image (hurrah image) that is on Sharepoint.
     
    This is the card.
     
     
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    701 on at
    Hi Frixel,
     
    Thanks for this latest reply. This makes it at least clear to me how to continue. I'm Dutch, so I also understand the message you want to send within the card.
     
    You can change your flow orchestration to something like this: 
     
     
    The contents of Condition 1 might be added to the Condition itself. The post card action should then have the variable Namen from the Excel table instead of the Jarigen variable. You don't need this variable with this design.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 285 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 193

#3
Haque Profile Picture

Haque 180

Last 30 days Overall leaderboard