Actions32
- Mensagem Actions
- Contato Actions
- Ticket Actions
- Tag Actions
- Kanban Actions
- Sequência Actions
- Consulta Actions
Consulta → Listar Usuários
AI-generatedSummary
Lists the users (atendentes/agents) of the CRM Grape account by sending a GET request to /api/v1/n8n/query/users, authenticated with the webhook token from the credentials.
Inputs
None.
Output shape
The JSON response from the Grape API, converted to n8n items via returnJsonArray: an array response yields one item per user, and a single object yields one item. Each item is linked to its input item.
The exact user fields come from the Grape API and are not defined in the node. No filters, pagination or limit are sent, so the API returns whatever it returns by default. The Limite parameter does not apply to this operation. Errors: 401 means an invalid token, 403 means the company is suspended or lacks permission, and 404 and 500 are also mapped to messages. With Continue On Fail enabled, the error message is returned as an item.
Examples
Example 1: Look up an agent's user ID before assigning a ticket.
Resource: Consulta, Operation: Listar Usuários. Then use the returned ID in Ticket → Atribuir Ticket.
Example 2: Let an AI agent fetch the list of available agents as a tool.
Resource: Consulta, Operation: Listar Usuários, connected to an AI Agent as a tool. No parameters needed.