Waapify icon

Waapify

Send WhatsApp messages via Waapify API

Overview

This node integrates with the Waapify API to send WhatsApp messages using various message types and operations. Specifically, for the Message resource and Send Template operation, it sends a predefined WhatsApp template message to a specified phone number.

Common scenarios where this node is beneficial include:

  • Automating customer notifications using WhatsApp templates (e.g., appointment reminders, order confirmations).
  • Sending standardized messages that comply with WhatsApp's template messaging rules.
  • Integrating WhatsApp communication into workflows without manual intervention.

Practical example:

  • A business wants to automatically send a "Thank you for your purchase" template message to customers after they complete an order on their e-commerce platform.

Properties

Name Meaning
Phone Number The recipient's phone number including country code but without the "+" sign.
Template Name The name of the WhatsApp message template to send.

Output

The node outputs JSON data representing the response from the Waapify API after attempting to send the template message. This typically includes status information about the message delivery or any errors encountered.

If the API returns binary data (not indicated in this operation), it would represent media content or files sent via WhatsApp, but for sending templates, output is purely JSON.

Dependencies

  • Requires an active Waapify API account with valid credentials including:
    • Base URL of the Waapify API.
    • Instance ID.
    • Access token for authentication.
  • The node expects these credentials to be configured in n8n as an API key credential (generic reference).

Troubleshooting

  • Common issues:

    • Invalid or missing phone number format (must include country code, no "+" sign).
    • Using a template name that does not exist or is not approved in the WhatsApp Business account.
    • Expired or invalid API credentials causing authentication failures.
    • Network connectivity issues preventing access to the Waapify API endpoint.
  • Error messages:

    • Waapify API Error: <message> — Indicates an error returned by the Waapify API, such as invalid parameters or unauthorized access.
    • HTTP status codes like 401 (Unauthorized) or 400 (Bad Request) suggest credential or input validation problems.
  • Resolutions:

    • Verify phone number formatting matches requirements.
    • Confirm the template name is correct and approved in WhatsApp Business Manager.
    • Check and update API credentials in n8n settings.
    • Ensure network connectivity and that the Waapify service is reachable.

Links and References

Discussion