Question

Populating a custom Service Request by extracting data from an email

  • 1 March 2024
  • 3 replies
  • 69 views

Badge

Hello,

I have a standardized email which gets sent to our freshservice inbox. I am able to extract the information I need from the email using the workflow automator, but I was wondering if I could populate a field on a custom service request. For example, if the email lists a name and I can extract it, can I populate the name field and create a service request?

 

 


3 replies

Userlevel 6
Badge +10

Hi 

Yes you should be able to create Service requests via Web requests...https://api.freshservice.com/#create_ticket

 

If you can extract a name then you should be able to use that to populate the fields you need when doing a web request. 

Userlevel 7
Badge +13

Hello,

I have a standardized email which gets sent to our freshservice inbox. I am able to extract the information I need from the email using the workflow automator, but I was wondering if I could populate a field on a custom service request. For example, if the email lists a name and I can extract it, can I populate the name field and create a service request?

 

 

You can use the update API endpoint and change the requester as well, if you don’t want to create a new ticket. 

Userlevel 7
Badge +13

Need to read the question one more time, 
If you like to create a request you need to use this https://api.freshservice.com/v2/#create_service_request

To populate custom dropdown that has all user as source you need the ID number of the requester and to get that you need to use this endpoint https://api.freshservice.com/v2/#filter_requesters to get the ID first. 

Reply