Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- Demote To Admin
- Join Group
- Create Group
- Get Groups
- Join Info Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
The `WAHA` node in n8n is designed to manage presence subscriptions for WhatsApp channels. By subscribing to a specific chat ID, it monitors the presence status of participants, enabling workflows to respond to changes in user availability. This functionality is particularly useful for automating responses or triggering actions based on user presence, such as sending messages when a user becomes available or initiating follow-up actions when a user is offline.
Use Case Examples
- Automating follow-up messages when a user becomes available.
- Triggering notifications when a user goes offline.
- Managing user availability statuses in customer support workflows.
Properties
| Name | Meaning |
|---|---|
| Session | Specifies the session name for the WhatsApp connection. This is essential for identifying and managing the WhatsApp session context. |
| Chat Id | Indicates the unique identifier for the chat whose presence status is being monitored. This allows the node to track the presence of participants within a specific chat. |
| Request Options | Provides additional configurations for the request, including batching settings, SSL certificate validation, proxy settings, and timeout durations. These options allow for fine-tuning the request behavior to suit specific requirements. |
Output
JSON
presenceStatus- Indicates the current presence status of the user, such as 'available', 'away', or 'offline'.lastSeen- Timestamp of the user's last activity, providing context for their current presence status.
Dependencies
- WhatsApp API credentials
- An API key credential
Troubleshooting
- Ensure that the WhatsApp API credentials are correctly configured and have the necessary permissions to access presence information.
- Verify that the chat ID provided corresponds to an active chat with participants whose presence can be monitored.
- Check network connectivity and proxy settings to ensure that requests can reach the WhatsApp API endpoint.
- If SSL certificate validation issues occur, consider setting 'Ignore SSL Issues' to true, but be aware of the security implications.