Cloudia icon

Cloudia

Send messages

Whatsapp Cloud → Send Document Template

AI-generated

Overview

This node sends a document template message via the Whatsapp Cloud service. It is useful for automating the sending of predefined document templates to customers through Whatsapp, such as invoices, contracts, or informational documents. For example, a business can use this node to send a contract template to a customer automatically after a purchase.

Use Case Examples

  1. Sending a document template to a customer with specific parameters filled in, such as customer name or order details.
  2. Automating the delivery of a PDF invoice template to customers via Whatsapp Cloud.

Properties

Name Meaning
Cloudia API Key API key for authenticating requests to the Cloudia service, used if credentials are not configured.
Customer ID The unique identifier of the customer to whom the document template message will be sent.
Template ID The identifier of the document template to be sent via Whatsapp Cloud.
Template Parameters Parameters to fill in the variables predefined in the document template, allowing customization of the message content.
Media URL The URL of the document media to be sent as part of the template message.
Media Filename The filename to assign to the document being sent.
Additional Fields Optional additional settings such as indicating whether the message is sent by an attendant or a bot.

Output

JSON

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

Dependencies

  • Requires an API key credential for Cloudia API authentication.

Troubleshooting

  • Common issues include invalid or missing API key, incorrect customer ID, or invalid template ID which will cause the message sending to fail.
  • Error messages typically indicate unsupported resource or operation if the parameters are incorrect.
  • Ensure the media URL is accessible and the filename is provided to avoid errors.

Discussion