GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

User → Set Avatar

AI-generated

Overview

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

  1. Updating a user's avatar after they upload a new profile picture in a web app.
  2. 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.

Discussion