Trigger Your Custom Function via Desk Workflow Rules
You can trigger a workflow based on a variety of actions:
- Ticket created, edited, closed, etc.
- And then build any number of criteria into that action
- From there, you can trigger your custom function