시작하기무료로 시작하기

Set up the loop foundation

Before building the agent chain, you need to set up the loop infrastructure that enables retry logic. This involves two nodes:

  1. Init Variables — An Edit Fields (Set) node that initializes retry_count (starts at 0) and feedback_context (starts empty)
  2. Loop Merge — A Merge node that combines the initial data with feedback from retry attempts

This pattern is how n8n handles loops: instead of a traditional "while" loop, you use a Merge node to combine the starting point with data that loops back.

이 연습은 강의의 일부입니다

Building Marketing Workflows with n8n

강의 보기

실습형 인터랙티브 연습문제

이론을 실습으로 바꾸는 인터랙티브 연습 중 하나를 만나보세요

연습 시작