GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Send → Send Presence

AI-generated

Overview

This node operation sends a presence status update to the Go WhatsApp Web MultiDevice API. It allows users to set their presence as either 'Available' or 'Unavailable', which can be useful for indicating online or offline status in messaging applications. This operation is beneficial in scenarios where real-time presence information is needed, such as chat applications or customer support systems.

Use Case Examples

  1. Setting presence to 'Available' when a user logs into the chat application.
  2. Setting presence to 'Unavailable' when a user logs out or becomes inactive.

Properties

Name Meaning
Device ID Optional device ID override. If set, it takes priority over the credential device ID.
Presence Type Presence status to send, either 'Available' or 'Unavailable'.
Is Forwarded Indicates whether this presence message is forwarded.

Output

JSON

  • presenceStatus - The presence status that was sent (e.g., available or unavailable).
  • deviceId - The device ID used for sending the presence status, either overridden or from credentials.
  • isForwarded - Indicates if the presence message was forwarded.

Dependencies

  • Go WhatsApp Web MultiDevice API
  • API key credential for authentication

Troubleshooting

  • Ensure the device ID is correctly set or overridden if needed, otherwise the default credential device ID is used.
  • Presence type must be either 'available' or 'unavailable'; invalid values will cause errors.
  • API authentication errors may occur if the API key credential is missing or invalid.

Discussion