Recent searches
No recent searches
Event on Ticket Creation via Email
Posted Mar 31, 2022
Hi there,
We have an app that sends an HTTP request when new tickets are created. The idea is to generate an alert in our own product.
All words find when I create the ticket manually. However, when the ticked is created via email the event (ticket.saved) does not seem to be triggered.
In the manifest the app is marked as a background app:
"location": {
"support": {
"background": "assets/iframe.html",
"ticket_sidebar": {
"url": "assets/iframe.html",
"flexible": true
}
}
}
Am I missing something? Any help is highly appreciated.
Thanks
Ron
0
4
4 comments
Tipene Hughes
System created tickets such as email and API tickets don't automatically fire the ticket.saved event on creation. For this particular use case, web hooks and triggers might be the best way to accomplish what you're looking to do. Here's an article that goes in to a bit more detail:
https://support.zendesk.com/hc/en-us/articles/4408839108378-Creating-webhooks-in-Admin-Center
I hope this helps! Feel free to reach out with any questions.
Tipene
0
Ronald Czachara
Thanks Tipene Hughes,
OK, that explains the behavior then. Would be nice to be able to handle this in our app somehow.
Cheers
Ron
0
Amit Chinchane
Does this mean, we can not use the below event?
0
Erica Girges
After double checking our ticket events, it looks like ticket.create or ticket.update aren't valid events that our framework recognizes. Therefore, it wouldn't produce the desired result.
Apologies for any inconvenience this may cause.
Erica
0