Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation retrieves the picture of a specified WhatsApp group using the WARest WhatsApp REST API. It is useful for workflows that need to access or display the current group picture of a WhatsApp group, for example, to archive group images or to display group pictures in a dashboard.
Use Case Examples
- Get the profile picture of a WhatsApp group by providing the session ID and the group's unique ID (JID).
- Use the group picture in a notification or report by fetching it dynamically from the WhatsApp group.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier to use for the API call. It can be selected from a list of available sessions or entered manually. |
| Group ID | The unique identifier (JID) of the WhatsApp group whose picture is to be retrieved. It must end with @g.us or be the raw group ID. |
Output
JSON
json- The JSON response containing the group picture data returned by the WARest API.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; otherwise, the API call will fail.
- Verify the group ID is correct and corresponds to an existing WhatsApp group.
- Check that the API credentials (API key and base URL) are correctly configured in the node credentials.
- Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors if the session or group ID is invalid.
Links
- WARest WhatsApp REST API - Official documentation and repository for the WARest WhatsApp REST API used by this node.
