GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

User → Get Avatar

AI-generated

Overview

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

  1. Fetching the avatar of a user by providing their phone number to display in a chat application.
  2. 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 image
  • userPhone - 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.

Discussion