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

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 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?

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, and then trigger the execution of that play through some sort of event-driven process.

You might also be interested in Ansible Rulebook for Event-Driven Ansible.