AI-generated flow is an intelligent flow generation tool powered by the Qwen Large Language Model (LLM). It converts natural language descriptions or structured text into automated multi-turn messages and flow nodes, with built-in preview and editing capabilities. Use AI-generated flows to quickly create automated message flows and accelerate chatbot design for complex business scenarios.
Scenarios
When building automated chatbots for customer service, appointment booking, or food ordering, designing multi-turn conversation flows by manually dragging and configuring nodes on the canvas is tedious and time-consuming, especially for scenarios with complex conditional branches and multiple user interactions.
The AI-generated flow feature addresses this by letting you describe your business needs in plain language. The system uses the Qwen Large Language Model (LLM) to automatically generate a complete, visual flowchart. You can then validate, fine-tune, and deploy the flow in minutes instead of hours. Non-technical users can also create complex flows through simple operations.
Usage Notes
-
This feature is only available in the console. No API is currently provided.
-
After generating a flow, review and adjust it based on your actual business needs to ensure the logic and content meet requirements.
-
This feature has usage limits. Use it wisely.
-
AI-generated results are for reference only. Manually verify content at critical business nodes.
Architecture
The core of the AI-generated flow feature is an intelligent transformation engine that parses unstructured or semi-structured input and builds a structured flow definition for the flow editor.
-
Input processing: In quick generation mode, enter a natural language description. In professional generation mode, provide structured text in YAML format.
-
AI parsing and generation: The input is sent to the backend AI generation service. Using the Qwen LLM, this service parses the intent and identifies nodes, logic branches, variables, and interaction steps.
-
Flow definition construction: The AI service converts the parsed result into a standard flow definition file (such as JSON) that precisely describes each node’s type, content, and connections in the flowchart.
-
Visualization and editing: The flow definition is returned to the frontend flow editor and rendered as a visual flowchart. You can inspect the logic in the preview interface or load it directly onto the canvas for deep editing and further configuration.
Procedure
|
What to do next
-
Use heat map analysis for deeper insights into your message flow performance. Visualize node execution counts, execution percentages, and error rates to optimize your flow design and improve overall response rates. For more information, see Flow Editor Heat Map Analysis and AI-based Intelligent Analysis Guide.
-
Use the data panel to understand how your flow is triggered in practice. Data fields vary slightly by trigger type. For more information, see Flow Editor Data Panel Guide.
References
Refer to the following documents to learn more about flow editor canvas features and component configurations.
-
To understand the functions of different areas in the flow editor canvas, see Flow Editor Canvas Overview.
-
To learn about component configurations in the flow editor, see Flow Editor Components Guide.