Tous les outils

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

ChampTypeDescription
ticketsarrayBatch: 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.
subjectstringShort summary of the issue
descriptionstringFull description of the issue (the customer message, context, what was tried)
prioritylow | normal | high | urgentTicket priority. Maps to the SLA policy unless slaPolicy is given: urgent=P1, high=P2, normal=P3, low=P4
slaPolicyP1 | P2 | P3 | P4Explicit SLA policy (overrides the priority mapping). The resolution deadline (slaBreachAt) is computed from it.
requesterEmailstringCustomer's email address
requesterNamestringCustomer's name, when known
channelemail | chat | form | slack | teams | internalWhere the request came from (default: email)
languagestringISO 639-1 language of the customer (fr, en, es…)
intentstringClassified intent (bug, billing, question, complaint, feature_request, urgent, other)
sentimentpositive | neutral | negative | angrySentiment of the customer message
emailIdstringSource email id (from read_emails) to keep the link between the ticket and the email
tagsarrayTags 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"} })