HUBSPOT_TICKET_LIST - Listar Tickets do HubSpot
O que é este Node?
O HUBSPOT_TICKET_LIST é o node responsável por listar tickets do HubSpot CRM sem filtros.
Parâmetros
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| resource | string | Sim | Deve ser "tickets" |
| operation | string | Sim | Deve ser "list" |
| config.apiKey | string | Sim | API Key do HubSpot |
| limit | number | Não | Limite (padrão: 100) |
Exemplo: Dashboard de Tickets
{"name": "HubSpot - Dashboard Tickets", "nodes": [{"id": "start_1", "type": "start", "position": {"x": 100, "y": 100}, "data": {"label": "Início"}}, {"id": "hubspot_1", "type": "hubspot", "position": {"x": 300, "y": 100}, "data": {"label": "Listar", "parameters": {"resource": "tickets", "operation": "list", "config": {"apiKey": "{{hubspot_api_key}}"}, "limit": 10, "responseVariable": "tickets"}}}, {"id": "message_1", "type": "message", "position": {"x": 500, "y": 100}, "data": {"label": "Total", "parameters": {"message": "📋 Tickets abertos: {{tickets.results.length}}"}}}, {"id": "end_1", "type": "end", "position": {"x": 700, "y": 100}, "data": {"label": "Fim"}}], "edges": [{"source": "start_1", "target": "hubspot_1"}, {"source": "hubspot_1", "target": "message_1"}, {"source": "message_1", "target": "end_1"}]}
Boas Práticas
✅ SIM: Usar para dashboard e contagens, filtrar por status em aplicação
❌ NÃO: Listar todos tickets sem paginação