cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Flow for sending email notifications by O365 distribution group

Hello all,

I need to create a flow that allows me to send email notifications based on the division of the user who created, modified or deleted an activity in Dynamics 365.

How can I ensure in the flow with the SWITCH function that emails will be sent to the 3 distribution groups according to the division of CRM users?

Do you have any examples please?

Thank you for your help.

Regards.

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Flow for sending email notifications by O365 distribution group

 

Hello @bioethics ,

 

An option is to create 3 flows with these CDS triggers -

1. When a record is created

2. When a record is updated

3. When a record is deleted

 

The created by lookup value can be used for sending the email in the first flow.

The modified by lookup value can be used for sending the email in the second flow.

While there is no column to track the third one, but it should still be possible to get a notification for the third one.

 

-Thanks and Regards,

 

Highlighted
Regular Visitor

Re: Flow for sending email notifications by O365 distribution group

Thank you for your answer.
In each flow, I want to add condition like a switch in order to send email in fonction of the user division.
I have 3 divisions and in fonction of the user division which has created the record, i want to send an email to his division.

 

Regards.

Highlighted
Community Support
Community Support

Re: Flow for sending email notifications by O365 distribution group

 

Yup, in that case you can have the switch action to decide which Division you want to send email to.

 

PAC5.PNG

Highlighted
Regular Visitor

Re: Flow for sending email notifications by O365 distribution group

Thank you for the example. 

I will test it.

Regards.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (7,617)