Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node operation allows you to configure the "Info Admin Only" security setting for a WhatsApp group via the Wappfy API. Specifically, it sets whether only group admins can change the group's info (such as subject, description, and icon). This is useful for managing group permissions and ensuring that only authorized users can modify important group details.

Practical scenarios include:

  • Enforcing stricter control over group information in large or sensitive groups.
  • Automating group security settings as part of onboarding or group management workflows.
  • Quickly toggling admin-only restrictions on group info without manual intervention in WhatsApp.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group whose security info setting you want to change.
Enabled Boolean flag to enable (true) or disable (false) the "Info Admin Only" setting.

Output

The node outputs the JSON response returned by the Wappfy API after attempting to set the security info admin-only setting. This typically includes confirmation of the updated setting or error details if the operation failed.

The output structure is:

{
  "json": {
    // API response object confirming the update or containing error info
  }
}

No binary data is involved in this operation.

Dependencies

  • Requires an active Wappfy API credential with appropriate API key and instance name configured in n8n.
  • The node makes HTTP requests to the Wappfy API base URL using the provided credentials.
  • Proper permissions on the WhatsApp group are necessary to change security settings.

Troubleshooting

  • Common issues:

    • Invalid or missing Group ID will cause the API call to fail.
    • Insufficient permissions (not an admin) in the WhatsApp group will prevent changing the setting.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity issues may cause request failures.
  • Error messages:

    • Authentication errors: Check that the API key credential is valid and correctly configured.
    • "Group not found" or similar: Verify the Group ID is correct and the bot/user has access.
    • Permission denied: Ensure the authenticated user is an admin of the group.
    • Request timeouts or network errors: Confirm network connectivity and API availability.

To resolve errors, verify all input parameters, credentials, and group permissions before retrying.

Links and References

  • Wappfy API Documentation (for detailed API endpoints and parameters)
  • WhatsApp official documentation on group settings and admin roles (for understanding permission implications)

Discussion