# HTTP Request node, batching does not work

**URL:** <https://community.n8n.io/t/http-request-node-batching-does-not-work/59977>\
**Category:** Questions\
**Tags:** http-request\
**Created:** [October 28, 2024, 3:49pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977 "2024-10-28T15:49:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goran\_Popovic](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/goran_popovic/32/47420_2.png) [@Goran\_Popovic](https://community.n8n.io/u/Goran_Popovic)\
**Post date:** [October 28, 2024, 3:49pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/1 "2024-10-28T15:49:10Z")

</div>

Hi guys,

i’m having an input  
[  
{“id”: 1}, {“id”: 2}… 998 more  
]

im trying to use option batching, to basically send 10 requests (each with 100 ids) in a single call (basically im doing batch get with 100 ids inside a json body).

I was able to solve this by using “Loop Over Items” with batching 100 and then using Run only once on the http node and $input.all in a request body.

Im trying to solve this without using Loop Over Items… is this even possible?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [October 28, 2024, 3:49pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/2 "2024-10-28T15:49:11Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![Goran\_Popovic](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/goran_popovic/32/47420_2.png) [@Goran\_Popovic](https://community.n8n.io/u/Goran_Popovic)\
**Post date:** [October 28, 2024, 7:06pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/3 "2024-10-28T19:06:57Z")

</div>

n8n@1.63.4  
n8n cloud

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [November 1, 2024, 1:03am UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/4 "2024-11-01T01:03:38Z")

</div>

Welcome to the community @Goran_Popovic !

> **Tip for sharing information**
>
> #### Pasting your n8n workflow
> 
> * * *
> 
> Ensure to copy your n8n workflow and paste it in the _code block_, that is in between the pairs of triple backticks, which also could be achieved by clicking `</>` (preformatted text) in the editor and pasting in your workflow.
> 
> ```  
> \<your workflow\>  
> ```
> 
> That implies to any JSON output you would like to share with us.
> 
> Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
> 
> * * *

I tried batching option and all seem to work as expected. Below is the demo workflow and the screenshot showing the result of such operation.

There are 5 items for simplicity. The batch is 2 items with 1 min delay.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/b/7/b73f2ac89d7d978c75067d29d72264b7c5b5bde5.png)

---

<div class="post-metadata">

**Author:** ![Goran\_Popovic](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/goran_popovic/32/47420_2.png) [@Goran\_Popovic](https://community.n8n.io/u/Goran_Popovic)\
**Post date:** [November 8, 2024, 6:52am UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/5 "2024-11-08T06:52:29Z")

</div>

@ihortom thanks for your answer.

So yes, it will correctly batch requestions and then wait… but it will not actually batch $json input right?

So i want the request to contain ID1 and ID2, i have to use “Loop over Items?”

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [November 8, 2024, 8:19pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/6 "2024-11-08T20:19:22Z")

</div>

> [@Goran\_Popovic](#):
>
> but it will not actually batch $json input right?

I’m not sure I’m following this question. To batch $json input the HTTP Request node would be configured as below, for example.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/f/c/fc7c2738687d2a63319cda7e399a8e47c7172da8.png)

> [@Goran\_Popovic](#):
>
> So i want the request to contain ID1 and ID2, i have to use “Loop over Items?”

You do not need Loop for that either. I do not know what ID1 and ID2 imply but they could be added to your items before you feed them into HTTP Request.

Though, it you want the batch number to be included with each item POSTEed with HTTP Request node then yes, using the Loop makes sense as looping that way implies many iterations and each one could be labeled by means of `$runIndex` variable.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [February 6, 2025, 8:20pm UTC](https://community.n8n.io/t/http-request-node-batching-does-not-work/59977/7 "2025-02-06T20:20:24Z")

</div>

Closed on February 6, 2025, 8:20pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
