
Advanced AI Blog Post Generator
Generate comprehensive, SEO-optimized blog posts with advanced structure and high word count using multiple AI agents. The workflow includes automated research,...
Automate workflows by looping over lists and executing flows for each item with the Iterator component in FlowHunt.
Component description
The Iterator component is designed to execute a sub-flow or an external flow repeatedly for each item in a given list. This enables batch processing, looping, or parallel execution of AI tasks over multiple inputs, which is essential when handling workflows that involve lists or collections of data.
The Iterator automates repetitive execution within your AI workflow. It takes a list of inputs, and for each item in this list, it runs a specified AI flow (which could be any process or model you have defined). This is particularly useful for scenarios like:
The component exposes the following configurable fields:
Field Name | Type | Required | Description |
---|---|---|---|
Flow Execution (flow ) | FlowExecution | Yes | The sub-flow or external flow to execute for each item in the input list. |
Input List (flow_inputs ) | Data, Message | Yes | The list of inputs to loop over (each item will trigger a flow execution). |
Include Previous Iteration Output (include_prev_output ) | Bool (Advanced) | No | Passes the previous iteration’s output as {prev_iter_res} to the next iteration. Only works with single-threaded (concurrency = 1) execution. |
Max Concurrency (max_concurrency ) | Int (1-20, Advanced) | No | Sets the maximum number of flow executions to run in parallel. Default is 1 (sequential). |
Separator (separator ) | String (Advanced) | No | Optional separator string to use between each flow execution’s output. |
The main output of the Iterator is:
text_output
): A message containing the aggregated results of running the flow on each input item. The output type is consistent with the output of the executed flow.If Include Previous Iteration Output is enabled (and concurrency is set to 1), each iteration can access the result of the preceding iteration, enabling chained or stateful processing.
Purpose | Inputs | Outputs | Advanced Options |
---|---|---|---|
Batch execution of flows | List of items, Flow to execute | Aggregated Message | Output chaining, concurrency, separator |
The Iterator is a powerful tool for automating repetitive tasks in AI workflows, making it an essential building block for scalable and maintainable process automation.
To help you get started quickly, we have prepared several example flow templates that demonstrate how to use the Iterator 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.
Generate comprehensive, SEO-optimized blog posts with advanced structure and high word count using multiple AI agents. The workflow includes automated research,...
This AI-driven workflow enriches lead data in Google Sheets by automatically retrieving missing LinkedIn profiles, job titles, and industries from the web using...
This workflow automatically enriches Google Sheets contact data by finding LinkedIn profiles, extracting job titles and industries, and updating the sheet using...
Automatically generate high-ranking SEO blog posts from YouTube videos. This workflow extracts video transcripts, analyzes top SEO keywords, creates a detailed ...
The Iterator component runs a specific flow or subflow for each item in a provided list, making it easy to automate repetitive processing tasks within your workflow.
Yes, you can set the maximum number of concurrent executions for efficient processing, allowing the component to handle multiple items in parallel.
You can include the output of the previous iteration in the next one by enabling the 'Include Previous Iteration Output' option, which is useful for sequential dependencies when concurrency is set to 1.
The Iterator supports lists of data or messages, allowing flexibility in the type of input you want to process.
Use the Iterator for batch data processing, sending multiple requests, or applying a series of actions to each item in a dataset within your FlowHunt workflows.
Unlock powerful workflow automation by leveraging the Iterator component in FlowHunt for scalable, repeatable processes.
The Run Flow component in FlowHunt lets you trigger and execute another workflow within your current flow. Pass inputs, variables, and control how flows interac...
The Find Email By ID component allows you to retrieve an email using its unique identifier within your automated workflows. Designed for seamless integration, i...
The Structured Output Generator component lets you create precise, structured data from any input prompt using your chosen LLM model. Define the exact data fiel...