# Account Aggregation Failed Notification Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882>\
**Category:** Workflows\
**Tags:** workflows, community-developed, sailpoint-identity-security\
**Created:** [January 9, 2024, 2:39pm UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882 "2024-01-09T14:39:23Z")\
**Posts on this page:** 5\
**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:39pm UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882/1 "2024-01-09T14:39:23Z")

</div>

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

  

| | | |
| --- | --- | --- |
| 🗒 | **Description** | Workflow template to Send email when an account aggregation fails |
| ⚖ | **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 - Account Aggregation Failed Notification](https://github.com/sailpoint-oss/colab-workflows/tree/main/workflows/account-aggregation-failed-notification) |
| 📖 | **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 simple workflow will send an email notification when account aggregation fails

# Requirements

You must have a SailPoint Identity Security tenant with the Workflows feature enabled.

# Guide

This workflow sends out an email notification to the Source Administrator whenever aggregation fails.

Please modify the Source Name and Recipient Email address in the workflow after importing it into your tenant.

  

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 SailPoint Human Fabric (SHF) 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 #CoLab > 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 workfl…

---

<div class="post-metadata">

**Author:** ![saikumarS](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@saikumarS](https://developer.sailpoint.com/discuss/u/saikumarS)\
**Post date:** [May 19, 2025, 8:14am UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882/2 "2025-05-19T08:14:07Z")

</div>

HI Sharvari,

I tried the workflow with Error variable and able to get notification.

Can we get notifications for warning? I tried like below and not getting notifications, can you let me know if that feasible or not.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/1/11a0916ffa4acb34bef8be5996231686b18f7aa1.png)

---

<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:** [May 19, 2025, 3:40pm UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882/3 "2025-05-19T15:40:57Z")

</div>

Yes, you can. For warnings also the status will be Success and hence it didn’t work for you for above example. Please refer to the sample response from trigger. For warnings you need to check $.trigger.warnings

```auto
{
    "source":{
        "id":"4e4d982afddff4267ab12f0f1e72b5e6d",
        "name":"Corporate Active Directory",
        "type":"SOURCE"
    },
    "status":"Success",
    "started":"2020-06-29T22:01:50.474Z",
    "completed":"2020-06-29T22:02:04.090Z",
    "errors":[

    ],
    "warnings":[
        "Account skipped"
    ],
    "stats":{
        "scanned":200,
        "unchanged":190,
        "changed":6,
        "added":4,
        "removed":3
    }
}

```

---

<div class="post-metadata">

**Author:** ![saikumarS](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@saikumarS](https://developer.sailpoint.com/discuss/u/saikumarS)\
**Post date:** [May 20, 2025, 5:36am UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882/4 "2025-05-20T05:36:40Z")

</div>

I even tried with $.trigger.warnings and it didn’t work for me.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/8/4/84a62bc13e31f1bdc2a364ef24318c2a9a017871.png)

---

<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:** [May 20, 2025, 8:24am UTC](https://developer.sailpoint.com/discuss/t/account-aggregation-failed-notification-workflow/23882/5 "2025-05-20T08:24:00Z")

</div>

It will not work because you are comparing the wrong values, status will not be same as warnings anytime. Kindly go through documentation for workflows to understand how these trigger, actions and operators work. Thank you!
