# How to get notified via e-mail for the failed jobs?

**URL:** <https://forum.ansible.com/t/how-to-get-notified-via-e-mail-for-the-failed-jobs/37887>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 14, 2023, 8:34am UTC](https://forum.ansible.com/t/how-to-get-notified-via-e-mail-for-the-failed-jobs/37887 "2023-04-14T08:34:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amey](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Amey](https://forum.ansible.com/u/Amey)\
**Post date:** [April 14, 2023, 8:34am UTC](https://forum.ansible.com/t/how-to-get-notified-via-e-mail-for-the-failed-jobs/37887/1 "2023-04-14T08:34:54Z")

</div>

Hello All,

How can I get notified via e-mail if a job fails?

I am on AWX 20.0.1 version.  
I checked the Notification settings but those are applicable for hosts but for jobs.

Is there any option available to enable notifications when a job fails?

Thanks & Regards,  
Amey.

---

<div class="post-metadata">

**Author:** ![Amey](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Amey](https://forum.ansible.com/u/Amey)\
**Post date:** [April 14, 2023, 9:48am UTC](https://forum.ansible.com/t/how-to-get-notified-via-e-mail-for-the-failed-jobs/37887/2 "2023-04-14T09:48:32Z")

</div>

I found following mail thread related to similar requirement = [https://groups.google.com/g/awx-project/c/51uP8kjuqe4](https://groups.google.com/g/awx-project/c/51uP8kjuqe4)

But, I am not able to find {{ job.artifacts }} variable in AWX Notification configuration page.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [April 14, 2023, 5:29pm UTC](https://forum.ansible.com/t/how-to-get-notified-via-e-mail-for-the-failed-jobs/37887/3 "2023-04-14T17:29:27Z")

</div>

Yes you can set it up to get notifications on job failures, see this section in particular [https://docs.ansible.com/automation-controller/latest/html/userguide/notifications.html#enable-and-disable-notifications](https://docs.ansible.com/automation-controller/latest/html/userguide/notifications.html#enable-and-disable-notifications)

see the “failed” attribute here, which should be relevant [https://docs.ansible.com/automation-controller/latest/html/userguide/notification\_parameters\_supported.html](https://docs.ansible.com/automation-controller/latest/html/userguide/notification_parameters_supported.html)

but please read the entire chapter for additional info

AWX Team
