Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Group → Set Group Photo
AI-generatedOverview
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
- Updating a group photo to a new image file stored in the workflow's binary data.
- 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.