Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node operation allows sending a typing status indicator in WhatsApp chats via the Wassenger API. It can simulate a user typing, recording a voice message, or stopping any such activity indication in either individual user chats or group chats. This is useful for creating more interactive and human-like chatbot experiences or automating status updates during conversations.

Practical examples:

  • Indicating to a customer that a support agent or bot is typing a reply.
  • Showing a "recording" status when preparing a voice message.
  • Stopping the typing or recording indicator after a certain duration or when a message is sent.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the typing status will be sent.
Action Type of status to send: Typing, Recording, or Stop.
Duration (seconds) Duration for which the typing status should be shown, between 2 and 30 seconds (optional).
Target Type Type of chat to send the status to: User Chat or Group Chat.
User Phone Number Phone number in E.164 format of the individual user chat to send the typing status to.
Group ID Group chat ID to send the typing status to (e.g., a WhatsApp group identifier).

Output

The node outputs JSON data representing the result of the typing status action sent through the Wassenger API. The exact structure depends on the API response but typically includes confirmation of the action performed or error details if it failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wassenger WhatsApp API connection authenticated via an API key credential.
  • The node depends on dynamic loading of available WhatsApp numbers (devices) and groups for selection.
  • Proper configuration of the Wassenger API credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number/device ID may cause failure to send the typing status.
    • Incorrect phone number format for user chats (must be E.164 format).
    • Using a group ID that does not exist or is not accessible by the configured WhatsApp number.
    • Duration values outside the allowed range (2-30 seconds) might be rejected.
  • Error messages:

    • Errors related to authentication usually indicate invalid or missing API keys.
    • API errors about invalid targets or unsupported actions suggest checking the selected target type and action.
    • Network or timeout errors require verifying connectivity to the Wassenger API endpoint.

Links and References

Discussion