Sequential Task
Organize and automate workflow steps by assigning agents clear tasks and outputs using the Sequential Task component.

Component description
How the Sequential Task component works
Sequential Task Component
The Sequential Task component enables you to define and organize tasks within an AI workflow that are executed in a specific sequence. This component is especially useful when you need to break down complex processes into smaller, manageable steps, each handled by a designated AI agent.
What Does This Component Do?
The Sequential Task component allows you to create an individual task, assign it to a specific AI agent, and clearly define what the task should accomplish. This makes it easier to structure multi-step workflows, ensuring that each part of the process is handled by the right agent and follows a well-documented procedure.
Key Inputs
The component provides the following configurable fields:
Field Name | Type | Required | Description |
---|---|---|---|
Agent | Agent handle | Yes | The AI agent (CrewAI Agent) responsible for executing this task. |
Task | SequentialTask | No | (Optional) A reference to another Sequential Task; useful for chaining. |
Expected Output | Text (multi-line) | Yes | A clear definition of the desired outcome for this task. |
Description | Text (multi-line) | Yes | A detailed explanation of what the task is and how it should be executed. |
Field Details
- Agent: Select the specific AI agent that should execute this task. This ensures responsibility and clarity within your workflow.
- Task: Allows you to create dependencies or chains by referencing other Sequential Tasks. This is optional but powerful for building complex flows.
- Expected Output: Specify exactly what you expect as the result of this task. This helps in evaluating task completion and success.
- Description: Provide a comprehensive description of the task’s purpose and instructions for execution.
Outputs
After execution, the Sequential Task component outputs a single object:
- Task Output: This contains the complete definition of the sequential task, which may be used as an input to subsequent components or for further processing. The output is of the type
SequentialTask
.
Why Is This Useful?
- Modularity: Break down complex processes into simple, reusable tasks.
- Clarity: Assign responsibilities to specific agents and clearly document expectations.
- Scalability: Chain tasks together to build sophisticated, multi-step AI workflows.
- Traceability: Each task can be traced with metadata, aiding in debugging and process improvement.
Typical Use Cases
- Automating multi-step business processes where each step requires different expertise.
- Building AI-driven pipelines where outputs from one task feed into the next.
- Managing teams of AI agents collaboratively working toward a larger goal.
The Sequential Task component is an essential building block for anyone designing structured, reliable, and scalable AI workflows.
Examples of flow templates using Sequential Task component
To help you get started quickly, we have prepared several example flow templates that demonstrate how to use the Sequential Task component effectively. These templates showcase different use cases and best practices, making it easier for you to understand and implement the component in your own projects.
Frequently asked questions
- What is the Sequential Task component?
The Sequential Task component lets you define a workflow step by assigning an agent, outlining the task, and specifying the expected output, making process automation more organized and traceable.
- How does Sequential Task improve workflow management?
By breaking down processes into individual tasks with clear descriptions and outcomes, the Sequential Task component helps manage complex workflows, ensuring each step is executed by the right agent.
- Can I use Sequential Task for multi-step automations?
Yes, Sequential Task is designed for multi-step workflows where each task is handled sequentially, supporting advanced process automation in FlowHunt.
- What information do I need to provide for a Sequential Task?
You need to specify the agent responsible, a detailed task description, and define the expected output for each step.
Automate Your Workflow with Sequential Task
Streamline multi-step processes by assigning tasks to agents and defining clear outcomes using Sequential Task in FlowHunt.