from kapso.builder.flows.nodes import SendTextNodefrom kapso.builder.ai import AIField# Static messagenode = SendTextNode( id="send_text_1234", whatsapp_config_id="config_123", message="Hello! How can I help you today?")# AI-generated messagefrom kapso.builder.ai.field import AIFieldnode = SendTextNode( id="send_text_5678", whatsapp_config_id="config_123", message=AIField("Personalize greeting based on customer history"), provider_model_name="claude-sonnet-4-20250514")
from kapso.builder.flows.nodes import SendInteractiveNode# Button messagenode = SendInteractiveNode( id="interactive_1234", whatsapp_config_id="config_123", interactive_type="button", body_text="How can we help you today?")# List message with AI content from kapso.builder.ai.field import AIFieldnode = SendInteractiveNode( id="interactive_5678", whatsapp_config_id="config_123", interactive_type="list", body_text=AIField("Create personalized menu options"), provider_model_name="claude-sonnet-4-20250514")