{"id":692,"date":"2026-05-18T21:06:23","date_gmt":"2026-05-18T13:06:23","guid":{"rendered":"https:\/\/junai.ai\/blog\/n8n-loop-batch-14\/"},"modified":"2026-05-18T21:36:51","modified_gmt":"2026-05-18T13:36:51","slug":"n8n-loop-batch-14","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/n8n-loop-batch-14\/","title":{"rendered":"n8n Loop \u00b7 Split In Batches (Ch.14)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 709 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>:root{--p:#1e40af;--a:#3b82f6;--bg:#fafafa;--t:#1e293b;--tm:#64748b;--hs:#0f172a;--he:#15803d}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,'Noto Sans KR',sans-serif;font-size:17px;line-height:1.75;color:var(--t);background:var(--bg);word-break:keep-all}.container{max-width:760px;margin:0 auto;padding:0 24px 80px}.hero{background:linear-gradient(135deg,var(--hs),var(--he));color:#fff;padding:80px 24px 60px;text-align:center}.hero .eyebrow{display:inline-block;font-size:14px;color:#4ade80;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}.hero h1{font-size:36px;margin:0 0 16px;line-height:1.3;font-weight:800}.hero p{color:#bbf7d0;font-size:18px;max-width:640px;margin:0 auto;line-height:1.6}.hero img{width:100%;max-width:640px;height:auto;margin:32px auto 0;border-radius:10px;display:block}article{padding-top:48px}article h2{font-size:26px;margin:56px 0 20px;padding-left:14px;border-left:5px solid var(--a);line-height:1.4}article p{margin:16px 0}article strong{color:var(--p);font-weight:700}article code{background:#f1f5f9;padding:2px 8px;border-radius:4px;font-family:'SF Mono',Menlo,monospace;font-size:14px;color:#4338ca}.databox{background:#eff6ff;border-left:4px solid var(--a);padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;font-size:15.5px}.warnbox{background:linear-gradient(135deg,#fef3c7,#fde68a);padding:16px 20px;margin:24px 0;border-radius:8px;font-size:15.5px}.cmd{background:#0f172a;color:#e2e8f0;padding:14px 18px;border-radius:8px;font-family:'SF Mono',Menlo,monospace;font-size:14px;overflow-x:auto;margin:14px 0;line-height:1.55;white-space:pre}.cmd .c{color:#fbbf24}.cmd .p{color:#64748b}.screenshot{margin:24px 0}.screenshot img{width:100%;height:auto;border:1px solid #e2e8f0;border-radius:8px;display:block}.screenshot figcaption{margin-top:10px;font-size:14.5px;color:var(--tm);text-align:center}.cta{background:#0f172a;color:#fff;padding:32px;border-radius:12px;margin:48px 0 0;text-align:center}.cta h3{color:#fff;margin:0 0 10px;font-size:20px}.cta a{display:inline-block;background:var(--a);color:#fff;padding:12px 26px;border-radius:8px;text-decoration:none;font-weight:700}@media(max-width:480px){.hero h1{font-size:26px}body{font-size:16px}article h2{font-size:22px}}<\/style>\n<header class=\"hero\">\n<span class=\"eyebrow\">n8n \ud55c\uad6d\uc5b4 \uad50\uc7ac \u00b7 Ch.14<\/span>\n<h1>Loop \u00b7 Split In Batches<\/h1>\n<p>1\ub9cc \uac74 \uba54\uc77c \ubc1c\uc1a1, 5\ucc9c \ud589 API \ud638\ucd9c \u2014 \ud55c \ubc88\uc5d0 \ub2e4 \ubcf4\ub0b4\uba74 Rate Limit \ub610\ub294 \uba54\ubaa8\ub9ac \ucd08\uacfc. 100\uac1c\uc529 \ub04a\uc5b4 \ubcf4\ub0b4\uace0 \uc7a0\uc2dc \uc26c\ub294 \ud328\ud134\uc774 \uc815\uacf5\ubc95.<\/p>\n<img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-5-14.jpg\" alt=\"4\uac1c \ubc30\uce58 \ubc15\uc2a4 \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/header><div class=\"container\"><article>\n\n<p>Ch.13 \uc758 Code \ub178\ub4dc\ub85c \ub370\uc774\ud130\ub97c \uac00\uacf5\ud560 \uc218 \uc788\uac8c \ub410\ub2e4\uba74, \uc774\ubc88\uc5d4 \uadf8\uac78 <strong>\ub300\ub7c9\uc73c\ub85c<\/strong> \ucc98\ub9ac\ud558\ub294 \ud328\ud134. Slack \ub178\ub4dc\uc5d0 1\ub9cc \uac74 \uadf8\ub0e5 \ub358\uc9c0\uba74 Rate Limit \uc5d0\uc11c \ud3ed\ub9dd. OpenAI API \ub3c4 \ubd84\ub2f9 \ud638\ucd9c \uc81c\ud55c. \ub2f5\uc740 \u2014 100\uac1c\uc529 \ub04a\uc5b4 \ubcf4\ub0b4\uace0 \uc7a0\uc2dc wait.<\/p>\n\n<h2>Split In Batches \ub178\ub4dc\uc758 \ub3d9\uc791<\/h2>\n\n<figure class=\"screenshot\"><img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/01-node-settings-5.png\" alt=\"Split In Batches \ub178\ub4dc \uac80\uc0c9 \uacb0\uacfc\"><figcaption>\uc774\uc804 \ub178\ub4dc + \u2192 &#8220;split in batches&#8221; \uac80\uc0c9. \ud55c\uad6d\uc5b4 \uac80\uc0c9\uc740 \uc548 \ub418\ubbc0\ub85c \uc601\ubb38\uc73c\ub85c.<\/figcaption><\/figure>\n\n<p>\uc774 \ub178\ub4dc\uc758 \ub3d9\uc791\uc740 \uc0b4\uc9dd \ud2b9\uc774 \u2014 <strong>\uc785\ub825 items \ub97c N\uac1c\uc529 \ub04a\uc5b4 \uc790\uae30 \uc790\uc2e0\uc744 \uc5ec\ub7ec \ubc88 \ucd9c\ub825<\/strong>\ud569\ub2c8\ub2e4. \ud55c \ubc88 \uc2e4\ud589\ub9c8\ub2e4 N \uac1c\uc529 \ud1b5\uacfc\uc2dc\ud0a4\uace0, \ud6c4\uc18d \ub178\ub4dc\ub4e4\uc774 \ub2e4 \ub05d\ub098\uba74 \ub2e4\uc2dc \ub2e4\uc74c N \uac1c. \ubaa8\ub4e0 \ubc30\uce58\uac00 \ub05d\ub0a0 \ub54c\uae4c\uc9c0 \ubc18\ubcf5.<\/p>\n\n<div class=\"cmd\"><span class=\"c\">Split In Batches<\/span>\n  Batch Size: 100  (\ud55c \ubc88\uc5d0 \ud1b5\uacfc\ud560 item \uc218)\n  Reset:      false (\uae30\ubcf8)\n  \u2193 items 100\uac1c \ud1b5\uacfc\n<span class=\"c\">HTTP Request<\/span>\u00b7<span class=\"c\">Slack<\/span>\u00b7\uae30\ud0c0 (\uc774 100\uac1c\uc5d0 \ub300\ud574 \uc2e4\ud589)\n  \u2193 \ub05d\ub098\uba74\n<span class=\"c\">Wait<\/span> (1\ucd08)  \u2190\u2190 \uc790\uccb4 \ub8e8\ud504! \ub2e4\uc2dc Split In Batches \ub85c \ub3cc\uc544\uac10<\/div>\n\n<h2>\ud575\uc2ec \ud328\ud134 \u2014 Wait \uc640\uc758 \uc9dd<\/h2>\n\n<p>Split In Batches \ub4a4\uc5d0 \uc77c\ubc18 \ub178\ub4dc\ub97c \ud55c \ubc88 \uc2e4\ud589\ud55c \ud6c4 \ub2e4\uc2dc \ucc98\uc74c\uc73c\ub85c \ub3cc\uc544\uac00\uac8c \ud558\ub824\uba74 \u2014 <strong>Wait \ub178\ub4dc \ub610\ub294 \ub9c8\uc9c0\ub9c9 \ub178\ub4dc \ucd9c\ub825\uc744 \ub2e4\uc2dc Split In Batches \ub85c \uc5f0\uacb0<\/strong>\ud569\ub2c8\ub2e4. n8n \uce94\ubc84\uc2a4\uc5d0\uc11c \ud654\uc0b4\ud45c\ub97c \uac70\uafb8\ub85c \uadf8\ub9ac\uba74 \ub428 (\ub8e8\ud504).<\/p>\n\n<div class=\"databox\"><strong>\uc804\uccb4 \uc6cc\ud06c\ud50c\ub85c \uc608 (1\ub9cc \uac74 \uba54\uc77c \ubc1c\uc1a1)<\/strong><br>\n<code>Schedule<\/code> \u2192 <code>Get Rows<\/code>(\uc2dc\ud2b8 \uc804\uccb4) \u2192 <code>Split In Batches<\/code>(50\uac1c) \u2192 <code>Send Email<\/code> \u2192 <code>Wait<\/code>(2\ucd08) \u2192 \ub2e4\uc2dc Split In Batches \ub85c \ub8e8\ud504<\/div>\n\n<p>\uc774 \ud328\ud134\uc73c\ub85c 1\ub9cc \uac74\uc774\ub77c\ub3c4 (50\uac1c \u00d7 200 \ubc30\uce58 \u00d7 2\ucd08 = \uc57d 7\ubd84) \uc548\uc804\ud558\uac8c \ubc1c\uc1a1. Rate Limit \uc548 \uac78\ub9bc.<\/p>\n\n<h2>Rate Limit \ubcc4 \uad8c\uc7a5 Batch Size<\/h2>\n\n<div class=\"cmd\"><span class=\"p\"># \uc11c\ube44\uc2a4\ubcc4 \uc548\uc804 \uad8c\uc7a5<\/span>\nSlack         : 1\uac1c \/ 1\ucd08\nOpenAI (gpt-4): 60 \/ \ubd84 \u2192 batch 1 + wait 1\ucd08\nSendGrid      : 100 \/ \ucd08 \u2192 batch 100 + wait 1\ucd08 (\uc5ec\uc720)\nWebhook \u2192 DB  : 1000 \/ \ucd08 \u2192 batch 500 + wait 0.5\nGoogle Sheets : 100 \/ \ubd84(read) \/ 60 \/ \ubd84(write) \u2192 batch 10 + wait 1<\/div>\n\n<p>\uc11c\ube44\uc2a4 doc \ud655\uc778 \ud6c4 \ud55c\ub3c4\uc758 <strong>50~70%<\/strong> \ub85c \uc124\uc815. \ub108\ubb34 \ube60\ub4ef\ud558\uba74 \uac00\ub054 \uc77c\uc2dc\uc801 429 \ubc1c\uc0dd.<\/p>\n\n<h2>\uc2e4\uc218 \ud328\ud134 + \uc9c4\ud589 \uc0c1\ud669 \ucd94\uc801<\/h2>\n\n<div class=\"warnbox\"><strong>\ud754\ud55c \uc2e4\uc218 1 \u2014 \ub8e8\ud504 \uc548 \ub9cc\ub4e6<\/strong><br>Split In Batches \ub9cc \ucd94\uac00\ud558\uace0 \ub2e4\uc74c \ub178\ub4dc\ub4e4\uc744 \uc77c\uc9c1\uc120\uc73c\ub85c \uc5f0\uacb0 \u2192 \uccab 100\uac1c\ub9cc \ucc98\ub9ac\ub418\uace0 \uc6cc\ud06c\ud50c\ub85c \ub05d\ub0a8. \ub9c8\uc9c0\ub9c9 \ub178\ub4dc\ub97c \ub2e4\uc2dc Split In Batches \ub85c \uc5f0\uacb0\ud574\uc57c \ud568.<\/div>\n\n<div class=\"warnbox\"><strong>\ud754\ud55c \uc2e4\uc218 2 \u2014 \uba54\ubaa8\ub9ac<\/strong><br>1\ub9cc \ud589\uc744 \ud55c\uaebc\ubc88\uc5d0 Get Rows \ub85c \ubd88\ub7ec\uc624\uba74 \uba54\ubaa8\ub9ac \ubd80\ub2f4. \uac00\ub2a5\ud558\uba74 Limit + Offset \uc73c\ub85c \uc2dc\ud2b8\ub3c4 \ub04a\uc5b4 \uc77d\uae30. n8n \ucee8\ud14c\uc774\ub108 \uba54\ubaa8\ub9ac 1GB \ub77c\uba74 5\ucc9c \ud589\uc774 \uc548\uc804 \uc0c1\ud55c.<\/div>\n\n<p>\uc9c4\ud589 \uc0c1\ud669 \ucd94\uc801\uc740 <code>$runIndex<\/code> \ub85c \u2014 Split In Batches \ub0b4\ubd80 \ubcc0\uc218, \ud604\uc7ac \uba87 \ubc88\uc9f8 \ubc30\uce58\uc778\uc9c0. Slack \uc54c\ub9bc \ub178\ub4dc\uc5d0 <code>={{ \"\ubc30\uce58 \" + $runIndex + \"\/\" + Math.ceil($json.totalItems \/ 100) + \" \uc644\ub8cc\" }}<\/code> \uc2dd\uc73c\ub85c \ub9e4 \ubc30\uce58\ub9c8\ub2e4 \uc9c4\ud589 \uc54c\ub9bc \uac00\ub2a5.<\/p>\n\n<h2>\uc2e4\uc804 \u2014 1\ub9cc \uac74 LLM \uc694\uc57d \uc6cc\ud06c\ud50c\ub85c<\/h2>\n\n<p>RSS 50 \ud53c\ub4dc\uc758 \uc0c8 \uae00 5\ucc9c \uac74\uc744 OpenAI gpt-4o-mini \ub85c \uc694\uc57d\ud574 \uc2dc\ud2b8\uc5d0 \ub204\uc801\ud558\ub294 \uc2dc\ub098\ub9ac\uc624:<\/p>\n\n<div class=\"cmd\"><span class=\"c\">Schedule<\/span>(\ub9e4\uc77c 9\uc2dc) \u2192 <span class=\"c\">RSS Feed Read<\/span> \u00d7 50 \u2192 <span class=\"c\">Merge<\/span>(all)\n   \u2193 items 5000\uac1c\n<span class=\"c\">Split In Batches<\/span> (Batch Size: 20)\n   \u2193 20\uac1c\uc529\n<span class=\"c\">OpenAI<\/span> (gpt-4o-mini, &#8220;\uc694\uc57d \ud55c \uc904&#8221;)\n   \u2193\n<span class=\"c\">Google Sheets<\/span> (Append Row)\n   \u2193\n<span class=\"c\">Wait<\/span> (2\ucd08)\n   \u2192 \ub2e4\uc2dc Split In Batches \ub85c \ub8e8\ud504<\/div>\n\n<p>OpenAI gpt-4o-mini \uc758 \ubd84\ub2f9 \ud55c\ub3c4 \uc57d 500 TPM \uc774\ub77c batch 20 + 2\ucd08 wait = \ubd84\ub2f9 600 \ud638\ucd9c\uc774 \uc548\uc804. 5000\uac74 \ucc98\ub9ac \uc2dc\uac04 = \uc57d 8\ubd84. \uc2dc\ud2b8 \uad8c\ud55c \uc81c\ud55c\ub3c4 \ud568\uaed8 \uc548 \uac78\ub9bc.<\/p>\n\n<p>\uc774 \ud328\ud134\uc774 \uc6b4\uc601 \ud658\uacbd\uc758 &#8220;\ub300\ub7c9 \ucc98\ub9ac&#8221; \ud45c\uc900 \u2014 Split In Batches \uac00 \uba54\ubaa8\ub9ac\u00b7Rate Limit \ub450 \uac00\uc9c0 \ubb38\uc81c\ub97c \ud55c \ubc88\uc5d0 \ud478\ub294 \ub9cc\ub2a5 \ub3c4\uad6c.<\/p>\n\n<p>\ub2e4\uc74c Ch.15 \u2014 Merge. \uc5ec\ub7ec \ud750\ub984\uc744 \ub2e4\uc2dc \ud558\ub098\ub85c \ud569\uce58\ub294 \ud328\ud134. Split \ud588\uc73c\uba74 \uacb0\uad6d Merge \ub3c4 \uc54c\uc544\uc57c.<\/p>\n\n<div class=\"cta\"><h3>n8n \ud55c\uad6d\uc5b4 \uad50\uc7ac \u00b7 Ch.14 \uc644\ub8cc<\/h3><p>\ub2e4\uc74c \ud3b8 \u2192 Ch.15 Merge \u2014 \uc5ec\ub7ec \ud750\ub984 \ud569\uce58\uae30<\/p><a href=\"https:\/\/junai.ai\/blog\/category\/n8n\/\">\uc804\uccb4 \uc2dc\ub9ac\uc988 \ubcf4\uae30<\/a><\/div>\n\n<\/article><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>n8n Split In Batches \ub85c 1\ub9cc \uac74 \ub370\uc774\ud130 100\uac1c\uc529 \ub04a\uc5b4 \ucc98\ub9ac. Rate Limit \uc6b0\ud68c + \uba54\ubaa8\ub9ac \uc548\uc804. \uc911\uae09 Ch.14.<\/p>\n","protected":false},"author":1,"featured_media":709,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-n8n"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=692"}],"version-history":[{"count":1,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":721,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/692\/revisions\/721"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/709"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}