Actions20
Overview
The node "Consultorio Live" integrates with the Consultorio Live API, which is designed for managing clinics and medical offices. Specifically, the "Paciente" (Patient) resource with the "Criar" (Create) operation allows users to create new patient records in the system. This is useful for healthcare providers who want to automate patient registration workflows, synchronize patient data from other systems, or manage patient information programmatically.
Practical examples include:
- Automatically adding new patients from an online booking form.
- Syncing patient details from a CRM or hospital management system.
- Creating patient profiles as part of a larger clinical workflow automation.
Properties
| Name | Meaning |
|---|---|
| Dados Do Paciente | A collection of patient data fields including: |
| - Nome | Full name of the patient (required). |
| Patient's email address (required). | |
| - Documento | Patient's document ID such as CPF or RG. |
| - Data De Nascimento | Patient's birth date. |
| - Telefone | Patient's phone number. |
| - Endereço | Nested collection for patient's address details: |
| -- CEP | Postal code. |
| -- Cidade | City name. |
| -- Estado | State abbreviation. |
| -- Rua | Street name. |
| -- Número | Residence number. |
Output
The node outputs JSON data representing the response from the Consultorio Live API after creating a patient record. This typically includes the newly created patient's details such as their unique identifier, name, contact information, and any other metadata returned by the API.
If the API supports it, binary data output is not indicated in this context, so the output is purely JSON structured data.
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 with
Accept: application/jsonandContent-Type: application/jsonheaders.
Troubleshooting
Common issues:
- Missing required fields like "Nome" or "Email" will likely cause validation errors.
- Incorrect or missing API credentials will result in authentication failures.
- Invalid address or document formats might cause the API to reject the request.
Error messages:
- Authentication errors usually indicate invalid or missing API keys; verify credentials.
- Validation errors from the API will specify which fields are incorrect or missing; ensure all required properties are correctly filled.
- Network or timeout errors suggest connectivity issues; check network settings and API availability.
Links and References
- Consultorio Live official API documentation (not provided here, but recommended to consult for detailed API specs).
- n8n documentation on creating custom nodes and using HTTP Request nodes for API integration.