WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Chats → Send Typing Status

AI-generated

Overview

This node allows sending a typing status indicator in WhatsApp chats via the WaliChat API. It can simulate a user typing, recording a voice message, or stopping any such activity in either individual user chats or group chats. This is useful for creating more interactive and human-like chatbot experiences or automations by signaling to recipients that a message is being composed or recorded.

Practical examples:

  • A chatbot sends a "typing" status before delivering a response to make the interaction feel natural.
  • An automation indicates "recording" when preparing a voice note to be sent.
  • The typing or recording status is stopped after a certain duration or when the message is sent.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the typing status will be sent.
Action The type of typing status to send. Options: Typing, Recording, Stop.
Duration (seconds) Optional duration (2-30 seconds) for how long the typing status should last.
Target Type The type of chat to send the typing status to. Options: User Chat or Group Chat.
User Phone Number The phone number in E.164 format (e.g., +447362053576) of the individual user chat target.
Group ID The group chat ID (e.g., 44736205357600000000@g.us) for targeting a group chat.

Output

The node outputs JSON data representing the result of the typing status operation. This typically includes confirmation or status information returned by the WaliChat API about the typing status sent.

No binary data output is produced by this node.

Dependencies

  • Requires an active WaliChat API key credential configured in n8n.
  • Depends on the WaliChat WhatsApp API service to send typing status updates.
  • The node dynamically loads available WhatsApp numbers (devices) and groups for selection.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number/device ID: Ensure the selected device is correctly configured and authorized.
    • Incorrect phone number format: The user phone number must be in E.164 format.
    • Group ID not found or invalid: Make sure the group exists and the bot has access.
    • Duration out of allowed range (2-30 seconds): Adjust the duration accordingly.
  • Error messages:

    • Errors related to authentication usually indicate problems with the API key credential.
    • API errors about invalid parameters suggest checking the input values for correctness.
    • Network or connectivity errors imply issues reaching the WaliChat API endpoint.

Resolving these generally involves verifying credentials, input formats, and network connectivity.

Links and References

Discussion