Overview

The Batch content node is a specialized data flow node that groups incoming content items into fixed-size batches for controlled processing in loops. This node serves as a critical component in the loop ecosystem by partitioning large content sets into manageable chunks and emitting each batch on successive iterations.

It coordinates with the Loop controller node to provide systematic batch processing workflows. The node maintains state across loop iterations, tracking which items have been processed and automatically signaling completion when all content has been batched. This makes it essential for workflows that need to process large content sets in controlled, capacity-efficient batches.

Node Specification

Core Properties

Property Value
Node Type Batch processing
Category Data flow

Parameters

Parameter Type Options Default Required Description
Batch size Number 1-1000 5 No Number of items per batch

Input Ports

Port Type Accepts Required Description
Input content Content Content Yes Content items to batch (merged across inputs)

Output Ports

Port Type Description
Batched content Batch A batch structure containing a list of content items

Process Flow Exits

Exit Condition Description
Main exit On batch emission Continues to downstream nodes; use Loop controller to detect completion

Common Flows

Batch Processing with Loop Control

Large Content Set → Batch content (size: 10) → Loop controller → Process Batch → End

Systematically processes large content sets in manageable batches

Content Chunking for API Limits

Import Content → Batch content (size: 5) → Loop controller → API Call → Aggregate Results