Actions15
Delete Label
AI-generatedOverview
This node operation deletes a WhatsApp label by its ID using the 4Jawaly API. It is useful for managing WhatsApp labels by removing those that are no longer needed or relevant. For example, a user can automate the cleanup of outdated labels in their WhatsApp conversations to keep their labeling system organized.
Use Case Examples
- Deleting a label with ID 8 to remove an obsolete category from WhatsApp conversations.
- Automating label management by deleting labels that are no longer used.
Properties
| Name | Meaning |
|---|---|
| Label ID | The identifier of the WhatsApp label to be deleted, required to specify which label to remove. |
| Additional Options | Optional settings for the delete request, including batch size for processing and timeout duration in milliseconds. |
Output
JSON
success- Indicates if the label deletion was successful.operation- The operation performed, here it is 'deleteLabel'.message- Confirmation message indicating the label was deleted successfully.label_id- The ID of the label that was deleted.raw_response- The full raw response from the API after the delete request.
Dependencies
- Requires 4Jawaly API credentials for authentication.
Troubleshooting
- Common issues include providing an invalid or non-existent Label ID, which will cause the operation to fail with an error message indicating the label could not be found.
- Timeout errors may occur if the API does not respond within the specified timeout period; increasing the timeout value may help.
- Ensure the API credentials are valid and have the necessary permissions to delete labels.
Links
- 4Jawaly WhatsApp Labels API - Delete Label - Official API endpoint documentation for deleting WhatsApp labels using 4Jawaly API.