Workflow
Feature Overview: Workflow is the workflow management system in iFlow CLI that integrates agents, commands, IFLOW.md, and MCP tools to create complete automated workflows.
Learning Time: 15-20 minutes
Prerequisites: iFlow CLI installed, authentication completed, basic understanding of agents, commands, and MCP usage
What is Workflow
Workflows combine different AI capabilities (agents, commands, MCP tools) into complete workflow processes. Through workflows, you can create complex automated task chains, achieving full-process automation from code analysis, development, testing to deployment.
The XinLiu Open Platform has pre-built many excellent workflows, such as Xiaohongshu posting, in-depth research, PPT creation, flowchart drawing, etc. You can download and install them locally from the XinLiu Open Market, then adjust the workflows based on your unique personal needs.
For developers, the XinLiu Open Platform has pre-built developer workflows such as github spec, bmad, NioPD, ai-dev-task, etc. We welcome everyone to use them.
How It Works
Workflow Architecture
Input Data → Workflow Engine → Step Orchestration → Result Output
↓ ↓ ↓ ↓
[User Request] → [Process Parsing] → [Component Invocation] → [Result Aggregation]
↓ ↓
[Agent Execution] → [Command Execution] → [MCP Tool Invocation]
Installation
- Browse the XinLiu Open Market
- Browse and select the workflow you want to install
- Click install to get the installation command
- Execute the copied command in the terminal
💡 Workflows are installed at the project level by default and cannot be used in other working directories
Usage
First, you can refer to the corresponding workflow description for usage. Generally, there are two ways to use it:
- Directly use natural language to describe your needs, and iFlow CLI will automatically call the components in the workflow to fulfill your requirements
- Use the built-in slash commands of the workflow to trigger the workflow process
Examples
AI PPT Generation
- Navigate to a working folder and execute the installation command
iflow workflow add "ppt-generator-DlLJpA"
- Start iFlow CLI in the current working folder
iflow
- Execute the slash command to create PPT
/ppt-generator
It will first understand the current working directory, learn about its contents, then continuously interact with you to create a beautiful PPT
Flowchart Drawing
- Navigate to a working folder and execute the installation command
iflow workflow add "excalidraw-OzctqA"
- Start iFlow CLI in the current working folder
iflow
- Execute the slash command to draw flowchart
/excalidraw your drawing topic
- Open the generated image file in Excalidraw
- With simple adjustments, you can create a beautiful flowchart