How do I batch API calls in Make or n8n to avoid rate limits?
To batch API calls and avoid rate limits, send fewer, larger requests where the API allows it, and where it does not, process items in small groups with a pause between them. In n8n use Loop Over Items with a Wait node, or the HTTP Request node's batch settings. In Make use bulk modules, aggregators, a Sleep module and run limits.
Key takeaways
- Make's rate limit errors guide says a rate limit error matches HTTP 429 Too Many Requests, and recommends bulk modules, aggregators or a Sleep module, and "up to 20 records per run" for frequently scheduled scenarios.
- The same page says the Sleep module delays for up to 300 seconds, and for 10 requests per minute you would use a 6-second delay.
- n8n's Loop Over Items docs say batching helps avoid API rate limits and recommend combining it with a Wait node between batches.
- n8n's HTTP Request node has Items per Batch and a Batch Interval in milliseconds.
- Slack's rate limits page is a good example of a strict limit: about one message per second per channel, and a 429 response with a `Retry-After` header.
Why 429 errors happen
An API allows only so many requests in a time window. Automation tools make this easy to break: a webhook can fire hundreds of runs at once, and a loop over 500 rows sends 500 calls in seconds. Make lists instant triggers, apps processing many records quickly (such as Google Sheets or Airtable) and apps used across several scenarios as common causes.
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Choose your approach
| Approach | How | Best when |
|---|---|---|
| Send one bulk request | Use a bulk or batch endpoint, or aggregate items first | The API supports bulk writes |
| Group and pause | Batches with a delay between them | The API takes one item per call |
| Cap run size | Limit records per run or runs per minute | Scheduled or webhook-driven scenarios |
| Retry on 429 | Wait for `Retry-After`, then try again | Occasional bursts |
Always check the target API's documentation for its limit and for any bulk endpoint.
In n8n
- HTTP Request node. Under options, set Items per Batch (for example 10) and Batch Interval in milliseconds (for example 1000).
- Loop Over Items. Use it to split a large list into batches, then add a Wait node inside the loop, as n8n recommends.
- Error handling. Turn on retries or an error workflow so a rare 429 does not lose items. See how to handle errors in n8n and Make.
In Make
- Bulk modules and aggregators. Collect items with an aggregator and send one request where the app has a bulk module.
- Sleep module. Match the delay to the limit. At 10 requests per minute, a 6-second pause fits, as Make's example shows. Make notes Sleep often only delays the problem.
- Instant scenarios. Set "Maximum runs to start per minute."
- Scheduled scenarios. Lengthen the interval or limit the records per run.
- Process data in order. It handles one bundle at a time, but it stops the scenario on errors.
- Incomplete executions. Enabled, Make reruns rate-limited executions with exponential backoff. Without an error handler on a scheduled scenario it pauses the next run for 20 minutes.
Work out your delay
Divide the time window by the number of allowed requests. If an API allows 60 requests a minute, that is one per second. If you want a safety margin, use about 70% of the limit, so wait about 1.4 seconds. This sizing is our habit, not a rule from the tools.
| Limit | Raw delay | With a 30% margin |
|---|---|---|
| 10 per minute | 6 seconds | about 8.6 seconds |
| 60 per minute | 1 second | about 1.4 seconds |
| 5 per second | 200 ms | about 290 ms |
Example: adding 400 contacts to a CRM
Example: an agency must add 400 contacts to a CRM that allows 60 calls a minute. Sending them all at once would fail after about 60. The builder in n8n sets Loop Over Items with a batch size of 10 and a Wait node of 10 seconds, giving 60 calls a minute at most. The whole job takes about 7 minutes, and a final step counts successes and logs any failures to a sheet. In Make she would use an aggregator or the app's bulk module if one exists. The figures are illustrative.
Mistakes to avoid
- Sending hundreds of calls at once.
- Setting a delay that matches the limit exactly, leaving no margin.
- Using Sleep as the only fix.
- Not checking whether the API has a bulk endpoint.
- Ignoring `Retry-After`.
- Testing on 5 rows and launching on 5,000.
Is there a service that plans an automation before you build it?
Yes. Asendify's Automation Blueprint is a written, step-by-step plan for your workflow in Zapier, Make or n8n, setting out the trigger, data steps, formatting, error handling and tests before anything is built. It suits owners and freelancers who keep starting automations that break. It does not build the workflow for you. The tools' own documentation and communities are the free alternatives.
Related answers: what API rate limits are, how to stop an automation from looping forever and how to test an automation before turning it on, plus the free automation hours calculator.
FAQ
Is there a service that plans my automation before I build it?
Yes. Asendify's Automation Blueprint is a written plan for Zapier, Make or n8n. The tools' docs are a free alternative.
What does a 429 error mean?
Too many requests. Make's guide says its rate limit error corresponds to HTTP 429.
How do I pause between batches in n8n?
Use Loop Over Items with a Wait node, or the HTTP Request node's Batch Interval.
How long can Make's Sleep module wait?
Up to 300 seconds, per Make's help page.
Is batching always the answer?
No. If the API has a bulk endpoint, one larger request is better than many small ones.
More playbooks on other topics: https://www.asendify.co/books/
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.