# Run Unoptimized Aggregation Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884>\
**Category:** Workflows\
**Tags:** workflows, community-developed, sailpoint-identity-security\
**Created:** [January 9, 2024, 2:41pm UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884 "2024-01-09T14:41:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [January 9, 2024, 2:41pm UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/1 "2024-01-09T14:41:31Z")

</div>

![Marketplace-Gradient](https://global.discourse-cdn.com/sailpoint/original/2X/8/80d641c272cb7c183bd77ce4e4cd9e4e23ce4561.jpeg)

  

| | | |
| --- | --- | --- |
| 🗒 | **Description** | Workflow template to run automated unoptimized aggregation for a source |
| ⚖ | **Legal Agreement** | **By using this CoLab item, you are agreeing to SailPoint’s [Terms of Service](https://developer.sailpoint.com/discuss/tos) for our developer community and open-source CoLab.** |
| 🛠 | **Repository Link** | [GitHub - Run Unoptimized Aggregation](https://github.com/sailpoint-oss/colab-workflows/tree/main/workflows/run-unoptomized-aggregation) |
| 📖 | **New to Workflows in the CoLab?** | [Read the getting started guide for Workflows in the CoLab.](https://developer.sailpoint.com/discuss/t/getting-started-with-workflows-in-the-colab/11321) |
| 🏥 | **Supported by** | [Community Developed](https://developer.sailpoint.com/discuss/t/colab-support-models/17095#community-developed-busts_in_silhouette-3) |

# Overview

This workflow will help you start an unoptimized aggregation for a source on a specified schedule

# Requirements

You must have an Identity Now tenant with the Workflows feature enabled.

# Guide

This workflows uses an HTTP Request action to call load Accounts API to run an unoptimized aggregation for a source.

Please modify:

- The scheduled trigger time based on your needs.
- The tenant name, client ID, secret and source ID in HTTP Request action.
- The recipient email address in Send Email action.

Note: This HTTP Request URL will have to be modified once we receive a V3 or a BETA API replacement for loadAccounts CC API.

You can add more HTTP requests to this workflow to start aggregation for additional sources.

  
To learn how to download and install workflow files, please read this guide.

> [@Getting Started with Workflows in the CoLab](https://developer.sailpoint.com/discuss/t/getting-started-with-workflows-in-the-colab/11321):
>
> Use this category to view and download Identity Security Cloud (ISC) workflows built by the community. Follow these steps to download a workflow from the CoLab and start using it: Download the workflow you want from the #Workflows category. Go to the Workflows dashboard in IDN and click the + New Workflow button. Choose this option: Start with a JSON file Either drag and drop your JSON file into the window or click the drag-and-drop area to upload the file from your computer. The workflow auto…

---

<div class="post-metadata">

**Author:** ![jlars16](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jlars16](https://developer.sailpoint.com/discuss/u/jlars16)\
**Post date:** [March 1, 2024, 7:18pm UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/2 "2024-03-01T19:18:35Z")

</div>

Sharvari - Thank you so much for creating this! We had a huge need to schedule unoptimized aggregations, and it was threatening to delay our go-live date if we couldn’t get it figured out. This has saved us so much time and heartache!

---

<div class="post-metadata">

**Author:** ![adamian](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@adamian](https://developer.sailpoint.com/discuss/u/adamian)\
**Post date:** [April 19, 2024, 10:22am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/3 "2024-04-19T10:22:53Z")

</div>

> [@sharvari](#):
>
> This workflows uses an HTTP Request action to call load Accounts API to run an unoptimized aggregation for a source.

Hi @sharvari, they created the new API: [import-accounts | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/import-accounts)

---

<div class="post-metadata">

**Author:** ![bharanib2](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@bharanib2](https://developer.sailpoint.com/discuss/u/bharanib2)\
**Post date:** [November 13, 2025, 8:52am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/4 "2025-11-13T08:52:53Z")

</div>

Hi Josh,

Did you run the unoptimized aggregation and did it solve the problem. Accounts are already created on AD and when we are trying to create identities on SailPoint IDN, duplicate accounts are creating on AD. And we are planning for unoptimized aggregation.

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 16, 2026, 8:40am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/5 "2026-06-16T08:40:07Z")

</div>

I have tried the unoptimized aggregation in the workflow, but it keeps on failing.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/0/7/0796a16b93ae781639e00940232086b415c8eaf7.png)  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/9/19db7d541b5baf936a0b122ccb60f5a66b359582.png)

Anything I missed?

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://developer.sailpoint.com/discuss/u/Charlie)\
**Post date:** [August 19, 2026, 4:08am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/6 "2026-08-19T04:08:29Z")

</div>

Hi @Santhakumar , are you able to run this endpoint with the same auth details in Postman?

---

<div class="post-metadata">

**Author:** ![bhanuprakashkuruva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/bhanuprakashkuruva/32/22154_2.png) [@bhanuprakashkuruva](https://developer.sailpoint.com/discuss/u/bhanuprakashkuruva)\
**Post date:** [August 22, 2026, 7:41am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/7 "2026-08-22T07:41:57Z")

</div>

Thanks much for sharing it @sharvari , is there a way to run or hit the API (among the collections) through Postman given by SailPoint directly instead of this?

---

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [September 9, 2026, 2:02am UTC](https://developer.sailpoint.com/discuss/t/run-unoptimized-aggregation-workflow/23884/8 "2026-09-09T02:02:43Z")

</div>

Yes, this can by done by calling the API directly too. Calling it from workflow is useful when you plan to run it more frequently on a given schedule.
