Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node integrates with the Wappfy API to interact with WhatsApp, enabling various operations on different resources such as messages, chats, contacts, groups, statuses, channels, profiles, and more. Specifically, for the Profile resource with the Set Picture operation, it allows users to update their WhatsApp profile picture by providing a URL to the image file.

Common scenarios where this node is beneficial include automating WhatsApp profile management, updating profile pictures programmatically based on external triggers or workflows, and maintaining consistent branding or personal identity across WhatsApp accounts without manual intervention.

For example, a marketing automation workflow could update the WhatsApp profile picture daily with a new promotional image hosted online, using the "Set Picture" operation with a file URL.

Properties

Name Meaning
File URL URL of the image file to set as the new profile picture. Must be accessible via HTTP(s).

Output

The node outputs the JSON response returned by the Wappfy API after attempting to set the profile picture. This typically includes confirmation of success or details about the updated profile picture.

  • The output is structured as an array of items, each containing a json field with the API response.
  • No binary data output is produced by this operation.

Example output structure:

[
  {
    "json": {
      "success": true,
      "message": "Profile picture updated successfully"
    }
  }
]

Dependencies

  • Requires a valid Wappfy API credential with:
    • Base URL of the Wappfy API instance.
    • Instance name identifier.
    • An API key for authentication.
  • The node makes HTTP requests to the Wappfy API endpoints.
  • Network access to the provided file URL must be available from the n8n environment.

Troubleshooting

  • Invalid or inaccessible File URL: If the URL is incorrect, unreachable, or the file is not an image, the API may return an error. Ensure the URL is publicly accessible and points directly to a valid image file.
  • Authentication errors: Missing or invalid API key or instance name will cause authorization failures. Verify credentials are correctly configured.
  • API endpoint errors: If the Wappfy API service is down or the endpoint changes, requests will fail. Check the API status and update base URL if needed.
  • Error message handling: Errors thrown by the node include the API error message. Use these messages to diagnose issues such as invalid parameters or server errors.
  • Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error details in the output JSON.

Links and References


This summary focuses exclusively on the "Profile" resource and "Set Picture" operation as requested.

Discussion