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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Scheduled Report on Ac...
Power Automate
Answered

Scheduled Report on Accounts without open Opportunities

(0) ShareShare
ReportReport
Posted on by 15

Hi Guys,

 

I'm trying to build a Flow that sends a Report out via E-Mail on all Account that don't have an open Opportunity.

Is that even possible?

 

I found this Post: https://powerusers.microsoft.com/t5/Using-Flows/How-to-get-N-1-relationship-data-from-Dynamics-CRM/m-p/559652#M14319

But I'm unclear if I can use this and how to use this to look for Accounts WITHOUT Open Opportunities.

 

Could there be a way where I get all Accounts and all Open Opportunities and then filter on the Accounts that are not in the Opportunity List?

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Sebe1,

     

    It seems like you can get the list that Accounts for open Opportunities.

    You could list all Email accounts, loop through all Email accounts, then use the contains() function to determine the list that Accounts for open Opportunities whether it contains current Email accounts.

    For example,

    the list that Accounts for open Opportunities, array variable named "List":

    [
    "Email1@domain.com",
    "Email2@domain.com",
    "Email3@domain.com"
    ]

    A email needs to determine whether exists in the above list:

    Email123@domain.com

    contains(variable('List'),'Email123@domain.com')

    Then it will return: false

     

    So, you could structure such Flow to loop through Emails needs to judge, if it not exists, append it into an array variable to store these Emails Accounts without open Opportunities.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Sebe1 Profile Picture
    15 on at

    Thank you! That sounds like a good way. I'll try to build that. 🙂

     

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard