Actions83
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node interacts with the WaAPI service to retrieve information about a specific label by its unique identifier. It is useful in scenarios where you need to fetch detailed data about a label instance, such as for display, processing, or integration purposes within an automation workflow.
For example, you might use this node to:
- Retrieve metadata of a label used in a messaging or tagging system.
- Fetch label details to conditionally route messages or data based on label properties.
- Integrate label information into reports or dashboards.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (required number) |
| Label Id | The unique identifier of the label to retrieve |
Output
The node outputs JSON data representing the label object retrieved from the WaAPI service. This JSON typically contains all relevant fields describing the label, such as its name, id, and any associated metadata.
If the API supports binary data related to labels (e.g., images or files), it would be included in the binary output; however, based on the provided code and properties, the output is primarily JSON.
Dependencies
- Requires an active connection to the WaAPI service via an API key credential.
- The node uses the base URL
https://waapi.app/api/v1for API requests. - Proper authentication credentials must be configured in n8n to authorize API calls.
Troubleshooting
Common issues:
- Invalid or missing label ID may result in errors or empty responses.
- Network connectivity problems can cause request failures.
- Incorrect or expired API credentials will lead to authentication errors.
Error messages:
- "Label not found" or similar indicates the specified label ID does not exist.
- Authentication errors suggest checking the API key configuration.
- Timeout or network errors require verifying internet access and API availability.
Links and References
- WaAPI Official Documentation (for detailed API usage and label resource info)
- n8n Documentation (for general node usage and credential setup)