Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node operation retrieves the "info admin only" security setting of a WhatsApp group via the Wappfy API. This setting controls whether only group admins can change the group's info (such as subject, description, and icon). It is useful for administrators who want to audit or verify the current security restrictions on group information changes.

Common scenarios:

  • Checking if a group restricts info changes to admins only before attempting updates.
  • Auditing group security settings in bulk workflows.
  • Integrating with compliance or moderation systems that monitor group permissions.

Example:
You have an automation that manages multiple WhatsApp groups. Before updating group details, you use this operation to confirm if info changes are restricted to admins only, ensuring your bot has the necessary permissions.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group whose "info admin only" security setting you want to retrieve.

Output

The output JSON contains the current state of the "info admin only" security setting for the specified group. Typically, it will include a boolean flag indicating whether the setting is enabled (true) or disabled (false).

Example output structure:

{
  "enabled": true
}

This means that only group admins can modify the group's info.

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 endpoint corresponding to the configured instance.
  • The user must have appropriate permissions to query group settings via the Wappfy API.

Troubleshooting

  • Invalid Group ID: If the provided Group ID does not exist or is malformed, the API may return an error. Verify the Group ID format and existence.
  • Authentication Errors: Ensure the API key credential is correctly set up and has access rights to the target instance.
  • Permission Denied: The authenticated session might lack permission to view group security settings. Confirm the session's privileges.
  • Network Issues: Connectivity problems to the Wappfy API endpoint can cause request failures. Check network and endpoint availability.

If errors occur, the node will either throw an error or, if configured to continue on fail, output an error message in the JSON.

Links and References

  • Wappfy API Documentation (general reference for API endpoints)
  • WhatsApp Group Settings Overview (for understanding admin-only info restrictions)

Note: This summary is based solely on static analysis of the node's source code and property definitions without runtime execution.

Discussion