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 → Set Avatar
AI-generatedOverview
This node operation allows setting or updating the avatar image for a user in the Go WhatsApp Web MultiDevice API. It is useful in scenarios where a user's profile picture needs to be changed or initialized, such as in user profile management or customization workflows. For example, an automation could update a user's avatar based on an uploaded image file or a new image captured from another system.
Use Case Examples
- Updating a user's avatar after they upload a new profile picture in a web app.
- Setting a default avatar for new users during onboarding.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override that takes priority over the credential device ID if set. |
| Avatar File Property | Name of the binary property containing the avatar image file to be set as the user's avatar. |
Output
JSON
avatarUpdateStatus- Status or result of the avatar update operation.
Dependencies
- Requires an API key credential for authenticating with the Go WhatsApp Web MultiDevice API.
Troubleshooting
- Ensure the binary property specified in 'Avatar File Property' contains valid image data; otherwise, the avatar update will fail.
- If the device ID override is set, verify it is correct and authorized to perform the operation.
- Common errors include authentication failures due to invalid credentials and file format errors if the avatar image is not supported.