StudyVisuallyStart studying
Part 08 · n8n · Card 7 of 13

HTTP Request node

Calls any API. Often used to call your own agent endpoint.

Last updated

Analogy

fetch, but in a box with form fields.

In an agent

This is how n8n hands a PR diff to POST /api/agent/review on your Next.js app.

Questions people ask

How do I call my own AI agent API from n8n?

Add an HTTP Request node, set the method and your agent's URL, for example POST /api/agent/review on your Next.js app, and send the data from earlier nodes as the JSON body. Add an authentication header. The agent's response becomes $json for the next node.

Can n8n call any API?

Yes. The HTTP Request node can call any HTTP API, including your own, even when n8n has no dedicated node for that service. You set the method, URL, headers and body in form fields. It is fetch in a box, and it is the usual way n8n hands work to an agent.