Consultorio Live icon

Consultorio Live

Interagir com a API do Consultorio Live para gestão de clínicas e consultórios

Actions20

Overview

This node integrates with the Consultorio Live API to manage clinic and medical office data. Specifically, for the "Paciente" (Patient) resource with the "Remover" (Remove/Delete) operation, it allows users to delete a patient record from the system by specifying the patient's ID. This is useful in scenarios where patient data needs to be removed due to data correction, privacy requests, or administrative cleanup.

Practical example: A clinic automates its workflow to remove patient records that are no longer active or were entered erroneously, ensuring their database stays up-to-date without manual intervention.

Properties

Name Meaning
ID Do Paciente The unique identifier of the patient to be removed. This is a required string input.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this will include confirmation of successful removal or details about any error encountered. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the Consultorio Live API.
  • The base URL for the API is configured via credentials.
  • The node sends HTTP requests with JSON content type headers.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent patient ID will likely cause the API to return an error indicating the patient was not found.
    • Missing or incorrect API authentication credentials will result in authorization errors.
    • Network connectivity problems can prevent the node from reaching the API endpoint.
  • Error messages and resolutions:

    • "Unauthorized" or similar: Check that the API key credential is correctly set up and has proper permissions.
    • "Patient not found": Verify the patient ID is correct and exists in the system.
    • Timeouts or network errors: Ensure stable internet connection and that the API endpoint is reachable.

Links and References

  • Consultorio Live API documentation (refer to official docs provided by Consultorio Live for detailed API usage)
  • n8n documentation on creating and using custom nodes with API integrations

Discussion