WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI service to pin a chat in WhatsApp. Pinning a chat is useful for keeping important conversations easily accessible at the top of the chat list. 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 chat by providing the WhatsApp instance ID and the chat ID, ensuring that conversation remains visible without manual intervention.

Properties

Name Meaning
Id The ID of the WhatsApp instance where the chat exists.
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 communicates with 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 the necessary permissions.
  • Instance ID issues: Confirm that the provided WhatsApp instance ID is valid and active.
  • Network or API downtime: Check connectivity to https://waapi.app/api/v1 and the status of the WaAPI service.

Links and References

Discussion