create_trigger
Automates ticket management by creating Zendesk triggers that execute specific actions based on defined conditions, streamlining support workflows.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
actions | Yes | Actions to perform when trigger conditions are met | |
conditions | Yes | Conditions for the trigger | |
description | No | Trigger description | |
title | Yes | Trigger title |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"actions": {
"description": "Actions to perform when trigger conditions are met",
"items": {
"additionalProperties": false,
"properties": {
"field": {
"description": "Field to modify",
"type": "string"
},
"value": {
"description": "Value to set"
}
},
"required": [
"field"
],
"type": "object"
},
"type": "array"
},
"conditions": {
"additionalProperties": false,
"description": "Conditions for the trigger",
"properties": {
"all": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"description": "Field to check",
"type": "string"
},
"operator": {
"description": "Operator for comparison",
"type": "string"
},
"value": {
"description": "Value to compare against"
}
},
"required": [
"field",
"operator"
],
"type": "object"
},
"type": "array"
},
"any": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"description": "Field to check",
"type": "string"
},
"operator": {
"description": "Operator for comparison",
"type": "string"
},
"value": {
"description": "Value to compare against"
}
},
"required": [
"field",
"operator"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"description": {
"description": "Trigger description",
"type": "string"
},
"title": {
"description": "Trigger title",
"type": "string"
}
},
"required": [
"title",
"conditions",
"actions"
],
"type": "object"
}