Actions26
Overview
This node integrates with the Dental Office Cloud API to manage dental office resources. Specifically, for the resource "Cadeira" (Chair) and operation "Remover" (Delete), it allows users to delete a specific chair from a clinic by providing the clinic ID and the unique chair ID. This is useful in scenarios where a dental office needs to remove outdated or unused chairs from their system.
Practical example: A dental office administrator wants to remove a chair that is no longer in use from their clinic's inventory. By using this node operation, they can automate the deletion process directly through n8n workflows without manually accessing the Dental Office Cloud interface.
Properties
| Name | Meaning |
|---|---|
| ID da Clínica | The numeric identifier of the clinic where the chair is located. |
| ID da Cadeira | The unique numeric identifier of the chair to be removed. |
Output
The output JSON contains the response from the Dental Office Cloud API after attempting to delete the specified chair. Typically, this will be an empty object or confirmation message indicating successful deletion. No binary data is involved in this operation.
Example output JSON:
{}
Dependencies
- Requires an active connection to the Dental Office Cloud API.
- Requires an API key credential configured in n8n for authentication with the Dental Office Cloud.
- The node uses the
/v1/clinics/{clinicId}/chairs/{id}DELETE endpoint of the Dental Office Cloud API.
Troubleshooting
Common issues:
- Providing incorrect or non-existent
clinicIdoridvalues will result in errors from the API. - Missing required parameters (
clinicIdorid) will cause the node to fail before making the API call. - Network connectivity issues or invalid API credentials will prevent successful communication with the Dental Office Cloud API.
- Providing incorrect or non-existent
Error messages:
"Operation 'delete' not supported for chair": This would indicate an internal misconfiguration; ensure the correct operation and resource are selected.- API error responses such as "Not Found" or "Unauthorized" typically mean the chair or clinic does not exist or the API key lacks permissions.
Resolution:
- Verify that the
clinicIdandidcorrespond to existing entities in the Dental Office Cloud. - Confirm that the API key credential is valid and has sufficient permissions.
- Check network connectivity and retry if transient errors occur.
- Verify that the
Links and References
- Dental Office Cloud API documentation (for chairs management): Dental Office API Docs
- n8n documentation on creating custom nodes and API integrations: https://docs.n8n.io/integrations/creating-nodes/