Recent searches


No recent searches

Get notify when a ticket is closed



Posted Mar 06, 2023

Hi,
I want to write a script that will be executed every time a ticket will be closed(or solved). The script will pull the closed ticket data and will push it to another service we use.

The script will probably run on AWS Lambda so I could make a URL that will trigger the script but still will have to pass somehow the ticket id.

I will be happy to hear any tips or suggestions! 

Thanks


0

1

1 comment

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Alon! We have event connector that works with Amazon EventBridge that will get you what you want. Specifically, you'll want to use status change ticket event, which doesn't allow you to listen for a specific event (in your situation, ticket moving to solved), but you could check the response payload for something like this:

{
...
"detail": {
...
"type"
: "Status Changed",

"previous": "open",

"current": "solved",
...
}
}

Let us know if you have any other questions!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post