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
Group → Get Security Messages Admin Only
AI-generatedOverview
This node operation retrieves the "messages admin only" security setting for a specific WhatsApp group via the Wappfy API. This setting controls whether only group admins can send messages in the group, which is useful for managing group communication and preventing non-admin members from posting messages.
Typical use cases include:
- Moderating large WhatsApp groups by restricting message sending to admins only.
- Automating group management workflows where you need to check the current messaging permissions before applying changes.
- Integrating with other systems to monitor or audit group security settings.
Example: You want to verify if a group has restricted messaging to admins only before sending an announcement or making further configuration changes.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group whose "messages admin only" security setting you want to retrieve. |
Output
The output JSON contains the current state of the "messages admin only" setting for the specified group. It typically includes a boolean flag indicating whether the setting is enabled (true) or disabled (false).
Example output structure (simplified):
{
"enabled": true
}
This means that only admins are allowed to send messages in the group.
Dependencies
- Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API base URL using these credentials.
- The group must exist and be accessible by the authenticated session.
Troubleshooting
- Invalid Group ID: If the provided Group ID does not exist or is incorrect, the API will likely return an error. Verify the Group ID is correct and that the authenticated user has access to it.
- Authentication Errors: Missing or invalid API key or instance name will cause authentication failures. Ensure credentials are properly set up.
- Permission Denied: If the authenticated user is not an admin or lacks permission to view group settings, the API may reject the request.
- Network Issues: Connectivity problems to the Wappfy API endpoint will cause request failures. Check network connectivity and API availability.
Common error messages:
"Group not found"— Check the Group ID."Unauthorized"or"Invalid API key"— Verify credentials."Forbidden"— Insufficient permissions.
Links and References
- Wappfy API Documentation (general reference for API endpoints)
- WhatsApp Group Management Concepts: https://faq.whatsapp.com/general/chats/about-groups/
(Note: Specific API docs for this exact endpoint may require access to Wappfy developer resources.)