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 operations related to customer service automation and messaging. Specifically, the "Enviar Mensagem" (Send Message) operation allows sending text messages or media messages via WhatsApp connections identified by a UUID.
Common scenarios where this node is beneficial include:
- Automating customer notifications or alerts through WhatsApp.
- Sending personalized messages to customers using their phone numbers.
- Integrating WhatsApp messaging into workflows for support, marketing, or transactional communications.
Practical example:
- A business wants to notify customers about order status updates automatically. Using this node, it can send a custom message to each customer's WhatsApp number identified by a connection UUID.
Properties
| Name | Meaning |
|---|---|
| Parâmetro | UUID of the WhatsApp connection used to send the message (required). |
| Corpo da Mensagem | Text content of the message to be sent. |
| Número de Telefone | Recipient's phone number in international format (DDI+DDD+Number), e.g., 5511999999999. |
| Chave Externa | Optional unique identifier for the message, useful for tracking or referencing the message. |
Output
The node outputs an array of JSON objects, each representing the response from the Digitalsac API for the executed operation. For the "Enviar Mensagem" operation, the output JSON contains the API's response confirming the message delivery status or any error details.
If binary data is provided as input (e.g., media files), the node sends it along with the message but does not output binary data itself.
Dependencies
- Requires an API key credential for authenticating with the Digitalsac API.
- The base URL and token for the Digitalsac API must be configured in the node credentials.
- The node uses HTTP requests to communicate with the Digitalsac REST endpoints.
Troubleshooting
- Missing UUID ("Parâmetro"): The node throws an error if the UUID of the WhatsApp connection is not provided when sending messages. Ensure the "Parâmetro" field is filled with the correct UUID.
- Invalid JSON in input fields: Some operations require JSON input (not applicable for "Enviar Mensagem" but relevant for others). Invalid JSON will cause errors; verify JSON syntax carefully.
- Binary file required but missing: For media sending operations, if no binary file is connected, the node will throw an error indicating that a binary file is mandatory.
- API errors: If the API returns an error, the node outputs the error message in the JSON response. Check API credentials, network connectivity, and request parameters.
Links and References
- Digitalsac API Documentation (example link, replace with actual)
- WhatsApp Business API guidelines for message formatting and usage.
This summary focuses on the "Enviar Mensagem" operation of the Digitalsac node, describing its inputs, outputs, and typical use cases based on static code analysis.