cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
patrick1992
Level: Powered On

How do I set a reminder for Outlook Event from a Flow

 

I am taking data from a Create New Contracts in Dynamics 365 and adding it to yhe Outlook Calendar.

 

The way I want it to work is:

 

- a user creates a new contract in Dynamics 365

- the Contract End Date creates an Event in Outlook calendar

- the user gets an email notification a week before the event

 

In the Caledar app, there is a way to create Email reminders from New Events, is there a way to use that in Flows?

 

I have a flow creating the event, but I want to know how to make a flow that will send an email notification a week before the event.

 

Any ideas?

Thanks in advance.

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: How do I set a reminder for Outlook Event from a Flow

Hi patrick1992,

 

According to your scenario, to send an email notification a week before the event, I assume that this flow configuration could be a reference for you:
3.PNG


More details about the flow configuration:


In the Compose action, use the function formateDateTime and adddays to format the StartTime of the event to a week before the event(date only).


The function is configured as: 

formatDateTime(adddays(triggerBody()?['Start'],-7),'yyyy-MM-dd')

 More details about the function, please check this documentation about Workflow definition language:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

 

 In the Condition, if the output from the Compose action is equal to today’s date, send an email.


Note, I also use formateDateTime function to format the utcnow() to date only.

 

Then when a new event is created, if the condition meets, an email would be sent.

 

Please modify the flow according to your needs. Please feel free reply if you need more help.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
patrick1992
Level: Powered On

Re: How do I set a reminder for Outlook Event from a Flow

But won't this only scheck once if the due date is in 7 days? That would mean I only get Email notifications if it is, while I'm trying to get Calander to send email reminders.

 

Also can you explain triggerBody()?['Start']

 

Thanks in advance.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,058)