Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Group → Get Group Picture
AI-generatedOverview
This node operation retrieves the profile picture of a specified WhatsApp group using the WasenderAPI. It is useful for scenarios where you need to display or process the group's image, such as in messaging automation, group management dashboards, or contact enrichment workflows.
Use Case Examples
- Fetch and display the profile picture of a WhatsApp group in a CRM system.
- Use the group picture in a notification message sent to users.
- Archive group images for record-keeping or auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Session | Optional session selection to specify which WhatsApp session to use for the API request. |
| Group | The identifier (JID) of the WhatsApp group whose picture is to be retrieved. Can be selected from a list or entered manually. |
| Options | Additional request options such as retry behavior and maximum retry attempts for the API call. |
Output
Binary
The node outputs the group picture as binary data, allowing downstream nodes to process or save the image file.
JSON
resourceType- Indicates the type of resource, here it will be 'group'.resourceId- The JID of the group whose picture was retrieved.pictureUrl- The URL of the group's profile picture.mimeType- The MIME type of the picture file, e.g., image/jpeg.fileName- The generated file name for the picture file.
Dependencies
- Requires WasenderAPI credentials for authentication and access to WhatsApp sessions.
Troubleshooting
- Ensure the session ID is correctly specified or available in the input data; otherwise, the node will throw a 'Session is required' error.
- Verify the group JID is valid and the group exists in the selected session.
- If the API request fails, check network connectivity and WasenderAPI service status.
- If the picture URL is missing in the API response, the node will throw an error indicating the profile picture could not be retrieved.