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
User → Get Avatar
AI-generatedOverview
This node interacts with the Go WhatsApp Web MultiDevice API to retrieve the avatar image of a user based on their phone number. It is useful in scenarios where you need to display or process the profile picture of a WhatsApp user, such as in customer support dashboards, contact management systems, or social media integrations.
Use Case Examples
- Fetching the avatar of a user by providing their phone number to display in a chat application.
- Retrieving the profile picture of a user for verification or display in a CRM system.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override that takes priority over the credential device ID if set. |
| User Phone | Phone number of the user whose avatar is to be retrieved. Leave empty to get the avatar of the authenticated user. |
Output
JSON
avatarUrl- URL or data of the user's avatar imageuserPhone- Phone number of the user whose avatar was retrieved
Dependencies
- Requires an API key credential for Go WhatsApp Web MultiDevice API with host URL configuration.
Troubleshooting
- If the user phone number is incorrect or not registered on WhatsApp, the avatar retrieval will fail or return empty.
- Ensure the device ID override is correct if used; otherwise, the default credential device ID is used.
- Common error messages include 'Unknown resource' if the resource parameter is incorrect, or API errors if authentication fails or the user is not found.