Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

  • Sebe1 Profile Picture
    15 on at
    Re: Scheduled Report on Accounts without open Opportunities

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

     

    Thanks!

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Scheduled Report on Accounts without open Opportunities

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492