Actions20
Overview
This node integrates with the Consultorio Live API to manage clinic and medical office data. Specifically, for the "Profissional" resource and the "Obter" (Get) operation, it retrieves detailed information about a specific professional by their ID. This is useful in scenarios where you need to fetch up-to-date professional details such as contact info, specialties, or availability from the clinic management system.
Practical examples include:
- Fetching a professional's profile before scheduling an appointment.
- Displaying professional details in a patient portal.
- Synchronizing professional data with other systems.
Properties
| Name | Meaning |
|---|---|
| ID Do Profissional | The unique identifier of the professional whose details you want to retrieve. This is a required string input. |
Output
The node outputs JSON data representing the professional's details as returned by the Consultorio Live API. This typically includes fields such as name, specialty, contact information, and other relevant professional attributes.
If the API supports binary data for this resource (not indicated here), it would be included accordingly, but based on the provided code and context, output is JSON only.
Dependencies
- Requires an API key credential for authenticating with the Consultorio Live API.
- The base URL for the API must be configured in the node credentials.
- The node sends HTTP requests with JSON content type headers.
Troubleshooting
- Missing or invalid professional ID: Ensure the "ID Do Profissional" property is correctly set and corresponds to an existing professional in the system.
- Authentication errors: Verify that the API key credential is valid and has the necessary permissions.
- Network or API errors: Check connectivity and API status; ensure the base URL is correct.
- Unexpected response structure: Confirm that the API version matches the node’s expectations.
Links and References
- Consultorio Live API documentation (refer to official docs for detailed endpoints and data structures).
- n8n documentation on creating and using custom nodes with API integrations.