web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an Email automati...
Power Automate
Unanswered

Send an Email automatically in dynamics 365

(0) ShareShare
ReportReport
Posted on by 642

I have a drop-down field named email status in lead form. At the end of the day users should receive an email which lists the leads whose email status is equal to bounce.

The email should include, these fields

1. Lead name

2. Email

3. Created by user name

4. Modified by user name

I'm struggling with this please guide

I'm able to get all the other fields in the email except the created by and modified by user name

Also When the user receives an email, they should be able to see the count of leads whose email status is equal to bounce

Kindly guide

Best Regards,

Sumaira Noor

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @Sumaira 

     

    Are these users are D365 users who want to receive the email? Where the email user lists are defined? Do you want to send this email from D365 or using office365 Outlook connector?

     

    Thanks

  • Sumaira Profile Picture
    642 on at

    Thanks a lot for the quick response @abm 

    Yes the users are dynamics 365 users

    Users are present within dynamics 365

    I should send using office365 Outlook connector

    Kindly guide

    Best Regards,

    Sumaira

  • abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @Sumaira 

     

    Please follow the below

     

    image.png

     

    image.png

    image.png

     

    The expression for finding the total record is as follows:

    length(body('List_Leads')?['value'])
     
    Note: By default CDS only gives you 512 records. If you expecting more than 512 records then click on the setting and increase the pagination.
     
    If you looking to get the created by user name then you won't be able to use the Create HTML table. You need to iterate all the results in a loop and add a Get Record by id where you can pass the created by GUID to retrieve the user details. In that case you need to change the logic accordingly. 
     
    The above flow will give you an idea about what are the steps you required to resolve your requirement. 
     

    Thanks

  • Sumaira Profile Picture
    642 on at

    Thanks a lot for the response and information @abm 

    I'm looking to get the created by and modified user name. If you could please help me in those steps it will be very much helpful. 

    Best regards, 

    Sumaira 

  • abm abm Profile Picture
    32,981 Most Valuable Professional on at

    Hi @Sumaira 

     

    Extend the List records to use the FetchXML query where you can include the relationships from other entities. FetchXML query List records are only available under CDS default connector. For this you need to create a solution for flow.

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard