How to create service requests for an incoming email

How to create service requests through email

This post describes the use of a python script to create a service request through email , based on keywords in the subject.When a request is created with specific keywords in the subject of a incoming mail , the custom trigger will be invoked.The keywords and the matching service template name will be provided in the script.The script will create a service request with the information from the incident request.Once the service request is created , the incident will be automatically deleted.

UseCase: Over 70 % of service requests are raised through Emails and all of them are logged in as incidents then those are converted manually into service requests. This script will create service requests if the subject line contains the configured text. When the configured text is found, the incident request will be deleted and a new service request will be created using the configured template.

Execution steps:
1. Download and copy the script file into the \Manageengine\ServiceDesk\integration directory.

2. Update the technician key and the url in configuration.json file. 

3. Configure the script under Admin->Custom Triggers , like shown below.




A short guide on setting up python is available here.

                  New to ADSelfService Plus?