Customer support · create_ticket
Create a ticket
Create a ticket in the workspace and in the connected helpdesk (Zendesk, Jira, Front or Crisp).
- Price
- included
- Requirements
- No connector
- also works with Zendesk, Jira, Front, Crisp
- Human approval
- Yes, by default
- outside-facing write: a human validates
- Reliability
- Verified
- not measured yet
Input
| Field | Type | Description |
|---|---|---|
| tickets | array | Batch: the FULL list of tickets to create in one call (preferred whenever there is more than one). Each item takes the same fields as a single ticket. When provided, the top-level single-ticket fields are ignored. |
| subject | string | Short summary of the issue |
| description | string | Full description of the issue (the customer message, context, what was tried) |
| priority | low | normal | high | urgent | Ticket priority. Maps to the SLA policy unless slaPolicy is given: urgent=P1, high=P2, normal=P3, low=P4 |
| slaPolicy | P1 | P2 | P3 | P4 | Explicit SLA policy (overrides the priority mapping). The resolution deadline (slaBreachAt) is computed from it. |
| requesterEmail | string | Customer's email address |
| requesterName | string | Customer's name, when known |
| provider | zendesk | jira | front | crisp | internal | Target helpdesk. Default: Zendesk when connected, else the first connected among Jira, Front, Crisp, else the internal Ezyagents ticket. |
| channel | email | chat | form | slack | teams | internal | Where the request came from (default: email) |
| language | string | ISO 639-1 language of the customer (fr, en, es…) |
| intent | string | Classified intent (bug, billing, question, complaint, feature_request, urgent, other) |
| sentiment | positive | neutral | negative | angry | Sentiment of the customer message |
| emailId | string | Source email id (from read_emails) to keep the link between the ticket and the email |
| tags | array | Tags to apply to the ticket |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"create_ticket","input":{"tickets":[],"subject":"…","description":"…","priority":"low"}}'$
run({ "tool": "create_ticket", "input": {"tickets":[],"subject":"…","description":"…","priority":"low"} })