Configuration
whatsapp_config_id: WhatsApp connection to use (optional; falls back to the conversation)interactive_type: button, list, cta_url, flow, product, product_list, catalog_messagebody_text: Message content (string or AIField)header_type: none, text, image, video, document (optional)header_text: Header text for text headers (optional)header_media_url: Media URL for image/video/document headers (optional)footer_text: Footer text (optional)provider_model_name: Required when using AIField
buttons: For button typelist_button_text,list_sections: For list typecta_display_text,cta_url: For cta_url typeflow_id,flow_cta,flow_token: For flow type
Use the helper classes
InteractiveButton, ListSection, and ListRow (from kapso.builder.flows.nodes.send_interactive) for ergonomic construction. Plain dictionaries are also accepted and will be normalised for you.Examples
Button messageInteractive types
- button: Up to 3 reply buttons
- list: Dropdown menu with sections
- cta_url: Single button that opens URL
- flow: WhatsApp Flow for data collection
- product: Single product from catalog
- product_list: Multiple products from catalog
- catalog_message: Full catalog browser

