Wuzapi AI icon

Wuzapi AI

Send WhatsApp messages using Wuzapi - optimized for AI workflows

Overview

This node enables sending WhatsApp messages through the Wuzapi service, optimized for AI workflows. It supports multiple message types including text, images, documents, audio, video, location, and contact cards. The "Send Location" operation specifically allows users to share geographic coordinates along with an optional location name.

Common scenarios include:

  • Sending automated location updates or meeting points in customer support or delivery tracking.
  • Sharing a business location or event venue directly within a chat.
  • Integrating AI-driven workflows that require sending dynamic location data via WhatsApp.

Example: Automatically send a customer's current GPS coordinates as a location message after they check in on a mobile app.

Properties

Name Meaning
Phone Number Recipient's phone number in international format (without the "+" sign).
Latitude Latitude coordinate of the location to send.
Longitude Longitude coordinate of the location to send.
Location Name Optional descriptive name of the location (e.g., "Headquarters", "Event Venue").

Output

The node outputs JSON data representing the response from the Wuzapi API after sending the location message. This typically includes metadata about the sent message such as status, message ID, timestamps, or error information if the request failed.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Wuzapi API credential configured in n8n for authentication.
  • Relies on the Wuzapi REST API endpoint /message/location to send location messages.
  • Network connectivity to the Wuzapi service is necessary.

Troubleshooting

  • Invalid phone number format: Ensure the phone number is in international format without the "+" prefix. For example, use 5491155553934 instead of +5491155553934.
  • Missing required parameters: Latitude and longitude must be provided and valid numbers.
  • API errors: If the Wuzapi API returns an error (e.g., invalid credentials, quota exceeded), the node will throw an error unless "Continue On Fail" is enabled.
  • Unknown operation error: This should not occur when using the "Send Location" operation, but if it does, verify the operation parameter is correctly set.

Links and References

Discussion