Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

automatically post a message in the Channel when it is birthday of someone.

(0) ShareShare
ReportReport
Posted on by 3

I have an Excel list contains the name /birthday.

 

I would like to build a flow so that it check the current date to see if it is matching the date in my excel list.

if there is any matching, the bot will post a message on a specific channel wishing that person a Happy birthday.

  • PatrickL42 Profile Picture
    10 on at
    Re: automatically post a message in the Channel when it is birthday of someone.

    Greetings, 

     

    This can be achieved by using the excel connector. To begin with, you should create a Scheduled Cloud Flow and set the repetition rate to once per day.

     

    Add the "current time" action from "date time", this will give you data output in this fomat: [2024-01-01T00:00:00.0000000], however you only want the date, therefore this will need to be edited in further steps.

     

    Then, select the Excel Business Connector/List Rows in a table, and choose your table. Expand the advanced options, and in the "Filter Query" input, type this in: "startswith([column name of the column storing birthdays], substring([dynamic output from "current time"],0,10)". Note to input the "substring([dynamic output from "current time"],0,10)" as a fuction, as it is a function to get the first ten chacracters of the "current time" output, which is the date in xxxx-xx-xx/year-month-date fomat. Also, please note to make sure that the birthdays in your excel database are also in that format and that instead of employees' name, their business email adresses should be listed in another column.

     

    This should give you the dynamic output allowing you to use the email address of the specific person who has their birthday on this date, you can then use this to send a teams message in the specific channel you wish for the bot to send the message in with the microsoft teams connector. An example of the message can be "Happy birthday! @[user email from dynamics]".

     

    Best regards,

    Patrick

     

    If you find this helpful, please consider marking it as the solution to help me and other people to get relevant help on this topic aswell! 😀

    You can also help me by giving me a free 👍! Thank you in advance.

     

    Note: This is one of my first responses to problems, any corrections will be extremely appreciated, thank you!

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: automatically post a message in the Channel when it is birthday of someone.

    So the excel columns are Name of person and Date of Birth of person right ??

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow