Pipedream HTTP requests → n8n HTTP Request node
Updated 2026-10-21 · 4 min read
- One n8n HTTP Request node replaces Send any HTTP Request and axios calls in code.
- n8n Cloud can't load axios, so move API calls out of code and into this node.
- The node succeeds only on 2xx responses by default. Never Error changes that.
Pipedream workflows called APIs in two ways. One was the no-code Send any HTTP Request action. The other was axios inside code steps (Pipedream HTTP docs). In n8n, the HTTP Request node replaces both.
Moving the call out of code and into the node also solves two n8n problems. n8n's own Code node docs send HTTP calls to this node. And n8n Cloud can't load axios at all.
What to do now
- Find every API call. List the Send any HTTP Request actions and the code steps that use
axios,gotorfetch. - Create the credentials first. Each token becomes an n8n credential that you create once. How to move secrets
- Rebuild each call as an HTTP Request node. You can paste the request with Import cURL. Then pick the credential under Authentication.
- Fix the nodes after it. The response shape differs from Pipedream's, so they may need
$jsoninstead of$json.data. - Test the converted code steps. Code steps where our converter rewrote
axiosneed a test run after import. Or move the call into an HTTP Request node.
Mapping
| Pipedream | n8n HTTP Request node |
|---|---|
| Send any HTTP Request action | HTTP Request node with the same method, URL, headers and body |
| App attached to the request for auth | Authentication → Predefined Credential Type (the app's n8n credential) |
axios($, config) from @pipedream/platform |
HTTP Request node. The response body is the node output |
axios / got / fetch in code |
HTTP Request node before or after the Code node |
$.send.http() (async request, response not needed) |
HTTP Request node. Set On Error to Continue if a failure must not stop the run |
| Looping over pages in code | Pagination option |
| Error body shown on 4xx/5xx | Response option Never Error, or Include Response Headers and Status |
Node settings that matter
These come from the HTTP Request node docs:
- Methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT.
- Authentication: use a Predefined Credential Type when one exists for the service. n8n recommends this. Otherwise use Generic credentials: Basic, Digest, Header, OAuth1, OAuth2, Query and more.
- Import cURL: paste a cURL command and n8n fills in the request. This helps when the request is already in your Pipedream step or in an API's docs.
- Pagination: Off, Update a Parameter in Each Request, or Response Contains Next URL. Expressions can read
$response,$pageCountand$request. - Batching: Items per Batch and Batch Interval (ms). Use them to stay under rate limits.
- Response: Response Format (Autodetect, File, JSON, Text), Include Response Headers and Status, and Never Error.
Before and after
Here is a Pipedream code step with the platform axios wrapper:
import { axios } from "@pipedream/platform";
export default defineComponent({
props: { github: { type: "app", app: "github" } },
async run({ steps, $ }) {
return await axios($, {
url: `https://api.github.com/repos/${steps.trigger.event.body.repo}/issues`,
headers: { Authorization: `Bearer ${this.github.$auth.oauth_access_token}` },
});
},
});
In n8n this becomes one node:
- Method: GET
- URL:
https://api.github.com/repos/{{ $('Webhook').first().json.body.repo }}/issues - Authentication: Predefined Credential Type → GitHub
The token never appears in the workflow. It lives in an n8n credential, which you create once (credentials guide).
Response shape
The platform axios wrapper returned only data. The HTTP Request node returns the parsed body as the item's JSON by default.
If the API returns a top-level array, the node outputs one item per element. We took this from the node's source code. The docs don't spell it out.
So the nodes after it may need $json instead of $json.data. Turn on Include Response Headers and Status when the next step needs the status code.
When to keep the call in code
Keep the request in code only when it is tangled with logic. An example is signing a request with a computed HMAC on every retry. On self-hosted n8n you can allow-list axios for the Code node (npm guide).
For everything else, use the node. It is easier to read, retry and debug in the n8n executions view.
In our converter
Our converter turns common Pipedream actions into HTTP Request nodes with the matching n8n credential type. That covers HTTP requests, Slack, Google Sheets and others. The report lists the credentials you need to create.
axios calls inside code steps are rewritten to a helper call. n8n doesn't document that helper for the Code node. So test those steps after import, or move the call into an HTTP Request node.
Check one step for free with the Code node compatibility check. The free report shows the full list. For the whole process, see migrate Pipedream to n8n.
Not affiliated with Pipedream or n8n.
FAQ
What replaces axios from @pipedream/platform in n8n?
The HTTP Request node. You set the method, URL, headers and body, and attach an n8n credential for authentication.
Does the n8n HTTP Request node support pagination?
Yes. The Pagination option can update a parameter on each request or follow a next URL from the response. Expressions can use $response, $pageCount and $request.
Can I turn a Pipedream HTTP step into an n8n node from cURL?
Yes. The HTTP Request node has an Import cURL button. It fills in the method, URL, headers and body.
How do I stop the HTTP Request node failing on 4xx responses?
Turn on the Never Error option. By default the node succeeds only on 2xx responses.