HUBSPOT_TICKET_GET - Buscar Ticket no HubSpot
O que é este Node?
O HUBSPOT_TICKET_GET é o node responsável por buscar ticket por ID no HubSpot CRM.
Parâmetros
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| resource | string | Sim | Deve ser "tickets" |
| operation | string | Sim | Deve ser "get" |
| config.apiKey | string | Sim | API Key do HubSpot |
| ticketId | string | Sim | ID do ticket |
Exemplo: Consultar Status do Ticket
{"name": "HubSpot - Status Ticket", "nodes": [{"id": "start_1", "type": "start", "position": {"x": 100, "y": 100}, "data": {"label": "Início"}}, {"id": "input_1", "type": "input", "position": {"x": 300, "y": 100}, "data": {"label": "Protocolo", "parameters": {"message": "Digite o número do protocolo:", "variableName": "ticket_id"}}}, {"id": "hubspot_1", "type": "hubspot", "position": {"x": 500, "y": 100}, "data": {"label": "Buscar", "parameters": {"resource": "tickets", "operation": "get", "config": {"apiKey": "{{hubspot_api_key}}"}, "ticketId": "{{ticket_id}}", "responseVariable": "ticket_data"}}}, {"id": "message_1", "type": "message", "position": {"x": 700, "y": 100}, "data": {"label": "Status", "parameters": {"message": "Ticket: {{ticket_data.properties.subject}}\nStatus: {{ticket_data.properties.hs_pipeline_stage}}\nPrioridade: {{ticket_data.properties.hs_ticket_priority}}"}}}, {"id": "end_1", "type": "end", "position": {"x": 900, "y": 100}, "data": {"label": "Fim"}}], "edges": [{"source": "start_1", "target": "input_1"}, {"source": "input_1", "target": "hubspot_1"}, {"source": "hubspot_1", "target": "message_1"}, {"source": "message_1", "target": "end_1"}]}