# Question Regarding batch Processing

**URL:** <https://community.n8n.io/t/question-regarding-batch-processing/12626>\
**Category:** Questions\
**Tags:** core\
**Created:** [March 28, 2022, 11:37am UTC](https://community.n8n.io/t/question-regarding-batch-processing/12626 "2022-03-28T11:37:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandan988](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@chandan988](https://community.n8n.io/u/chandan988)\
**Post date:** [March 28, 2022, 11:37am UTC](https://community.n8n.io/t/question-regarding-batch-processing/12626/1 "2022-03-28T11:37:56Z")

</div>

Let’s Suppose We have 100000 Data in Google Sheet. And We set Webhook to read all the data.  
Now it read all data ie 100000 and its on webhook, then we put the next node to send Email ( Via Gmail ) it will start sending email 100000 at once, Can we put Delay ie delay by 5 seconds per email it sends.

If we split the item ( does it delay) or if we put Split the items and then insert the Batch Node with 100 limit will it process in batch of 100 emails or Shall we put Batch Node +. wait node then put Gmail node will it work or

What you expert suggest how it should go Because if we send 100000 emails To Gmail ( or any API for email sending ) they will give throttle error due to too many request sent at at time So to delay the request either we need to send by giving pause or delay or split in batches

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [March 29, 2022, 7:28am UTC](https://community.n8n.io/t/question-regarding-batch-processing/12626/2 "2022-03-29T07:28:05Z")

</div>

Hi @chandan988, personally I’d put SplitInBatches first, then the node I want to slow down, then the Wait node. As described here:

> [@Telegram limit](http://community.n8n.io/t/telegram-limit/10010/2):
>
> Hey @rhodesgod, I hope you are well? You can use the [Split In Batches](https://docs.n8n.io/nodes/n8n-nodes-base.splitInBatches) node combined with the [Wait](https://docs.n8n.io/nodes/n8n-nodes-base.wait/) node to achieve the desired behavior of sending a limited number of messages in a given time. The loop should look like so: [image] arrow_forward Example Workflow I haven’t tested this first-hand yet, but if you run into any trouble implementing this please do give me a shout and I’ll give it a go.

This means the first batch would go out without the wait.
