Power Automate – Send Birthday Email

If you are just starting with power automate and trying out some simple stuffs to find your way around.

One of the most popular automation is to trigger an automated email greeting Birthday wishes to your colleagues.

Not everyone would have access to system to fetch the birthdates of colleagues.

If you have a small team or a smaller group that you would like to greet them on their birthdays,

then below steps will help you to achieve the task.

Of course, there are much better ways available on internet but for me this was very simple and good enough to get started.

Try it out yourself and comment in case you find this useful or have any alternate way.

Pre-requisite:

  1. A SharePoint Site with Full Control.
  2. Create a List in SharePoint Site

Columns:

  1. Name: Person or group
  2. BirthDate: Choice (enter numbers from 01 to 31)  [make sure the numbers are in 2 digit format like 01, 02, 03,………10, 11, 12,…..]
  3. BirthMonth: Choice (enter names of months)
  1. Fill the data in the columns

  1. Go to Power Automate web portal:
  1. Create a Flow > Scheduled Flow > Recurrence set as 09:00 am every day.
  2. Add an Action: Current time
  3. Add an Action: Compose (Data Operation) > in field Inputs select Expression and type utcNow(‘dd’)
    1. Rename this step as Current Date
  4. Add an Action: Compose (Data Operation) > in field Inputs select Expression and type utcNow(‘MMMM’)
    1. Rename this step as Current Month
  5. Add an Action: Get items (SharePoint)
    1. Site Address: Enter your SharePoint site link
    2. List Name: Enter your list name
    3. Filter Query : (BirthDate eq ‘@{outputs(‘Current_Date’)}‘) and (BirthMonth eq ‘@{outputs(‘Current_Month’)}‘)
  6. Add an Action: Apply to each (Control)
    1. Add an Action: Send an email (V2) (Office 365 Outlook)
    2. To: select Dynamic Content > Name Email
    3. Subject: Happy Birthday “select Dynamic Content > Name Email”
    4. Body: Enter your birthday greetings
  7. Save the Steps
  8. Test the flow

Screenshot of the Power Automate Flow:

Detailed Screenshot of the steps and actions: