Actions26
Overview
This node integrates with the Dental Office Cloud API to manage dental office resources. Specifically, for the Cadeira (Chair) resource and the Criar (Create) operation, it allows users to create a new chair within a specified clinic.
Typical use cases include automating the setup of new chairs in clinics when expanding facilities or managing clinic resources programmatically. For example, a dental office manager could use this node to add multiple chairs across different clinics automatically from a spreadsheet or CRM system.
Properties
| Name | Meaning |
|---|---|
| ID da Clínica | The numeric ID of the clinic where the chair will be created. This identifies the clinic location. |
| Nome | The name or identifier of the chair being created. This is optional and can be used to label or identify the chair. |
Output
The output JSON contains the response from the Dental Office Cloud API after creating the chair. Typically, this includes details about the newly created chair such as its unique ID, name, and associated clinic ID.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"id": 123,
"name": "Chair A",
"clinic_id": 45,
...
}
Dependencies
- Requires an API key credential configured in n8n to authenticate requests to the Dental Office Cloud API.
- The node uses the
/v1/clinics/{clinicId}/chairsendpoint with a POST method to create chairs. - Proper permissions on the API key are necessary to create chairs in the specified clinic.
Troubleshooting
- Invalid Clinic ID: If the clinic ID does not exist or the user lacks permission, the API may return an error. Verify the clinic ID is correct and accessible.
- Missing Required Parameters: The
clinicIdproperty is required. Omitting it will cause errors. - API Authentication Errors: Ensure the API key credential is valid and has the necessary scopes.
- Invalid JSON Format: Although not applicable directly here, other operations involving JSON input fields require valid JSON formatting; otherwise, errors occur.
- Network Issues: Connectivity problems can cause request failures; check network access to the Dental Office Cloud API.
Links and References
- Dental Office Cloud API Documentation (hypothetical link for reference)
- n8n Documentation on Creating Custom Nodes
- General REST API usage guidelines in n8n workflows