# I need to trigger process via email (Event-Based Automation)

**URL:** <https://forum.ansible.com/t/i-need-to-trigger-process-via-email-event-based-automation/8830>\
**Category:** Get Help\
**Tags:** fortinet, awx\
**Created:** [September 27, 2024, 6:48pm UTC](https://forum.ansible.com/t/i-need-to-trigger-process-via-email-event-based-automation/8830 "2024-09-27T18:48:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Judson\_Nascimento](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/judson_nascimento/32/4896_2.png) [@Judson\_Nascimento](https://forum.ansible.com/u/Judson_Nascimento)\
**Post date:** [September 27, 2024, 6:48pm UTC](https://forum.ansible.com/t/i-need-to-trigger-process-via-email-event-based-automation/8830/1 "2024-09-27T18:48:27Z")

</div>

I am successfully using Ansible AWX to apply and standardize configurations on Cisco switches. Now, I will start doing the same on Fortinet equipment, such as firewalls.  
However, I have encountered a challenge for which I have not yet found a solution in Ansible AWX: initiating configuration processes from emails. For example, if an email is sent to [switch-ansible@mycompany.com](mailto:switch-ansible@mycompany.com) with the message “Hello user, your access has been approved,” a command should be executed to add the user to a specific group.  
Has anyone implemented something similar? Could you please share your experiences?

---

<div class="post-metadata">

**Author:** ![jiholland](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jiholland/32/11273_2.png) [@jiholland](https://forum.ansible.com/u/jiholland)\
**Post date:** [September 28, 2024, 6:10am UTC](https://forum.ansible.com/t/i-need-to-trigger-process-via-email-event-based-automation/8830/2 "2024-09-28T06:10:14Z")

</div>

Hi.  
You cannot interact with AWX by email.  
However, you can create a play that launches a template in AWX using the [awx.awx collection](https://docs.ansible.com/ansible/latest/collections/awx/awx/index.html), and then trigger the execution of that play through some sort of event-driven process.

---

<div class="post-metadata">

**Author:** ![jiholland](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jiholland/32/11273_2.png) [@jiholland](https://forum.ansible.com/u/jiholland)\
**Post date:** [September 30, 2024, 6:05am UTC](https://forum.ansible.com/t/i-need-to-trigger-process-via-email-event-based-automation/8830/3 "2024-09-30T06:05:10Z")

</div>

You might also be interested in [Ansible Rulebook](https://ansible.readthedocs.io/projects/rulebook/en/stable/introduction.html#what-is-event-driven-ansible) for Event-Driven Ansible.
