Skip to content
Image
  • Product
  • LogCore + AI
  • Resources
  • Pricing
Getting started
Log in

How can we help you?

Getting Started

  • Introduction
    • Integration and Automation
  • Tutorials
    • Seamless Imports: From CSV to API in Logcore Auto

Building Integrations

  • How to build an integration
  • Debugging
    • Breakpoints and Step-by-Step Debugging
  • Flows
    • Http requests
    • Pagination in Http requests (Deprecated)
  • Steps
    • Array Filter
    • Database Step
    • HTTP Step
    • If/Else
    • Local Storage
    • Loop
    • Loop Break
    • Run Other Integration
    • Webhooks
    • While

Queries & Formulas

  • Array Loops
  • Data Conversion
  • HideIf
  • LogCore Arrays
  • LogCore Conversions
  • LogCore Formulas
  • Querying input data
View Categories
  • Home
  • Resources
  • Building Integrations
  • Steps
  • Loop

Loop

< 1 min read

The Loop Step processes each item in an array/collection individually.

When to Use #

  • Process lists or arrays
  • Batch process records
  • Make multiple API calls with varying data
  • Transform data collections

Settings #

Basic Settings

  • Description: Name your loop
  • Array to loop: JSONPath to the array (e.g., $.customers)
  • Filter: Limit to certain items (first, last, range, skip, etc.)
  • Chunk Size: Split into batches
  • Include surrounding context: Inherit previous step data
  • Error Flow: Enable error handling
  • Preview output: Choose between all or first item preview

Inside the Loop

  • Add steps via “+” to run for each item
  • Current item is accessible via @ (e.g., @.name)

Error Flow

  • Add error-handling steps if any iteration fails

Tips #

Each iteration’s context is the current item (@)

Use filters to target specific items

Enable error flow for robust handling

Use a Loop Breaker to exit early if needed

Use chunking for large arrays

Updated on 2025-11-20
Local StorageLoop Break
Table of Contents
  • When to Use
  • Settings
  • Tips
Image

We’re ready when you are

LogCore helps businesses connect systems automate workflows keep operations flowing

Let’s build something great together

Product

  • Overview
  • AI
  • Resources
  • Pricing

Company

  • About Us
  • Contact Us
  • Terms Of Service
Advertisement