Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

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

Typical use cases include:

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

For example, a marketing automation workflow could use this node to post daily product images as WhatsApp statuses to engage customers.

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 image file (used when Media Source is Base64; default is "file")
MIME Type MIME type of the image file (e.g., image/jpeg, image/png) (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.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Wappfy API instance with valid credentials including base URL, instance name, and an API key credential.
  • The node makes HTTP POST requests to the Wappfy API endpoints to send image statuses.
  • Proper configuration of the Wappfy API credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Providing an invalid or inaccessible file URL will result in errors from the API.
    • Supplying malformed Base64 data or incorrect MIME type may cause the upload to fail.
    • Omitting required parameters like MIME type or file source fields will trigger validation errors.
  • Error messages:

    • Authentication errors indicate problems with the API key or instance configuration.
    • HTTP 400 errors usually mean missing or invalid input parameters.
    • Network errors suggest connectivity issues between n8n and the Wappfy API endpoint.
  • Resolutions:

    • Verify and re-enter API credentials in n8n.
    • Ensure URLs are publicly accessible and correctly formatted.
    • Validate Base64 encoding and MIME types before sending.
    • Check that all required properties are set according to the operation's needs.

Links and References

Discussion