Actions32
- Mensagem Actions
- Contato Actions
- Ticket Actions
- Tag Actions
- Kanban Actions
- Sequência Actions
- Consulta Actions
Consulta → Listar Filas
AI-generatedSummary
Lists all queues/departments (filas/setores) from the Grape CRM by calling its authenticated query endpoint. It takes no parameters.
Inputs
None.
Output shape
The Grape API response for GET /api/v1/n8n/query/queues, converted to n8n items. An array response gives one item per queue. A single object gives one item. Each item is paired with its input item.
The source doesn't define the queue fields, so the fields depend on the Grape API. Results aren't filtered or paginated by this node. Authentication uses the webhook token from the Grape API credentials, sent in the X-N8N-Auth header. A 401 (invalid token) or 403 (suspended company or no permission) throws an error. With Continue On Fail enabled, the item returns {error: message} instead. Use the returned queue IDs in Ticket > Definir Fila or the queue filter of Listar Tickets.
Examples
Example 1: Fetch queue IDs so a later node can move a ticket to the right department.
Resource: Consulta; Operation: Listar Filas. No other fields. Pass an ID from the output to Ticket > Definir Fila.
Example 2: Give an AI agent a tool for looking up available queues.
Resource: Consulta; Operation: Listar Filas, used as a tool by an AI Agent.