Dental Office icon

Dental Office

Integração com a API do Dental Office Cloud

Overview

This node integrates with the Dental Office Cloud API to manage patient (Paciente) data. Specifically, the "Obter" (Get) operation for the "Paciente" resource retrieves detailed information about a specific patient by their unique ID.

Common scenarios where this node is beneficial include:

  • Fetching patient details for appointment scheduling or follow-up.
  • Integrating patient data into other healthcare or CRM systems.
  • Automating workflows that require patient verification or data retrieval.

Practical example:

  • A clinic automation workflow uses this node to get patient information before confirming an appointment, ensuring all patient details are up-to-date.

Properties

Name Meaning
ID do Paciente Unique numeric identifier of the patient whose data you want to retrieve

Output

The output JSON contains the detailed data of the requested patient as returned by the Dental Office Cloud API. This typically includes fields such as the patient's name, birth date, gender, contact information, addresses, documents, and other relevant attributes stored in the system.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "id": 123,
  "name": "John Doe",
  "birth_date": "1980-01-01",
  "gender": 1,
  "clinic_id": 45,
  "customer_situation_id": 2,
  "customer_specialty": "Orthodontics",
  "addresses_attributes": [...],
  "contacts_attributes": [...],
  "documents_attributes": [...]
}

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests against the Dental Office Cloud API.
  • The node depends on the dentalOfficeApiRequest helper function to perform HTTP requests.
  • Proper network access to the Dental Office Cloud API endpoints is necessary.

Troubleshooting

  • Invalid or missing patient ID: Ensure the "ID do Paciente" property is provided and is a valid number. Missing or invalid IDs will cause request failures.
  • API authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • JSON parsing errors: Although not directly related to the "get" operation, other operations may require JSON input; ensure JSON strings are well-formed.
  • Network issues: Confirm that your environment can reach the Dental Office Cloud API endpoints without firewall or proxy blocking.

Common error messages:

  • "Operation "get" not supported for paciente": Indicates an unsupported operation was requested; verify the operation name.
  • "Formato JSON inválido para ...": Means invalid JSON format was provided in some input field (not applicable for "get" but relevant for create/update).

Links and References

Discussion