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).

Consulta → Listar Tickets

AI-generated

Summary

Lists tickets from the CRM Grape account via an authenticated GET to /api/v1/n8n/query/tickets, with optional filters, sorting and a result limit.

Inputs

  • Filtro por Status — Filters by ticket status: Todos (no filter, default), open, pending or closed.
  • Filtro por Prioridade — Filters by priority: Todas (no filter, default), low, medium, high or urgent.
  • ID do Usuário — Filters by assigned agent (sent as user_id). Ignored if empty.
  • ID do Contato — Filters by contact (sent as contact_id). Ignored if empty.
  • ID da Fila — Filters by queue/department (sent as queue_id). Ignored if empty.
  • ID da Coluna Kanban — Filters by Kanban column (sent as kanban_column_id). Ignored if empty.
  • Ordenar Por — Sort field: updated_at (default), created_at, priority or last_customer_message_at.
  • Ordem — Sort direction: desc (default, newest first) or asc.
  • Limite — Maximum number of results to return; default 50.

Output shape

The API response is converted to n8n items. An array response gives one item per ticket. An object response gives a single item. Each item is paired with its input item.

The exact ticket fields come from the Grape API and are not defined in the node. It does no pagination and only passes the limit through. With Continue On Fail enabled, a failed request returns an item with an error message instead of stopping the workflow. Errors for 401, 403, 400, 404 and 500 are mapped to Portuguese messages.

Examples

Example 1: Fetch the 20 most urgent open tickets for a triage workflow

Status=Aberto, Prioridade=Urgente, Ordenar Por=Prioridade, Ordem=Decrescente, Limite=20

Example 2: Find tickets of one agent that are waiting longest for a reply

ID do Usuário=, Status=Pendente, Ordenar Por=Última Mensagem do Cliente, Ordem=Crescente

Example 3: Look up all tickets for a given contact

ID do Contato=, Status=Todos, Limite=100

Links

Discussion