Actions19
- Agent Actions
- Campaign Actions
- Contact Actions
- Custom Field Actions
- Label Actions
- WhatsApp Actions
Overview
This node integrates with the Wasapi API, specifically allowing users to manage labels among other resources. The "Delete Label" operation enables users to remove a label by specifying its unique ID. This is useful in scenarios where labels are no longer needed or were created by mistake, helping keep the label list clean and relevant.
Practical examples include:
- Automatically deleting outdated or temporary labels as part of a workflow.
- Cleaning up labels after certain processes complete to maintain organization.
Properties
| Name | Meaning |
|---|---|
| Label ID | ID of the label to delete |
The "Label ID" property is required and expects a string representing the unique identifier of the label to be deleted.
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details if it failed. The exact structure depends on the Wasapi API response but generally includes status information.
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the Wasapi API.
- Needs an API authentication token configured in n8n credentials for Wasapi.
- The base URL for API requests is
https://api-ws.wasapi.io/api/v1.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Label ID will likely cause the API to return an error.
- Missing or incorrect API credentials will prevent the node from authenticating.
- Network connectivity problems can cause request failures.
Error messages:
- Errors indicating "Resource not found" or similar usually mean the Label ID does not exist.
- Authentication errors suggest issues with the API key or token setup.
Resolutions:
- Verify the Label ID is correct and exists in the Wasapi system.
- Ensure the API credentials are properly configured and valid.
- Check network connectivity and API endpoint accessibility.
Links and References
- Wasapi Official API Documentation (for detailed API behavior and responses)
- n8n documentation on Creating Custom Nodes