Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Status → Send Text

AI-generated

Overview

This node enables sending a text status update on WhatsApp via the Wappfy API. It allows users to post custom text as their WhatsApp status with optional styling such as background color and font style. Additionally, it supports sharing the status selectively with specific contacts.

Common scenarios where this node is beneficial include:

  • Broadcasting announcements or updates to your WhatsApp contacts.
  • Sharing promotional messages or alerts with customized appearance.
  • Targeting status visibility to selected contacts for privacy or segmentation.

For example, a business could use this node to send a green-background status message "New product launch today!" visible only to VIP customers by specifying their contact IDs.

Properties

Name Meaning
Status Text The text content of the WhatsApp status to be posted.
Background Color The background color of the text status, specified as a hex color code (e.g., #38b42f).
Font Numeric identifier for the font style used in the text status (e.g., 1).
Contacts Comma-separated list of contact IDs to share the status with; if empty, status is public.

Output

The node outputs JSON data representing the response from the Wappfy API after attempting to send the text status. This typically includes details about the created status message such as its ID and metadata confirming successful posting.

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 endpoint /api/{instanceName}/status/text with JSON payloads.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrectly formatted contact IDs may result in the status not being shared properly.
    • Network connectivity problems can prevent communication with the Wappfy API.
  • Error messages:

    • Authentication errors usually indicate invalid API keys or instance names; verify credentials.
    • Validation errors may occur if required fields like "Status Text" are empty; ensure all mandatory inputs are provided.
    • API rate limits or server errors will return corresponding HTTP error codes; retry after some time or check API usage limits.

Links and References

Discussion