SendWhatsAppMessage

The SendWhatsAppMessage action sends a message to a user via WhatsApp. This requires a WhatsApp integration to be configured for your project.

SendWhatsAppMessage(
    message: str,
    user_id: str,
    phone_number: str
)

Where:

  • message: The text content of the message to send.
  • user_id: The user identifier of the recipient.
  • phone_number: The WhatsApp phone number of the recipient.

Example

{{SendWhatsAppMessage(
    message="Hello! This is a reminder about your appointment tomorrow.",
    user_id="user_123",
    phone_number="+16507000000"
)}}

The above code snippet sends a WhatsApp message to the specified phone number with a reminder about an appointment.