Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Send → Send Presence
AI-generatedOverview
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
- Setting presence to 'Available' when a user logs into the chat application.
- 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.