1. Analyze user's business needs and desired workflow type (chatflow/workflow/agent).
2. Design the workflow nodes, including input variables, LLM prompts, and code execution logic.
3. Connect the nodes based on the logical flow, configuring variable passing and conditional branching.
4. Generate the complete Dify DSL in YAML format, including app, dependencies, and workflow definitions.
5. Validate the generated YAML for correctness, completeness, and adherence to Dify's specifications.
6. Recommend the generated DSL file to the user for importing into Dify.