Actions38
- Appointment Actions
- Availability Actions
- Category Actions
- Customer Actions
- Provider Actions
- Secretary Actions
- Service Actions
- Settings Actions
- Unavailability Actions
- Working Plan Actions
Overview
The Category → Delete operation in the Easy!Appointments n8n node allows you to delete a specific category from your Easy!Appointments system by providing its unique Category ID. This is useful for automating the cleanup or management of categories, such as removing obsolete or duplicate categories as part of a workflow.
Practical scenarios:
- Automatically remove categories that are no longer needed after certain business processes.
- Integrate with other systems to keep category lists synchronized and up-to-date.
- Clean up test or temporary categories created during onboarding or testing phases.
Properties
| Name | Type | Meaning |
|---|---|---|
| Category ID | String | The unique identifier of the category to be deleted. This is required to specify which category should be removed from the system. |
Output
The output will be a JSON object indicating the success of the deletion operation:
{
"success": true
}
If an error occurs and "Continue On Fail" is enabled, the output will include an error message:
{
"error": "Error message text"
}
Dependencies
- External Service: Requires access to an Easy!Appointments API instance.
- Authentication: Needs valid credentials (username, password, and base URL) configured in n8n under the credential type
easyAppointmentsApi. - n8n Configuration: The node must be set up with the correct API endpoint and user credentials.
Troubleshooting
Common Issues:
- Invalid Category ID: If the provided Category ID does not exist, the API may return an error.
- Missing Credentials: If the Easy!Appointments API credentials are not set or incorrect, authentication will fail.
- Base URL Not Set: If the base URL is missing in the credentials, the node will throw a "Base URL is required" error.
Error Messages and Resolutions:
"Base URL is required": Ensure the Easy!Appointments API credentials include a valid base URL."Request failed with status code 401"or similar: Check that the username and password are correct and have sufficient permissions."Category not found"or similar: Verify that the Category ID exists in your Easy!Appointments system.