I want to programmatically trigger an app whenever a new ticket is created. (via email only if possible)
Perform a regex match against the subject.
If a regex match is found (e.g. " #86025 " / regex “\s#\d\d\d\d\d”)
Search all non-closed and non-resolved tickets for the same match
If a match is found, merge the new ticket with the existing.
I’m very new to Freshservice development. I can see some sample code that is close here:
marketplace-sample-apps/Demo-Apps/ticket_merger at master · freshworks/marketplace-sample-apps (github.com)
Can you tell me will this work in Freshservice or Freshdesk only? I’m confused with the code samples which platform they are for?
Thanks in advance, this could save me a lot of effort.