Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Ntification flow with Sharepoint List + Outlook mail notification based on a date trigger

Posted on 22 Nov 2024 10:35:02 by
Hello!

I am totally new in the flow topic, so sorry if the question could be "too easy" for you.

I have an existing Sharepoint list with various columns (most important are for the flow columns "alert date" and "responsible")
What I need is the following flow:
If the date in column "alert date" has been reached, an automatic reminder mail with certain text should be sent every week to the people listed in "responisible" column.

Many thanks
Harry
 
  • CU22111109-0 Profile Picture
    CU22111109-0 2 on 22 Nov 2024 at 11:30:56
    Ntification flow with Sharepoint List + Outlook mail notification based on a date trigger

    Steps to Create the Flow in Power Automate

    1. Create a New Flow

      • Open Power Automate and go to My flows.
      • Click New flow and choose Scheduled cloud flow.
      • Give your flow a name, and set the recurrence to weekly (for example, every week on a certain day). You can adjust the time when you want the flow to trigger.
    2. Get Items from the SharePoint List

      • Click New step, search for SharePoint and select the Get items action.
      • Set the Site Address to your SharePoint site.
      • Set the List Name to the list where your alert date and responsible columns are located.
    3. Filter Items by Alert Date

      • Add a Filter Query to only retrieve items where the alert date has passed or is today.
      • For the Filter Query, use something like:
         
        alertdate le 'utcnow()'
      • This will filter out all items where the alert date is earlier or today, so only relevant items will be retrieved.
    4. Loop Through the Items

      • After retrieving the items, click New step and choose Apply to each.
      • In the Apply to each box, select the output from the Get items action (value).
      • This will loop through each item in the list that matches the filter criteria.
    5. Send an Email Reminder

      • Inside the Apply to each step, click Add an action, then search for Outlook or Office 365 Outlook and choose Send an email (V2).
      • In the To field, select the responsible column. Make sure the responsible column in SharePoint contains an email address, or if it's a person field, you may need to extract the email address like this:
      •  
      • item()?['ResponsibleEmail']
      •  
        (where ResponsibleEmail is the name of the column that contains the person's email address)
      •  
      • Set the Subject to something like "Reminder: Action Required".
      • In the Body field, write the text of your reminder email. You can reference fields from the SharePoint list as needed, such as the alert date, item name, etc.

      Example for email body:

      Hello,

      This is a reminder that the action for [Item Name] is due as of [Alert Date].

      Please ensure that you have completed the necessary actions.

      Thank you!
    6. Set up the Weekly Reminder

      • Add a Delay action after the email to make sure the reminder is sent every week for the same item. For this, set the Delay to 7 days.
    7. Save and Test the Flow

      • After finishing your flow setup, click Save and Test it. You can either test it manually or wait until the next trigger time to see it run automatically.

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,081

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,795

Leaderboard