Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Group → Get Security Info Admin Only

AI-generated

Overview

This node interacts with WhatsApp groups via the Wappfy API, specifically allowing you to retrieve the "security info admin only" setting of a WhatsApp group. This setting controls whether certain security-related information in the group is restricted to admins only.

Use cases include:

  • Automating compliance checks by verifying if a group restricts security info visibility to admins.
  • Monitoring group settings for security audits or administrative oversight.
  • Integrating group security status into broader workflows or dashboards.

For example, you might use this node to fetch the current security info admin-only setting before deciding whether to update it or notify group members.

Properties

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

Output

The node outputs JSON data representing the current "info admin only" security setting of the specified group. The exact structure depends on the API response but typically includes a boolean flag indicating whether the setting is enabled or disabled.

Example output JSON (simplified):

{
  "enabled": true
}

This indicates that only admins can view certain security information in the group.

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 GET requests to the Wappfy API endpoint:

    /api/{instanceName}/groups/{groupId}/settings/security/info-admin-only
    

Troubleshooting

  • Invalid Group ID: If the provided Group ID is incorrect or does not exist, the API may return an error or empty response. 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.

  • Network Issues: Connectivity problems to the Wappfy API endpoint will result in request failures. Check network access and API availability.

  • Permission Denied: If the WhatsApp session does not have admin privileges in the group, the API might reject the request or return limited information.

Common error messages:

  • "Unauthorized": Check API key and instance name.
  • "Group not found": Verify the Group ID.
  • "Forbidden": Ensure the session has admin rights in the group.

Links and References

  • Wappfy API Documentation (general reference for API endpoints)
  • WhatsApp Group Security Settings (official WhatsApp documentation for context on admin-only settings)

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

Discussion