WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI service to pin a chat in WhatsApp. Pinning a chat is useful for keeping important conversations at the top of the chat list, ensuring quick access and visibility. Typical use cases include prioritizing customer support chats, highlighting urgent group discussions, or managing frequently contacted users.

For example, a user can automate pinning a specific customer’s chat when a new support ticket is created, so the support team always sees it first.

Properties

Name Meaning
Id The ID of the WhatsApp instance to target.
Chat Id The unique identifier of the chat to pin. Format: <countrycode_short><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 pin the specified chat. This typically includes confirmation of success or details about the pinned chat. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node sends requests to the WaAPI endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API key credential within n8n is necessary.

Troubleshooting

  • Invalid Chat Id format: Ensure the chat ID follows the correct pattern (<countrycode><number>@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.
  • Network issues: Confirm that the n8n instance can reach https://waapi.app/api/v1.
  • Permission denied or insufficient rights: The API key might lack permissions to pin chats; check the API key scopes.
  • Unexpected API responses: Review the JSON output for error messages returned by the WaAPI service to diagnose issues.

Links and References

Discussion