.. _flow-main: ************** Flow ************** A flow is a programmable automation workflow that defines how incoming or outgoing calls and messages are handled, including IVR menus, routing logic, and AI integrations. **API Reference:** `Flow endpoints `_ .. toctree:: :maxdepth: 2 flow_overview flow_struct_flow flow_struct_action flow_tutorial_basic flow_tutorial_scenario flow_execution_internals flow_advanced_patterns flow_debugging flow_best_practices activeflow_overview activeflow_struct_activeflow activeflow_tutorial