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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Retrieve all activities for a specific account with Power Automate

(0) ShareShare
ReportReport
Posted on by 153

Hi

I want to retrieve all activities for a specific account using a Power Automate Flow, is that possible?

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You can use List records action and filter the record by regarding field

    powerusers.microsoft.com/.../678478

  • Suggested answer
    Yuri ji Profile Picture
    on at

    Hi Jellew,

    I agreed with what Bipin said and then I tested successfully.

    You could follow my steps below to try it out:

    1. Create a flow, for ease of testing I chose "Manually trigger a flow" as the trigger. If you have special needs you can choose another one.

       pastedimage1660893545055v4.png

    2. Create a new step “List rows”, choose an entity. Use “Filter rows” to filter a specific account.

       pastedimage1660893559115v5.png

       You can find GUID at this account’s URL

       pastedimage1660893602627v6.png

    3. Select an option “Create HTML table” to view the results. You can choose how you want to view the results according to your own needs.

       Value: @{outputs('List_rows')?['body/value']}

       Owner: @{item()?['_ownerid_value@OData.Community.Display.V1.FormattedValue']}

       Regarding: @{item()?['_regardingobjectid_value@OData.Community.Display.V1.FormattedValue']}

       ActivityType: @{item()?['activitytypecode’]}  

       Subject: @{item()?['activitytypecode’]}

       pastedimage1660893492822v2.png

    4. Select “Test” in the upper-right corner to test the functionality.

       pastedimage1660893515419v3.png

       pastedimage1660893441838v1.png

       

  • Jellew Profile Picture
    153 on at

    When create a flow like yours, I don't get any data back, and I know that there is activities on this account.

    pastedimage1660895161391v1.png

  • Jellew Profile Picture
    153 on at

    Is there an easier way to export all activities on a account, it's for GDPR, we need to be able to export all to files.

  • Suggested answer
    KK-365 Profile Picture
    1,010 on at

    If you want to export all activities specific to an Account, please follow the below steps:

    Step 1:  open Advance Find

    pastedimage1660897293927v1.png

    Step 2: Select Look for Activities, and search for "In related section, choose Regarding Account". 

    pastedimage1660897418534v2.png

    Step 3: Select regarding account contains data and search for Account name Equals "XXXX". click Result.

    pastedimage1660897506627v3.png

    If you need, you can also update the columns you want to export.

    DO mark this answer Verified, you this solve your problem.

  • Jellew Profile Picture
    153 on at

    Thanks for the reply, but I don't get any data if add an Account Name (Number)

    pastedimage1660903104378v2.png

    If i do the query without the Account name filter, and then add the columns to the view I get data and can see the Account name in the column. Any idea?

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Can you please share the result screenshot without Account number filter condition

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans