Actions23
- Validar WhatsApp
- Validar CPF
- Validar Data
- Transferir para Fila
- Transferir para Atendente
- Fechar Ticket
- Enviar Mensagem
- Enviar Botões
- Enviar Lista
- Enviar Mídia com Caption
- Enviar Base64
- Vincular Tag
- Criar Tag
- Listar Kanbans
- Vincular Kanban
- Vincular Carteira
- Listar Serviços
- Listar Usuários Disponíveis
- Listar Horários Disponíveis
- Listar Agendamentos
- Criar Agendamento
- Cancelar Agendamento
- Gerar Link do Calendário (.ics)
Overview
This node integrates with the Digitalsac API to perform various customer service and ticket management operations. Specifically, the "Fechar Ticket" (Close Ticket) operation allows users to close a support ticket by providing its ID in JSON format.
Common scenarios for this node include automating customer support workflows, such as closing tickets after resolution, transferring tickets between queues or agents, sending messages via WhatsApp, managing tags, and scheduling appointments.
Practical example: After a customer issue is resolved, you can use this node's "Fechar Ticket" operation to automatically close the corresponding ticket in Digitalsac, ensuring your ticketing system stays up-to-date without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Dados (JSON) | JSON object containing the ID of the ticket to be closed. Example: {"ticketId": 123} |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the "Fechar Ticket" operation, the output JSON contains the response from the Digitalsac API after attempting to close the specified ticket. If the API call is successful, the response will typically confirm the ticket closure; if there is an error, the output JSON will contain an error field describing the issue.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Digitalsac API.
- The node expects the base URL and token for the Digitalsac API to be configured in the credentials.
- Network access to the Digitalsac API endpoints is necessary.
Troubleshooting
- Invalid JSON Format: If the "Dados (JSON)" property contains malformed JSON, the node throws an error stating "Formato de JSON inválido para Dados (JSON)". Ensure the JSON syntax is correct.
- Missing Ticket ID: The JSON must include a valid
ticketId. Omitting this or providing an incorrect ID may cause the API to return an error. - API Authentication Errors: If the API token is invalid or missing, requests will fail. Verify that the API key credential is correctly set up.
- Network Issues: Connectivity problems to the Digitalsac API will result in request failures. Check network settings and API availability.
- Error Responses: If the API returns an error, it will be included in the output under the
errorfield. Review the message to identify issues such as invalid ticket IDs or permission problems.
Links and References
- Digitalsac API Documentation (Assumed link, replace with actual if available)
- n8n Documentation on Creating Custom Nodes