WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI API to retrieve information about labels. Specifically, the "Get Labels" operation fetches details of a label instance by its unique identifier. This is useful in scenarios where you need to programmatically access label data from WaAPI, such as integrating label metadata into workflows, automating label management, or syncing label information with other systems.

Example use cases:

  • Fetching label details to display or process within an automation workflow.
  • Using label data to trigger conditional logic based on label properties.
  • Integrating label information into reporting or analytics pipelines.

Properties

Name Meaning
Id The unique numeric identifier of the label instance to retrieve. This property is required for the "Get Labels" operation and specifies which label's data will be fetched.

Output

The node outputs JSON data representing the label instance corresponding to the provided Id. The structure typically includes all relevant label fields as defined by the WaAPI API, such as label name, description, creation date, and any other metadata associated with the label.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the WaAPI API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL for API requests is https://waapi.app/api/v1.
  • The node expects JSON responses and sends requests with appropriate headers (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Invalid or missing Id: If the Id property is not set or invalid, the API call will fail. Ensure that a valid numeric Id is provided.
  • Authentication errors: If the API key or token is missing or incorrect, the node will return authorization errors. Verify that the credential is correctly configured.
  • Network issues: Connectivity problems can cause request failures. Check network access to waapi.app.
  • Label not found: If the specified Id does not correspond to any existing label, the API may return a 404 error. Confirm the Id is correct and the label exists.

Links and References

Discussion