- Visual canvas: Use the web Flow Builder to drag and drop nodes.
- CLI + Flow SDK: Define flows in code and deploy with the Kapso CLI (covered below).
Install and setup
Create your flow
flows/my_first_flow/
with:
flow.py
: Your flow definitionmetadata.yaml
: Flow metadata
Edit your flow
Openflows/my_first_flow/flow.py
. The basic template looks like:
WHATSAPP_CONFIG_ID
with your actual ID from the Kapso dashboard.
Deploy your flow
Test your flow
Go to app.kapso.ai → your project → Flows → click Test on your flow. The test modal lets you:- Send an initial message to trigger the flow
- See mock WhatsApp messages in real time
- View flow events and variables as it executes
- Send user responses when the flow waits for input