GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Group → Set Group Photo

AI-generated

Overview

This node operation sets or removes the photo of a specified WhatsApp group using the Go WhatsApp Web MultiDevice API. It is useful for managing group identity and appearance by updating the group photo dynamically. For example, a user can automate changing the group photo to reflect current events or themes, or remove the photo if no image is desired.

Use Case Examples

  1. Updating a group photo to a new image file stored in the workflow's binary data.
  2. Removing the group photo by leaving the photo file property empty.

Properties

Name Meaning
Device ID Optional device ID override that takes priority over the credential device ID if set.
Group ID The unique identifier of the group whose photo is to be set or removed.
Photo File Property The name of the binary property containing the photo file to set as the group photo. If left empty, the group photo will be removed.

Output

JSON

  • id - The ID of the group for which the photo was set or removed.
  • status - The status of the operation, indicating success or failure.

Dependencies

  • Requires an API key credential for Go WhatsApp Web MultiDevice API with host URL configuration.

Troubleshooting

  • Ensure the Group ID is valid and the bot or user has permission to change the group photo.
  • Verify the binary property name matches the actual binary data property containing the photo file.
  • If removing the photo, ensure the photo file property is left empty as required by the API.
  • Common errors include invalid group ID, missing or incorrect device ID, or insufficient permissions, which can be resolved by verifying input parameters and credentials.

Discussion