# How to get the account details after Account Aggregation Completed from Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171>\
**Category:** SHF Discussion and Questions\
**Tags:** accounts, workflows, sailpoint-identity-security, aggregation\
**Created:** [March 24, 2025, 7:56am UTC](https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171 "2025-03-24T07:56:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sst11](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@sst11](https://developer.sailpoint.com/discuss/u/sst11)\
**Post date:** [March 24, 2025, 7:56am UTC](https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171/1 "2025-03-24T07:56:50Z")

</div>

Hi all,

I have created one workflow and attempts to get all the accounts after the triggers - account aggregation completed.

May I know how can I get the accounts that have been aggregated? I need to get the account ID specifically for next action.

Appreciate any advice.

Thanks!

---

<div class="post-metadata">

**Author:** ![ashutosh\_singh](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@ashutosh\_singh](https://developer.sailpoint.com/discuss/u/ashutosh_singh)\
**Post date:** [March 24, 2025, 8:16am UTC](https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171/2 "2025-03-24T08:16:03Z")

</div>

Hi @sst11,

If it is just about account retrieval, then you can use below API to fetch account. Also, you can use a lot of filters in this API to narrow down your search.

[list-accounts | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/v2024/list-accounts)

Let me know if I am missing anything specific in the requirement.  
Thanks

---

<div class="post-metadata">

**Author:** ![iamnithesh](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/iamnithesh/32/42445_2.png) [@iamnithesh](https://developer.sailpoint.com/discuss/u/iamnithesh)\
**Post date:** [March 24, 2025, 1:35pm UTC](https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171/3 "2025-03-24T13:35:48Z")

</div>

Are you looking to act only on new accounts aggregated? In that case you may use “Source Account Created” trigger and the workflow will trigger for each new account created in ISC.

In case you need to act on updated accounts then you can use “Source Account Updated” trigger.

If you want to capture both cases, then you would need 3 workflows

1. A common workflow that accepts account ID and runs the action you need to on the account created or modified
2. A workflow that gets triggered when a new account is created and calls the workflow #1 passing the account ID
3. A workflow that gets triggered when an account is updated and calls the workflow #1 passing the account ID

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [May 23, 2025, 1:36pm UTC](https://developer.sailpoint.com/discuss/t/how-to-get-the-account-details-after-account-aggregation-completed-from-workflow/105171/4 "2025-05-23T13:36:15Z")

</div>

Closed on May 23, 2025, 1:36pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
