Forum Discussion

working-on-it's avatar
working-on-it
Copper Contributor
May 15, 2023

How to send email reminders for a SharePoint Calendar event?

Im looking to create a PowerAutomate flow that sends email reminders (or even a teams message) from a SharePoint Calendar event a day prior to the event.

  • working-on-it 

    To create a scheduled Power Automate flow that checks upcoming events in a SharePoint calendar and sends a reminder to users one day before the event date, you can follow these steps:

    1. Create a new Power Automate flow and choose the "Scheduled - Recurrence" trigger.

    2. Set the recurrence interval to the desired frequency, such as daily or hourly, depending on how often you want to check for upcoming events.

    3. Add a "Get items" action after the trigger to retrieve the upcoming events from the SharePoint calendar. Configure the action to fetch the events based on the desired filters, such as filtering by start date being greater than or equal to today's date.

    4. Add a "Apply to each" action after the "Get items" action. Select the output of the "Get items" action as the input for the loop.

    5. Inside the loop, add a "Condition" action to check if the event's start date is equal to today's date plus one day. Use the expression `addDays(utcNow(), 1, 'yyyy-MM-dd')` to get the date one day from today.

    6. In the "If true" branch of the condition, add an action to send a reminder to the user. Use the "Send an email (V2)" action or the "Post a message (V3)" action to send the reminder, depending on your preferred communication channel.

    7. Configure the email or Teams message with the necessary details, such as the event title, date, location, and any additional information.

    8. Save and test your Power Automate flow. Ensure that you have appropriate permissions to access the SharePoint calendar and send emails or Teams messages.

    By scheduling the flow to run at regular intervals, it will check for upcoming events in the SharePoint calendar. For each upcoming event that matches the condition, the flow will send a reminder to the specified user(s) one day before the event date.

    Remember to activate the flow and monitor its execution to ensure that reminders are being sent correctly for the upcoming events in the SharePoint calendar. Adjust the recurrence interval and other conditions as needed based on your specific requirements.

    If I have answered your question, please mark your post as Solved
    If you like my response, please give it a like

Resources