Logic: Iterate

Knowledge Center > Workflow > Workflow Tasks > Logic: Iterate

Logic: Iterate

Table of contents

This task iterates the input data one entry at a time by default. If you set Iteration Type to Unique-Field, it iterates by unique values of data fields. 

The input data can be from:

  • a data export or query task
  • other tasks that output CSV files
  • direct file input by users

You must define a task after an iterate task with the For Each condition to handle further data processing for each item or unique field value. 


Task Settings

  • Object - The input data object. It can be a data object in the payload, or a file generated by an export task or uploaded by the user. 
  • Iteration Type - If the logic of the subsequent tasks is based on unique values of a data field, select Unique-Field. Otherwise, use Default (Every Item).
  • Chunking - If the subsequent task processes multiple items at a time, specify a number as the chunking size. Chunking is useful for bulk creating, updating, or deleting operations. 


If the preceding task is an export task, the file containing the exported data will be available in the Object list of the iterate task. The file name is the in the format of <object_name>_<a_number>.csv.zip.


If the preceding task is a query task or other tasks that save data in the payload, the Object list can be like the following:


Last modified



(not set)