Avoid rate limiting by batching HTTP requests
Ready for 3.0What this workflow does
This workflow has 6 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Customer Datastore (n8n training). It also calls jsonplaceholder.typicode.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Customer Datastore (Customer Datastore (n8n training)): get all people
- SplitInBatches (Loop Over Items (Split in Batches)): loops over the items in batches
- HTTP Request: calls jsonplaceholder.typicode.com
- Wait: waits 4 seconds
Services it uses
HTTP calls to: jsonplaceholder.typicode.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Customer Datastore (n8n training)
n8n-nodes-base.n8nTrainingCustomerDatastore - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - No Operation, do nothing
n8n-nodes-base.noOp
From the author
This workflow demonstrates the use of the Split In Batches node and the Wait node to avoid API rate limits. Customer Datastore node: The workflow fetches data from the Customer Datastore node. Based on your use case, replace it with a relevant node. Split In…