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, providing various operations to interact with WhatsApp connections, validate data, manage tickets, send messages, and handle scheduling. Specifically, the "Validar CPF" operation validates a Brazilian CPF number through the API.
Common scenarios for using the "Validar CPF" operation include:
- Verifying user identity by validating CPF numbers in customer onboarding workflows.
- Ensuring data integrity by checking CPF validity before processing forms or registrations.
- Automating validation steps in CRM or support ticket systems that require CPF verification.
Example: A workflow could receive a CPF number from a form submission, use this node to validate it, and then proceed only if the CPF is valid.
Properties
| Name | Meaning |
|---|---|
| Parâmetro | The input parameter for the operation; for "Validar CPF", this should be the CPF number to validate. |
Output
The node outputs JSON data returned by the Digitalsac API corresponding to the requested operation. For "Validar CPF", the output JSON will contain the validation result of the provided CPF number, typically indicating whether the CPF is valid or not along with any additional details the API provides.
No binary output is produced for this operation.
Example output structure (simplified):
{
"valid": true,
"message": "CPF válido",
"cpf": "12345678909"
}
Dependencies
- Requires an API key credential for the Digitalsac API.
- The node makes HTTP requests to the Digitalsac base URL configured in the credentials.
- Proper network access to the Digitalsac API endpoint is necessary.
Troubleshooting
- Invalid JSON format error: Some operations expect JSON input in certain parameters (e.g., "Dados (JSON)"). If the JSON is malformed, the node throws an error like "Formato de JSON inválido para Dados (JSON)". To fix, ensure the JSON syntax is correct.
- Missing required parameter: For operations requiring a connection UUID or similar identifier in "Parâmetro", leaving it empty causes errors. Always provide the required parameter.
- Binary file missing: For media sending operations, if a binary file is expected but not connected, the node throws an error indicating the binary file is mandatory.
- API authentication errors: Ensure the API key credential is correctly set up and has proper permissions.
- Network issues: Verify connectivity to the Digitalsac API endpoint.
Links and References
- Digitalsac API Documentation (example link, replace with actual)
- Brazilian CPF validation rules: https://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas