WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

The node provides an operation to send a "typing" indicator in a WhatsApp chat using the WaAPI service. This is useful when you want to simulate or notify that a user (or bot) is currently typing a message in a specific chat, enhancing the interactivity and user experience in automated messaging scenarios.

Common use cases include:

  • Indicating to the recipient that a response is being prepared.
  • Creating more natural conversational flows in chatbots.
  • Signaling activity before sending a message or media.

Properties

Name Meaning
Id Instance ID (a required numeric identifier for the API instance or session).
Chat Id The target chat's unique identifier in WhatsApp format: <countrycode><usernumber>@c.us for individual chats or @g.us for groups.

Output

The node outputs JSON data representing the result of the "send typing" action. Typically, this will confirm whether the typing indicator was successfully sent to the specified chat. There is no binary output involved.

Dependencies

  • Requires an active connection to the WaAPI service via an API key credential.
  • The node depends on the external WaAPI REST API endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Invalid Chat Id: If the chat ID is malformed or does not exist, the API may return an error. Ensure the chat ID follows the correct WhatsApp format.
  • Authentication Errors: Missing or invalid API credentials will prevent the node from working. Verify that the API key is correctly set up.
  • Instance ID Issues: The instance ID must be valid and correspond to an active session in WaAPI; otherwise, requests will fail.
  • Network or API Downtime: Connectivity issues or downtime on the WaAPI service side can cause failures. Check network access and service status.

Links and References

  • WaAPI Official Documentation
  • WhatsApp Chat ID Format Explanation: Use <countrycode><number>@c.us for individuals and @g.us suffix for groups.

Discussion