Actions19
- Agent Actions
- Campaign Actions
- Contact Actions
- Custom Field Actions
- Label Actions
- WhatsApp Actions
Overview
This node integrates with the Wasapi API to perform various operations related to WhatsApp automation. Specifically, for the "Label" resource and the "Search by Name" operation, it allows users to search for a label by its exact name within their Wasapi account. This is useful when you want to retrieve details or verify the existence of a specific label used for organizing contacts or messages.
Practical examples include:
- Automatically checking if a label exists before assigning it to a contact.
- Retrieving label information to use in subsequent workflow steps.
- Filtering messages or contacts based on label names dynamically.
Properties
| Name | Meaning |
|---|---|
| Name | The exact name of the label to search for. This is a required string input where you specify the label's name to find it precisely. |
Output
The node outputs JSON data representing the label(s) matching the provided name. The structure typically includes label details such as ID, name, and possibly metadata associated with the label. If no label matches the name, the output will likely be empty or indicate no results found.
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the Wasapi API via an API key credential configured in n8n.
- The base URL for API requests is
https://api-ws.wasapi.io/api/v1. - No additional external dependencies are needed beyond the Wasapi API access.
Troubleshooting
- Common issues:
- Providing a label name that does not exist will result in no matches; ensure the name is exact.
- Network or authentication errors if the API key is missing, invalid, or expired.
- Error messages:
"Resource "labels" with operation "getSearch" is not supported"indicates a misconfiguration or unsupported operation; verify resource and operation names.- Authentication errors suggest checking the API key credential setup.
- To resolve these, confirm the label name spelling, validate API credentials, and ensure network connectivity.
Links and References
- Wasapi Official API Documentation (for detailed API endpoints and usage)
- n8n Documentation on Credentials (for setting up API keys)