Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables sending an image as a WhatsApp status update via the Wappfy API. It supports sending images either by providing a direct URL or by supplying Base64-encoded image data. Users can also add an optional caption to the image status.

Typical use cases include:

  • Sharing promotional images or announcements as WhatsApp status updates.
  • Automatically posting event photos or branded content to WhatsApp statuses.
  • Integrating with other systems to dynamically update WhatsApp status images based on triggers.

Properties

Name Meaning
Media Source Source of the media file; options: URL (provide a direct link to the image), Base64 (provide Base64 encoded image data)
File URL URL of the image file to send (required if Media Source is URL)
Base64 Data Base64 encoded image data (required if Media Source is Base64)
File Name Name of the file (used when Media Source is Base64; default is "file")
MIME Type MIME type of the image file, e.g., image/jpeg (required)
Caption Optional caption text for the image status

Output

The node outputs JSON data representing the response from the Wappfy API after attempting to send the image status. The structure typically includes details about the sent status message such as message ID and status confirmation.

If multiple input items are processed, the output is an array of JSON objects corresponding to each item.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Wappfy API credential configured in n8n, including:

    • Base URL of the Wappfy API instance.
    • Instance name identifier.
    • An API key for authentication.
  • The node makes HTTP POST requests to the Wappfy API endpoints to send image statuses.

Troubleshooting

  • Common issues:

    • Missing or incorrect API credentials will cause authentication failures.
    • Providing an invalid or inaccessible image URL will result in errors from the API.
    • Incorrect MIME type or missing required fields may cause the API to reject the request.
    • Large Base64 data strings might cause performance issues or timeouts.
  • Error messages:

    • Authentication errors: Verify that the API key and instance name are correctly set.
    • Validation errors: Check that all required properties (e.g., MIME type, file URL/Base64 data) are provided and valid.
    • Network errors: Ensure the Wappfy API base URL is reachable from your environment.

Links and References

Discussion