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, especially focused on WhatsApp and ticket management. It supports validating WhatsApp numbers and CPFs (Brazilian individual taxpayer registry identification), sending different types of WhatsApp messages (text, buttons, lists, media with captions, base64-encoded files), managing tickets (transferring, closing), handling tags, kanbans, wallets, and scheduling appointments.
The "Validar WhatsApp" operation specifically validates a given WhatsApp number through the Digitalsac API. This is useful in scenarios where you want to verify if a phone number is registered on WhatsApp before attempting to send messages or start conversations.
Practical examples:
- Before sending marketing or support messages via WhatsApp, validate the recipient's number to avoid errors.
- Automate customer onboarding by verifying their WhatsApp contact.
- Integrate with CRM systems to ensure contacts have valid WhatsApp accounts.
Properties
| Name | Meaning |
|---|---|
| Parâmetro | Number, CPF, or UUID depending on the operation. For "Validar WhatsApp", this is the WhatsApp number to validate. |
Note: The property "Parâmetro" is a string input used as the key parameter for multiple operations including "validateWhatsapp". For this operation, it should be the WhatsApp number to validate.
Output
The node outputs an array of JSON objects, each representing the response from the Digitalsac API for the requested operation.
For the "Validar WhatsApp" operation, the output JSON contains the validation result returned by the API about the WhatsApp number's status. The exact structure depends on the API but typically includes fields indicating whether the number is valid, active, or registered on WhatsApp.
If an error occurs during the request, the output JSON will contain an error field describing the issue.
The node does not output binary data for this operation.
Dependencies
- Requires an API key credential for the Digitalsac API, which must be configured in n8n credentials.
- The node makes HTTP requests to the Digitalsac API base URL using the provided token.
- No other external dependencies are required.
Troubleshooting
- Invalid JSON format errors: Some operations require JSON input in certain properties (e.g., "Dados (JSON)"). If the JSON is malformed, the node throws an error like "Formato de JSON inválido para Dados (JSON)". Ensure that JSON inputs are correctly formatted.
- Missing required parameters: For "Validar WhatsApp", the "Parâmetro" field must contain the WhatsApp number. Leaving it empty may cause the API call to fail or return invalid results.
- API authentication errors: If the API key/token is missing or incorrect, requests will fail. Verify the credential configuration.
- Network or API errors: If the Digitalsac API is unreachable or returns an error, the node outputs an error object in the JSON response. Check network connectivity and API status.
- Parsing errors for buttons or list JSON: When sending buttons or lists, the node expects valid JSON strings. Invalid syntax will cause parsing errors.
Links and References
- Digitalsac API Documentation (Assumed official API docs; replace with actual link if available)
- WhatsApp Business API Overview
- n8n HTTP Request Node Documentation (for understanding how HTTP calls work in n8n)
This summary focuses on the "Validar WhatsApp" operation of the Digitalsac node as requested.