Custom Notification Script

Hi everyone, i'm quite new to OTRS and i'm trying to add a custom notification method on ticket status change (new, followup, close). I would like to integrate OTRS with Slack, so i wrote the script to post on Slack (using curl command line). I was able to create a generic agent and it is working, but he is notifing me about all the tickets that match a specific status on a crontab manner that i've set in the agent configuration. What i would like to acchieve is to have a notification (as it correctly working for emails) everytime there is a new ticket, or an existing ticket get a reply from the customer and when a ticket get closed. So, i think that work with the agent is not the right place, i feel like i've to create a notification script, but i dont know how to acchieve this (and apparently all the information i've found online didnt help me that much). So, anyone can help me out on this? I just need to hit a bash script (so a command line) everytime there is a status change on a ticket. Thanks in advance Best regards Andrea Iannucci
participants (1)
-
Andrea Iannucci