Waapify icon

Waapify

Send WhatsApp messages via Waapify API

Overview

This node enables sending WhatsApp messages through the Waapify API. It supports various message types including text, media, location, contact cards, and templates. Additionally, it can check if a phone number is registered on WhatsApp.

The Send Location operation specifically allows users to send a geographic location as a message by specifying latitude and longitude coordinates.

Common scenarios:

  • Sharing a meeting point or event location with clients or team members.
  • Sending delivery or pickup locations in customer service workflows.
  • Automating location sharing in logistics or field service applications.

Example:
A user wants to notify a customer of the store location by sending a WhatsApp message containing the exact GPS coordinates.

Properties

Name Meaning
Phone Number The recipient's phone number including country code but without the "+" sign.
Latitude Latitude coordinate of the location to send, expressed as a decimal number.
Longitude Longitude coordinate of the location to send, expressed as a decimal number.

Output

The node outputs the JSON response returned by the Waapify API for each message sent. This typically includes confirmation details about the message delivery status.

  • The output is an array of JSON objects corresponding to each input item processed.
  • No binary data is produced by this operation.

Dependencies

  • Requires an active Waapify API account with valid credentials (API base URL, instance ID, and access token).
  • The node uses these credentials to authenticate requests to the Waapify API endpoints.
  • Proper configuration of the API credentials within n8n is necessary before using the node.

Troubleshooting

  • Common issues:

    • Invalid or missing phone number format may cause message sending failures.
    • Incorrect latitude or longitude values (e.g., out of range) might result in errors or unexpected behavior.
    • Network or authentication errors if API credentials are incorrect or expired.
  • Error messages:

    • Errors from the Waapify API are relayed with messages like Waapify API Error: <message>.
    • HTTP status codes accompany error messages to help diagnose issues (e.g., 401 Unauthorized, 400 Bad Request).
  • Resolution tips:

    • Verify phone numbers include country code without "+" and are valid WhatsApp numbers.
    • Ensure latitude is between -90 and 90, longitude between -180 and 180.
    • Check that API credentials are correctly set up and have not expired.
    • Use the "Continue On Fail" option in n8n to handle individual item errors gracefully.

Links and References

Discussion