WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI service to unpin a chat in WhatsApp. It is useful when you want to programmatically remove the pinned status from a specific chat, either individual or group, identified by its chat ID. Typical use cases include managing chat priorities automatically or cleaning up pinned chats based on certain triggers or workflows.

For example, if you have a workflow that monitors chat activity and decides to unpin chats that are no longer relevant, this node can perform the unpin action without manual intervention.

Properties

Name Meaning
Id The numeric ID of the WhatsApp instance to target for the unpin operation.
Chat Id The unique identifier of the chat to unpin. Format: <countrycode><usernumber>@c.us for individual chats or @g.us for groups.

Output

The node outputs JSON data representing the response from the WaAPI service after attempting to unpin the specified chat. This typically includes confirmation of success or details about the unpin operation. There is no indication of binary data output.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node sends requests to the base URL https://waapi.app/api/v1.
  • Proper configuration of the API key credential in n8n is necessary for successful execution.

Troubleshooting

  • Invalid Chat Id format: Ensure the chat ID follows the correct format (<countrycode><usernumber>@c.us for individuals or @g.us for groups).
  • Authentication errors: Verify that the API key credential is correctly set up and has not expired or been revoked.
  • Chat not found or already unpinned: The API might return an error if the chat ID does not exist or is not currently pinned. Confirm the chat's pinned status before running the node.
  • Network issues: Check connectivity to https://waapi.app/api/v1 and ensure no firewall or proxy blocks the request.

Links and References

Discussion