Cloudia icon

Cloudia

Send messages

Whatsapp Web → Send Document

AI-generated

Overview

This node sends a document message via WhatsApp Web using the Cloudia API. It is useful for automating the sending of documents such as PDFs, images, or other files to a specified phone number through WhatsApp. For example, a business can use this node to send invoices, contracts, or product manuals directly to customers' WhatsApp accounts.

Use Case Examples

  1. Sending a PDF invoice to a customer's WhatsApp number.
  2. Sending a product manual document to a customer after purchase.

Properties

Name Meaning
Cloudia API Key API key for authenticating requests to the Cloudia service, used if credentials are not configured.
Phone Number The recipient's phone number in international format to which the document will be sent.
Media URL The URL of the document file to be sent via WhatsApp.
Media Filename The filename to be used for the document being sent.
Caption Optional caption text to accompany the document message.
Additional Fields Optional additional parameters such as channel integration ID, customer name, and sender type (attendant, bot, or system).

Output

JSON

  • success - Indicates if the document was sent successfully.
  • error - Error message if sending the document failed.

Dependencies

  • Cloudia API service for sending WhatsApp messages

Troubleshooting

  • Ensure the Cloudia API key is valid and has permissions to send WhatsApp messages.
  • Verify the phone number is in the correct international format without spaces or special characters.
  • Check that the media URL is accessible and points to a valid document file.
  • Common errors include unsupported resource or operation errors if parameters are misconfigured.
  • If the node fails, check if 'Continue On Fail' is enabled to handle errors gracefully.

Discussion