Digitalsac Izing Pro icon

Digitalsac Izing Pro

Interage com a API do Digitalsac

Overview

This node integrates with the Digitalsac API, providing various operations related to customer service automation and scheduling management. Specifically, the "Cancelar Agendamento" (Cancel Schedule) operation allows users to cancel an existing appointment by specifying its ID.

Common scenarios for this node include automating customer support workflows, managing appointments, sending messages via WhatsApp, and handling ticketing tasks. For example, a user can automate the cancellation of a scheduled appointment when a customer requests it, ensuring that the schedule is updated in real-time without manual intervention.

Practical example:

  • A customer contacts support to cancel their appointment. The workflow uses this node with the "Cancelar Agendamento" operation, passing the appointment ID to cancel it automatically through the Digitalsac API.

Properties

Name Meaning
ID do Agendamento The numeric ID of the appointment to be canceled

Output

The node outputs a JSON object containing the response from the Digitalsac API after attempting to cancel the appointment. This typically includes confirmation of the cancellation or error details if the operation failed.

Example output structure:

{
  "success": true,
  "message": "Agendamento cancelado com sucesso",
  "data": {
    "scheduleId": 123,
    "status": "canceled"
  }
}

If an error occurs, the output JSON will contain an error field describing the issue.

The node does not output binary data.

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 the credentials.
  • No additional external dependencies are required beyond the Digitalsac API access.

Troubleshooting

  • Invalid JSON format errors: Some operations require JSON input (e.g., bodyData). 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 parameters: For the cancel schedule operation, the "ID do Agendamento" must be provided and valid. Omitting or providing an invalid ID may cause the API call to fail.
  • API authentication errors: If the API token is invalid or expired, requests will fail. Verify the API key credential configuration.
  • Network or API errors: The node captures HTTP errors and returns them in the output's error field. Check the error message for details and verify network connectivity and API status.

Links and References

Discussion