Skip to main content
Question

Updating Requester Via Subject Line

  • February 7, 2025
  • 5 replies
  • 29 views

JoTooleSD
Contributor
Forum|alt.badge.img

Hi All, 

I’ve got 2 customers, who use the same software system, which emails from the same Domain. The only differentiator is in the Subject line. 

I tried to set an automation based on the text in the subject line, but I cannot find an action that allows the Requester Company to be updated. 

Is there a way of doing this?  For example… 

Company 1 - email address is: system@testcompany.com and is company name is set as Company 1 via Domain recognition. Subject line is random. 

Company 2 -  email address is the same: system@testcompany.com and due to domain recognition, company name is also labelled as Company 1. Subject line always starts COMP2

Any help would be massively appreciated. 

5 replies

JoTooleSD
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • February 11, 2025

Can anyone help on this?


ITMike
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • February 11, 2025

@JoTooleSD after you identify it by using your automator you can use an api call in the same automator to update the requester. 

PUT https:/”your url”.freshservice.com/api/v2/tickets/{{ticket_id}}

“requester_id”: (there customer number),

 

That should update the requester to whichever company you chose.


JoTooleSD
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • February 11, 2025

Thanks ITMike for your help. I’ll give it a go. 


JoTooleSD
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • February 11, 2025

Sorry, I’m a total newbie with API calls. 

It currently won’t let me update it as per screenshot.

 

Any ideas what i’m missing?


JoTooleSD
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • February 13, 2025

Sorry, I’m a total newbie with API calls. 

It currently won’t let me update it as per screenshot.

 

Any ideas what i’m missing?

Still unresolved if anyone can help?