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 Botões" (Send Buttons) operation allows sending interactive button messages via WhatsApp or similar channels using a connection identified by a UUID.
Typical use cases include:
- Sending quick reply buttons or URL buttons to customers for faster interaction.
- Automating customer support workflows by providing predefined options.
- Enhancing user engagement in chatbots or messaging platforms.
For example, a business can send a message with buttons like "Yes" or "Visit Website" to guide users through choices without typing responses manually.
Properties
| Name | Meaning |
|---|---|
| Parâmetro | UUID of the connection used to send the buttons message; required to identify the recipient. |
| Chave Externa | Optional unique identifier for the message, useful for tracking or referencing the sent message. |
| Título | Title of the button set displayed to the user. |
| Corpo da Mensagem | Body text of the message that accompanies the buttons. |
| Número de Telefone | Phone number in international format (DDI+DDD+Number), e.g., 5511999999999, used as sender info. |
| Botões (JSON) | JSON array defining the buttons to send. Each button includes type (quick reply or URL), display text, and content. |
Output
The node outputs an array of JSON objects, each representing the response from the Digitalsac API for the executed operation. For the "Enviar Botões" operation, the output JSON contains the API's confirmation or error details regarding the sent button message.
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 credentials.
- The operation sends HTTP requests to Digitalsac endpoints, so network connectivity to the API is necessary.
Troubleshooting
- Missing UUID ("Parâmetro"): If the UUID parameter is empty or missing, the node throws an error indicating it is mandatory for sending buttons. Ensure this field is filled with the correct connection UUID.
- Invalid JSON in Buttons: If the JSON provided in "Botões (JSON)" is malformed, the node will throw a parsing error. Validate the JSON syntax before running.
- API Errors: If the API returns an error, the node captures and outputs the error message in the JSON output. Check the API credentials, network connectivity, and request parameters.
- Phone Number Format: Ensure phone numbers are in the correct international format (DDI+DDD+Number) to avoid delivery issues.
Links and References
- Digitalsac API Documentation (example placeholder, replace with actual if available)
- WhatsApp Interactive Messages Guide: https://developers.facebook.com/docs/whatsapp/api/messages/buttons
- JSON Validator Tools: https://jsonlint.com/