WhatsApi icon

WhatsApi

Connect with WhatApp HTTP API

Overview

This node interacts with a WhatsApp HTTP API to retrieve the profile picture of a specified group. It is useful in scenarios where you want to programmatically access and display or process the profile image associated with a WhatsApp group, for example, in customer support dashboards, group analytics tools, or automated messaging systems that personalize content based on group identity.

Properties

Name Meaning
Phone The session ID representing the authenticated WhatsApp phone session. Typically linked to an API key or token.
To The unique identifier (JID) of the WhatsApp group whose profile picture you want to fetch. Format example: [email protected].

Output

The node outputs JSON data containing the profile picture information of the specified WhatsApp group. This typically includes metadata about the image and possibly a URL or base64 encoded string representing the image itself. If binary data is returned, it would represent the actual image file of the group's profile picture.

Dependencies

  • Requires connection to a WhatsApp HTTP API service.
  • Needs an API authentication token or session ID credential configured in n8n.
  • The base URL for the WhatsApp API must be set in the node credentials.
  • The node depends on the external package @devlikeapro/n8n-openapi-node for building properties from an OpenAPI specification.

Troubleshooting

  • Invalid Session ID: If the session ID (Phone) is incorrect or expired, the API call will fail. Ensure the session ID is valid and refreshed if necessary.
  • Incorrect Group JID: Providing an invalid or non-existent group JID will result in errors or empty responses. Verify the group identifier format and existence.
  • API Connectivity Issues: Network problems or incorrect base URL configuration can cause request failures. Check API endpoint accessibility and credential correctness.
  • Permission Denied: The API user might lack permissions to access the group's profile picture. Confirm appropriate rights are granted.

Links and References

Discussion