Skip to content
FlowHubFluxonLab
HTTP Request
General Automationfree

Handle pagination in HTTP Requests

by Harshil Agrawaladapted from n8n official workflow galleryUpdated Aug 2026
RequiresHTTP RequestHTTP Request
Share Post Share
MaOn clicking 'execute'On clicking 'ex…HRHTTP RequestNONoOpFuWaitFuConfig URLIfCheck if pagination?Check if pagina…SeSet next URLFuCombine all data12345678
1/5
STEPS · 8
Run manually by an operator

This example workflow demonstrates how to handle pagination. This example assumes that the API you are making the request to has pagination, and returns a cursor (something that points to the next page). This example workflow makes a request to the HubSpot API to fetch contacts. You will have to modify the parameters based on your API. Config URL node: This node sets the URL that the HTTP Request node calls. HTTP Request node: This node makes the API call and returns the data from the API. Based on your API, you will have to modify the parameters of the node. NoOp node and Wait node: These nodes help me avoiding any rate limits. If you're API has rate limits, make sure you configure the correct time in the Wait node. Check if pagination: This IF node checks if the API returns any cursor. If the API doesn't return any cursor, it means that there is no data to be fetched, and the node returns false. If the API returns a cursor, it means that there is still some data that needs to be fetched. In this case, the node returns true. Set next URL: This Set node is used to set the URL. In the next cycle, the HTTP Request node makes a call to this URL.

Tags

n8nreference-only
Connects
WHTTP Request
CategoryGeneral Automation
Triggermanual
Complexitymedium
Nodes8
AddedJul 20, 2021
W
free

Tiny tiny Rss (aka tt-rss) Feed to Mastodon

Every 10 minutes look at your published news in your Tiny tiny RSS public feed and make a toot on your mastodon. You'll need: Your mastondon URL instance Your mastondon access token Your Tiny Tiny RSS public published feed URL

by dev
W
free

Generate AI Images & Videos with KIE.AI Midjourney API

Generate AI Images & Videos with KIE.AI Midjourney API Overview Generate high-quality AI images and videos using KIE.AI's Midjourney API through an intuitive form interface. This n8n workflow supports three distinct content creation modes, delivering professional results with automated processing and real-time progress monitoring. Supported Modes: Text-to-Image** (mj_txt2img): Generate original images from written descriptions Image-to-Image** (mj_img2img): Transform or enhance existing images with AI Image-to-Video** (mj_video): Animate still images into short video clips Users interact only through a simple form interface, requiring no coding skills. After submitting a request, the system automatically calls the KIE.AI API, monitors progress in real-time, and retrieves the final output once ready. Perfect for Content creators, designers, marketers, and developers who need to quickly generate diverse AI visual content with automated processing and professional quality results. Prerequisites KIE.AI Account**: Sign up at KIE.AI to obtain your free or paid API key. n8n Instance**: Active n8n instance (cloud or self-hosted) with HTTP Request and form submission capabilities. AI Prompt

by damo
W
free

Automated Recipe Finder with an API - n8n API Tutorial Material

Video Introduction Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin Workflow Overview This workflow creates a recipe finder web application that connects to the API Ninjas Recipe API using n8n's HTTP Request node. Users submit search queries through a public web form, which triggers an API call to fetch matching recipes. The results—including recipe title, ingredients, and cooking instructions—are displayed in a formatted completion page. Why This Workflow Is Valuable This template demonstrates API-to-API integration, a crucial skill for connecting services that don't have pre-built n8n nodes. By using direct API calls, you gain access to the full functionality of external services. This pattern can be adapted to integrate virtually any tool with an API into your n8n workflows. Common Use Cases Create public-facing forms that query external databases Build custom search tools for specialized APIs Integrate niche services without dedicated n8n nodes Learn header authentication for secure API connections Setup & Configuration Register for API Ninjas: Sign up at API Ninjas to access their Recipe API Get your API Key: Locate your API key in t

by Milan Vasarhelyi - SmoothWork