Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt

Use this file to discover all available pages before exploring further.

Sends text messages to users via WhatsApp.

Configuration

  • whatsapp_config_id: WhatsApp connection to use (optional; falls back to the conversation)
  • phone_number_id: WhatsApp Business phone number ID to use (preferred for local/API source)
  • message: Text content (string or AIField)
  • provider_model_name: Required when using AIField
  • to_phone_number: Override destination phone number (optional; required for observer mode flows)

Workflow library example

workflow.addNode("send_intro", {
  type: "send_text",
  message: "Hi {{vars.customer_name}}, how can we help?",
  phoneNumberId: "<phone-number-id>"
});

Variable interpolation

Use variables in messages:
Hi {{customer_name}}, your order {{order_id}} is ready!

Usage patterns

Welcome message Response after decision