Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Message → Send Template

AI-generated

Overview

This node sends a WhatsApp message using a predefined template through the Evolution API. It is useful for automating the sending of standardized messages such as notifications, alerts, or marketing messages where the content follows a specific template format. For example, sending appointment reminders or promotional messages with dynamic variables filled in the template.

Use Case Examples

  1. Send a WhatsApp template message to a customer with personalized variables like name and appointment date.
  2. Automate sending order confirmation messages using a predefined WhatsApp template.

Properties

Name Meaning
Instance Name The name of the Evolution API instance to use for sending the message.
Recipient Number The WhatsApp recipient's remoteJid (phone number in WhatsApp format) to whom the template message will be sent.
Template Name The name of the WhatsApp template to send.
Language The language code of the template, e.g., en_US or pt_BR, specifying the language in which the template message will be sent.
Template Variables A collection of variables to fill in the template placeholders. Each variable has a type (header, body, or button) and a value to be inserted into the template.

Output

JSON

  • messageId - The unique identifier of the sent message.
  • status - The status of the message sending operation (e.g., sent, failed).
  • recipient - The recipient's remoteJid to whom the message was sent.

Dependencies

  • Evolution API credentials (API key or token) required for authentication.

Troubleshooting

  • Ensure the Evolution API credentials are correctly configured and valid to avoid authentication errors.
  • Verify that the recipient number (remoteJid) is in the correct WhatsApp format to prevent message delivery failures.
  • Check that the template name and language code match an existing WhatsApp template configured in the Evolution API instance.
  • If template variables are used, ensure they correspond correctly to the placeholders in the template to avoid template rendering errors.

Discussion