Support client · create_ticket
Créer un ticket
Crée un ticket dans l'espace et dans Zendesk s'il est connecté.
- Prix
- inclus
- Prérequis
- Aucun connecteur
- fonctionne sur les clés plateforme
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
Entrée
| Champ | 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 |
| 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 |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
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"} })