# Processing the httpsapi in interval

**URL:** <https://community.n8n.io/t/processing-the-httpsapi-in-interval/10171>\
**Category:** Questions\
**Created:** [December 28, 2021, 2:28am UTC](https://community.n8n.io/t/processing-the-httpsapi-in-interval/10171 "2021-12-28T02:28:57Z")\
**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:** [December 28, 2021, 2:28am UTC](https://community.n8n.io/t/processing-the-httpsapi-in-interval/10171/1 "2021-12-28T02:28:57Z")

</div>

When we read data from google sheet it works fine, now when we connect the node to send grid to send an email it sends email in a single hit, how to put delay between each email sent by sendgrid API

Read spreadsheet has 1000 data in nodes, now I want to delay this 1000 sending one by one not at once how it will be done

---

<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:** [December 28, 2021, 8:27am UTC](https://community.n8n.io/t/processing-the-httpsapi-in-interval/10171/2 "2021-12-28T08:27:27Z")

</div>

Hi @chandan988, are you using the SendGrid Node or the HTTP Request node to send data to SendGrid?

When using the HTTP Request node, you could simply set the Batch Interval/Batch Size options accordingly:

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

For other nodes you would need to build a loop, similar to what is 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] play_button 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.
