Uniteds WhatsApp icon

Uniteds WhatsApp

Interact with Uniteds WhatsApp API - Complete Edition

Overview

This node integrates with the Uniteds WhatsApp API to send various types of WhatsApp messages, including documents, images, videos, and audio. Specifically, the 'Send Document' operation under the 'Message' resource allows users to send a document file to a specified phone number via WhatsApp by providing the instance ID, recipient phone number, media URL, and an optional caption. This node is useful for automating WhatsApp communications, such as sending invoices, contracts, or informational documents to customers or contacts.

Use Case Examples

  1. Sending a PDF invoice to a customer by specifying the document URL and recipient phone number.
  2. Sharing a product brochure document with a client through WhatsApp automatically after a form submission.

Properties

Name Meaning
Instance ID The ID of the WhatsApp instance used to send the message.
Phone Number The recipient's phone number including the country code.
Media URL The URL of the document file to be sent.
Caption An optional caption text to accompany the document.

Output

JSON

  • messageId - The unique identifier of the sent message.
  • status - The status of the message sending operation (e.g., sent, failed).
  • to - The recipient phone number.
  • mediaUrl - The URL of the sent document media.
  • caption - The caption text sent with the document, if any.

Dependencies

  • Uniteds WhatsApp API

Troubleshooting

  • Ensure the Instance ID is correct and active in the Uniteds WhatsApp system.
  • Verify the phone number format includes the country code without extra characters.
  • Check that the Media URL is accessible and points to a valid document file.
  • If the API returns authentication errors, verify the API credentials and permissions.

Links

Discussion