CRM Grape icon

CRM Grape

Integração completa com CRM Grape - Envie mensagens, gerencie contatos, tickets, tags, kanban e consultas. Compatível com Agentes IA (Tool).

Ticket → Atualizar Ticket

AI-generated

Summary

Updates the status and/or subject of an existing CRM Grape ticket by sending an update_ticket action to the CRM's n8n webhook endpoint.

Inputs

  • ticketId (required) — ID of the ticket to update. Sent as ticket_id.
  • status — New status: Aberto (open), Pendente (pending) or Fechado (closed). Defaults to open. Sent only when non-empty. Because the default is open, an untouched field will set the ticket to open.
  • subject — New ticket subject. Sent only when non-empty, so leaving it blank keeps the current subject.

Output shape

The JSON response from the Grape webhook, returned as one or more n8n items per input item. The source does not define the exact fields, which come from the CRM API.

HTTP errors are rethrown with Portuguese messages (401 invalid token, 403 not allowed, 400 invalid data, 404 not found, 500 server error). With 'Continue On Fail' enabled, a failed item returns { error: message } instead. Authentication uses the grapeApi credentials (base URL and webhook token).

Examples

Example 1: Mark a ticket as pending after a customer asks to wait.

Resource: Ticket; Operation: Atualizar Ticket; ID do Ticket: {{$json.ticketId}}; Status: Pendente; Assunto left blank.

Example 2: Rename a ticket subject and reopen it.

ID do Ticket: 123; Status: Aberto; Assunto: 'Reclamação de cobrança'.

Links

Discussion