WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

User Status → Get User Status by ID

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API, specifically to retrieve the status of a WhatsApp user by their status ID. The "Get User Status by ID" operation under the "User Status" resource allows users to fetch detailed information about a particular WhatsApp status update posted by a user.

Common scenarios where this node is beneficial include:

  • Monitoring specific WhatsApp status updates for analytics or compliance.
  • Integrating WhatsApp status data into CRM or customer engagement platforms.
  • Automating workflows that depend on the visibility or content of a user's WhatsApp status.

For example, a marketing automation workflow could use this node to check if a contact has posted a new status and then trigger personalized follow-up messages based on that status.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which to retrieve the user status. This is selected from available WhatsApp numbers linked to the account.
Status ID The unique identifier of the WhatsApp status to retrieve. It must be a hexadecimal string of length 20-22 or 24 characters.

Output

The node outputs JSON data representing the details of the requested WhatsApp user status. This typically includes metadata about the status such as its content, timestamp, visibility, and possibly media attachments if present.

If the status contains any binary data (e.g., images or videos attached to the status), the node would handle it accordingly, but based on the provided code and properties, the primary output is structured JSON describing the status.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API via an API key credential configured in n8n.
  • The node depends on the availability of WhatsApp numbers (devices) linked to the WaliChat account to select the source device.
  • The getDevices method is used to load available WhatsApp numbers dynamically for selection.

Troubleshooting

  • Invalid Status ID: If the provided Status ID does not conform to the expected hexadecimal length (20-22 or 24 characters), the API may return an error or no data. Ensure the Status ID is correctly copied.
  • Device Not Found: Selecting a WhatsApp number that is not linked or active in the WaliChat account will cause failures. Verify that the device is properly connected.
  • API Authentication Errors: Missing or invalid API key credentials will prevent the node from accessing the WaliChat API. Confirm that the API key is correctly set up in n8n credentials.
  • Network Issues: Connectivity problems can cause timeouts or failed requests. Check network access and API endpoint availability.
  • Continue On Fail Behavior: If enabled, errors will be returned as part of the output JSON with an error field instead of stopping execution.

Links and References

Discussion