Actions20
Overview
This node integrates with the Consultorio Live API, a platform for managing clinics and medical offices. Specifically, the "Agendamento" (Appointment) resource with the "Cancelar" (Cancel) operation allows users to cancel an existing appointment by providing its unique identifier. This is useful in scenarios where appointments need to be rescheduled or removed due to patient cancellations, changes in availability, or administrative updates.
Practical examples include:
- Automatically canceling appointments when patients notify via another system.
- Integrating with calendar tools to reflect real-time appointment status.
- Managing appointment workflows within a clinic's internal systems.
Properties
| Name | Meaning |
|---|---|
| ID Do Agendamento | The unique identifier of the appointment to be canceled. This is a required string input. |
Output
The node outputs JSON data representing the result of the cancellation request. Typically, this will include confirmation that the appointment was successfully canceled or details about the cancellation status. The exact structure depends on the API response but generally includes fields such as appointment ID, status, and any relevant messages.
No binary data output is indicated.
Dependencies
- Requires connection to the Consultorio Live API.
- Needs an API authentication token or key configured in the node credentials.
- The base URL for the API is taken from the credential configuration.
Troubleshooting
Common issues:
- Providing an invalid or non-existent appointment ID will likely cause an error.
- Network connectivity problems can prevent successful API calls.
- Missing or incorrect API credentials will result in authentication failures.
Error messages and resolutions:
- "Appointment not found": Verify the appointment ID is correct and exists.
- "Unauthorized" or "Authentication failed": Check that the API key or token is correctly set up.
- Timeout or network errors: Ensure stable internet connection and that the API endpoint is reachable.
Links and References
- Consultorio Live official API documentation (refer to the provider’s site for detailed API specs).
- n8n documentation on creating and using custom nodes with API integrations.