Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables sending text messages via WhatsApp using the Wappfy API. It is designed to send plain text messages to individual or group chats identified by their chat IDs. This functionality is useful for automating communication, such as sending notifications, alerts, reminders, or personalized messages to users or groups on WhatsApp.

Practical examples include:

  • Sending order confirmation messages to customers.
  • Broadcasting announcements to a group chat.
  • Sending automated replies or updates in customer support workflows.

Properties

Name Meaning
Chat ID The identifier of the chat where the message will be sent. Examples: 123456789@c.us (direct), 123456789@g.us (group).
Text The content of the text message to send.
Additional Options Optional settings including:
- Preview URL: Whether to generate link previews (true/false).
- Mentions: Comma-separated list of user IDs to mention in the message.

Output

The node outputs the JSON response returned by the Wappfy API after sending the text message. This typically includes details about the sent message such as message ID, status, timestamps, and any metadata provided by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
  • The node makes HTTP requests to the Wappfy API endpoints.
  • Network access to the Wappfy API base URL is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing chat ID format may cause message sending to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems can prevent API calls from succeeding.
    • If mentions are incorrectly formatted, they may not work as expected.
  • Error messages:

    • Authentication errors usually indicate invalid API keys or missing credentials; verify and update credentials.
    • "Chat not found" or similar errors suggest the chat ID does not exist or is inaccessible; confirm the chat ID.
    • Rate limiting or quota exceeded errors require checking API usage limits with Wappfy.
    • Malformed request errors often mean required parameters are missing or invalid; ensure all required fields are correctly set.

Links and References

Discussion