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, messaging, scheduling, and ticket management. Specifically, the "Listar Horários Disponíveis" (List Available Slots) operation retrieves available time slots for scheduling services with a specific attendant on a given date.
Common scenarios where this node is beneficial include:
- Automating appointment booking systems by fetching available time slots dynamically.
- Integrating customer support scheduling into workflows.
- Coordinating service availability with user calendars or CRM systems.
For example, a business can use this node to list all available appointment times for a particular service and attendant on a chosen date, enabling customers or agents to select suitable slots for scheduling.
Properties
| Name | Meaning |
|---|---|
| ID do Serviço | Numeric identifier of the service for which to list available slots. |
| Data | Date in the format YYYY-MM-DD to query available slots on that day. |
| ID do Usuário | Numeric identifier of the attendant/user whose available slots are being queried. |
These properties must be provided when using the "Listar Horários Disponíveis" operation to specify the context of the availability request.
Output
The node outputs an array of JSON objects representing the response from the Digitalsac API for the requested operation.
For the "Listar Horários Disponíveis" operation, the json output contains the available time slots data returned by the API. The exact structure depends on the API but typically includes details such as slot start times, durations, and possibly metadata about each slot's status.
If the node encounters an error during the API request, the output will contain an error field with the error message or response body.
The node does not output binary data for this operation.
Dependencies
- Requires an API key credential for authenticating with the Digitalsac API.
- The node uses the base URL and token from the configured credentials to make HTTP requests.
- No additional external dependencies beyond standard HTTP requests.
Troubleshooting
- Invalid JSON Format: Some operations require JSON input parameters. If the JSON is malformed, the node throws an error like "Formato de JSON inválido para Dados (JSON)". Ensure JSON inputs are correctly formatted.
- Missing Required Parameters: For operations requiring specific parameters (e.g., UUID connection ID), missing or empty values cause errors prompting to fill those fields.
- API Errors: If the API returns an error, it is included in the output under the
errorfield. Check the API documentation or credentials validity. - Binary Data Requirements: Certain operations expect binary file input; if missing, the node throws an error indicating the need for connected binary data.
Links and References
- Digitalsac API Documentation (Assumed official API docs, replace with actual link if available)
- n8n Documentation on Creating Custom Nodes
- General info on HTTP Request Node (for understanding underlying request mechanics)
Note: This summary focuses exclusively on the "Listar Horários Disponíveis" operation within the "Default" resource as requested.