Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Tickets → Create Ticket Webmail

AI-generated

Summary

Create a ticket in the Z-PRO system via webmail by sending a new ticket message associated with a contact's email.

Inputs

  • Body — Texto da mensagem inicial do ticket
  • Email — Email do contato (obrigatório para webmail)
  • Channel ID — ID do canal webmail; optional, defaults to channel in API config if not provided
  • External Key — Campo externalKey for external reference
  • User ID — Campo userId to associate the ticket
  • Status — Ticket status, with default 'pending'
  • Name — Optional contact name used if contact does not exist
  • First Name — Campo firstName for contact
  • Last Name — Campo lastName for contact
  • Validate Number — Boolean flag to enable/disable phone number normalization (default true)
  • Request Options — Settings for batching, SSL validation, proxy, and timeout

Output shape

a single record containing details of the created ticket

The operation returns the newly created ticket data. If 'email' is not provided, ticket creation may fail as it's required for webmail tickets. Other fields are optional and control ticket metadata and contact information.

Links

Discussion