Actions20
Overview
This node integrates with the Consultorio Live API to manage clinic and medical office operations. Specifically, for the "Profissional" resource and the "Obter Agenda" (Get Schedule) operation, it retrieves the schedule of a specified professional on a given date. This is useful in scenarios where you need to display or process a professional's appointments or availability for a particular day, such as in appointment booking systems, calendar synchronization, or daily agenda overviews.
Properties
| Name | Meaning |
|---|---|
| ID Do Profissional | The unique identifier of the professional whose schedule you want to retrieve. |
| Data Da Agenda | The date for which to obtain the professional's schedule. The time part is ignored; only the date is used. |
Output
The node outputs JSON data representing the professional's schedule for the specified date. This typically includes details about appointments or available time slots associated with that professional on that day. The exact structure depends on the API response but generally contains an array of scheduled items with relevant metadata.
No binary data output is indicated.
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 requests to the Consultorio Live API endpoints using these credentials.
Troubleshooting
- Missing or invalid professional ID: Ensure the "ID Do Profissional" property is correctly set and corresponds to an existing professional in the system.
- Invalid date format: The "Data Da Agenda" must be a valid date-time string; however, only the date portion is used. Incorrect formatting may cause errors or empty results.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- API connectivity issues: Check network access and the correctness of the base URL in the credentials.
- Empty schedule results: This might indicate no appointments exist for the given professional on the specified date.
Links and References
- Consultorio Live API documentation (refer to official docs for detailed endpoint and response structures)
- n8n documentation on creating and using custom nodes and credentials