Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
This node interacts with WhatsApp groups via the Wappfy API, specifically allowing you to retrieve the "Security Messages Admin Only" setting for a given group. This setting controls whether only group admins can send messages in the group, enhancing group security and moderation.
Common scenarios where this node is beneficial include:
- Automating the monitoring of group message permissions to ensure only admins can post during announcements or important discussions.
- Integrating group security settings checks into workflows that manage WhatsApp groups.
- Auditing group configurations programmatically for compliance or administrative purposes.
Example use case:
- A workflow that periodically checks if the "messages admin only" setting is enabled for critical groups and sends alerts if it is disabled.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group whose "messages admin only" security setting you want to retrieve. |
Output
The node outputs JSON data representing the current state of the "messages admin only" security setting for the specified group. The exact structure depends on the API response but typically includes information such as whether the setting is enabled or disabled.
Example output JSON (simplified):
{
"enabled": true
}
This indicates that only admins are allowed to send messages in the group.
No binary data output is involved in this operation.
Dependencies
- Requires an active Wappfy API credential configured in n8n, including:
- Base URL of the Wappfy API.
- Instance name identifying the WhatsApp session.
- An API key for authentication.
- The node makes HTTP requests to the Wappfy API endpoints.
Troubleshooting
- Invalid Group ID: If the provided Group ID is incorrect or does not exist, the API may return an error. Verify the Group ID is accurate.
- Authentication Errors: Missing or invalid API key or instance name will cause authentication failures. Ensure credentials are correctly set up.
- API Endpoint Unreachable: Network issues or incorrect base URL configuration can prevent communication with the Wappfy API.
- Permission Denied: The authenticated user/session might lack permissions to access group security settings. Confirm appropriate rights.
- Error Message Handling: If the node encounters an error, it throws a descriptive error message unless "Continue On Fail" is enabled, in which case it outputs the error in the JSON field.
Links and References
- Wappfy API Documentation (for detailed API endpoint info)
- WhatsApp Group Security Settings (general WhatsApp reference)
This summary is based solely on static analysis of the provided source code and property definitions.