HUBSPOT_TICKET_UPDATE - Atualizar Ticket no HubSpot
O que é este Node?
O HUBSPOT_TICKET_UPDATE é o node responsável por atualizar dados de ticket no HubSpot CRM.
Parâmetros
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| resource | string | Sim | Deve ser "tickets" |
| operation | string | Sim | Deve ser "update" |
| config.apiKey | string | Sim | API Key do HubSpot |
| ticketId | string | Sim | ID do ticket |
| properties | object | Sim | Propriedades a atualizar |
Exemplo: Atualizar Prioridade
{"name": "HubSpot - Atualizar Prioridade", "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": "Atualizar", "parameters": {"resource": "tickets", "operation": "update", "config": {"apiKey": "{{hubspot_api_key}}"}, "ticketId": "{{ticket_id}}", "properties": {"hs_ticket_priority": "HIGH"}}}}, {"id": "message_1", "type": "message", "position": {"x": 500, "y": 100}, "data": {"label": "Confirmado", "parameters": {"message": "Prioridade atualizada para ALTA."}}}, {"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: Atualizar status conforme ticket evolui, registrar resoluções, notificar usuário sobre mudanças
❌ NÃO: Atualizar sem verificar estado atual, fechar ticket sem resolver