Clinicorp icon

Clinicorp

Read and write data in Clinicorp, the dental and clinic management platform. Query estimates (orçamentos), patients, appointments (agenda), financial reports, payments, sales and conversion, procedures, professionals, clinics, CRM leads, analytics and goals; and create patients, appointments, CRM leads and purchase orders. Conventions: dates are sent as YYYY-MM-DD and times as 24-hour HH:mm; IDs (clinic, professional, status) must come from the matching list operation, never invented; the Subscriber ID is read automatically from the credential, so it is never an input. To book an appointment, first read availability (Clinic > Get Available Times, or Appointment > Get Available Times when using a booking Code Link), then call Appointment > Create with that exact slot. Usable as an AI Agent tool.

Patient → Create

AI-generated

Summary

Creates a patient record in Clinicorp using the required patient name and any optional details. Sends the credential's Subscriber ID automatically and posts the patient data to Clinicorp. The 'Sex' field is versioned: for version 2 or later, it offers Female or Male options; for version 1, it accepts string input (e.g. M or F). Duplicate document and name flags force creation when set. CPF is sent as OtherDocumentId in the API request.

Inputs

  • Name (required) — Full name of the patient (nome do paciente) to create.
  • Birth Date — Date of birth of the patient. Only the date part (YYYY-MM-DD) is sent to Clinicorp.
  • CPF — Patient CPF or other document (documento) recorded on patient card. Send only digits, e.g. 12345678909.
  • Document ID — Primary document identifier of the patient (documento de identidade).
  • Email — Email address of the patient.
  • Ignore Duplicate Document — Whether to force creation even if a patient with the same document already exists.
  • Ignore Duplicate Name — Whether to force creation even if a patient with the same name already exists.
  • Mobile Phone — Mobile phone number of the patient (celular), including country and area code, e.g. +55 21 99999-9999. Digits only (5521999999999) is also accepted.
  • Notes — Free-form notes (observações) to store on the patient card.
  • Sex — Patient sex as expected by Clinicorp. For version 2+, choose Female (F) or Male (M). In version 1, accept string input such as M or F.

Output shape

One or more n8n items containing Clinicorp’s response data.

The request is made once per input item. Optional fields are omitted when empty. The flag fields for ignoring duplicate documents or names are sent as 'X' when enabled. The node uses the API response as is, splitting arrays into separate n8n items. Errors from the Clinicorp API are thrown unless 'Continue On Fail' is enabled.

Links

Discussion