# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://community.n8n.io/t/processing-the-httpsapi-in-interval/10171)._
