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 Apps / Identify outbound emai...
Power Apps
Answered

Identify outbound emails that have not been replied to regarding records in a particular status from a custom table

(0) ShareShare
ReportReport
Posted on by 130

We will probably achieve this via Power Automate and I wasn't sure whether to post here or in the Power Automate forum.

 

Our customers have paid Power Apps licenses, with email tracking turned on - so outbound emails from the model driven app are tracked in Outlook, with inbound replies automatically associated with the correct record in Dataverse.  We do not have any Dynamics 365 subscription - this is purely a Power Apps paid license solution.

 

We want to identify records associated with an outbound email sent from the custom solution that have not been replied to.  The email is sent from within the custom solution, and is an initial email (not a reply), so it will be the first in the email conversation thread - so parentactivityid is null.

 

What I am hoping to do is:

  • find all shed records with statuscode eq to "Enquiry" -  SHEDS array
  • find all outbound emails with parentactivityid eq null for Sheds in SHEDS array - EMAILS array
  • remove from EMAILS collection any emails where the activityid is referenced in parentactivityid of any subsequent inbound emails (because that assumes customer has replied).
  • this will leave me with a list of emails not replied to (I think)

I have two questions

  1. Is there an easier or better way to identify outbound emails not replied to than what I've described? (Using Power Apps license, not D365 license)
  2. Is my logic sound?

 

I have the same question (0)
  • Linn Zaw Win Profile Picture
    2,996 on at

    Power Automate cloud flow would be an easy solution.

    In a cloud flow, you can query the Emails and Order by Regarding column. Then, loop through and look for the Sheds record with only 1 Email.

  • Verified answer
    Sarah Bennett - Teal Software Profile Picture
    130 on at

    Thanks @LinnZawWin this is how I ended up doing it:

    - populate one array with all sheds in particular status with outbound email with empty regarding column

    - populate a second array with all sheds in particular status with inbound email

     

    Then did an except type approach to return sheds in first array but not in second array.  From review of the data it seems to be providing us the required data.  The tricky bit was the EXCEPT - but I found a tutorial from Damo Bird that was close to what I needed - https://www.damobird365.com/efficien-union-except-and-intersect-great-method/.

    sb_teal_0-1685069488743.png

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard