Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How to send reminder email of opportunity/task closing date coming to the owner of record of Dynamics 365 CRM using Microsoft Flow?

(0) ShareShare
ReportReport
Posted on by 41

Hi,

 

I am working on Microsoft flow and its working fine to some extent. But there is a small issue which I am helpless how can I fix that. If anyone can fix that it would be great and my flow will start to work.

 

The flow is for sending a reminder on the due date to the owner of the task (Dynamics 365 CRM). It's working fine for one user (the one who made the flow) but I want to send the reminder to the owner of the record. And I have no idea how can I achieve this. Below is my flow. Any help would be highly appreciable. I am stuck here.

 

1.PNG

 

2.PNG

 

3.PNG

  • v-bacao-msft Profile Picture
    on at
    Re: How to send reminder email of opportunity/task closing date coming to the owner of record of Dynamics 365 CRM using Microsoft Flow?

     

    Hi @WaleedBinAfzal ,

     

    You need to get the user info contained in all records first, then remove the duplicates by the union() function.

    Then iterate through these users, append the data of the record with the same user information to the array variable, and then create the HTML table.

    When traversing these users, you need to empty the variables used to store the HTML table data after each traversal.

    Like group by users, please check this blog and see if it helps:

    http://johnliu.net/blog/2018/6/do-group-by-in-flow-with-two-simple-elegant-loops

    Hope it makes sense.

     

    Best Regards,

  • waleedbinafzal Profile Picture
    41 on at
    Re: How to send reminder email of opportunity/task closing date coming to the owner of record of Dynamics 365 CRM using Microsoft Flow?

    @v-bacao-msft ,

     

    that I am already doing (Get User Details) in my flow, check the images that I shared above. The thing is how to retrieve the user information after the apply to each loop in such a way that every user gets an email reminder of only the records related to them.

     

    Still stuck here.

  • v-bacao-msft Profile Picture
    on at
    Re: How to send reminder email of opportunity/task closing date coming to the owner of record of Dynamics 365 CRM using Microsoft Flow?

     

    Hi @WaleedBinAfzal ,

     

    You could get the email corresponding to the Owner through Get record action.

    26.PNG

     

    Best Regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1