Pipedream vs n8n: one workflow, built in both
Updated 2026-10-21 · 5 min read
- Pipedream Workflows shuts down on March 31, 2027, and n8n cannot import its workflows.
- In 92 public Pipedream workflows, 89% had a code step and 34% called fetch().
- In our test, the n8n 2.44.5 Code node had no fetch, URL or AbortController.
Pipedream Workflows shuts down on March 31, 2027. So "Pipedream vs n8n" is now a practical question: what happens to a workflow you already have when you rebuild it in n8n? This page does not compare feature lists. It takes one common workflow and follows each part across.
This workflow shape is typical. We analysed 92 public Pipedream workflows on October 21, 2026. 89% had at least one code step, and 34% called fetch() inside one.
The example workflow
A service sends a JSON body with a user id. The workflow looks the user up in an API. Then it posts a message to Slack.
In Pipedream this is three steps: an HTTP trigger, a Node.js code step and a Slack "Send Message" action.
// Pipedream: code step "lookup"
export default defineComponent({
async run({ steps, $ }) {
const id = steps.trigger.event.body.id;
const res = await fetch(`https://api.example.com/users/${id}`);
const user = await res.json();
return { name: user.name, plan: user.plan };
},
});
In n8n it becomes four nodes: Webhook → Code → Slack. The fourth is Respond to Webhook, if the caller needs a custom reply.
// n8n: Code node "lookup" (Run Once for All Items)
const id = $('Webhook').first().json.body.id;
const user = await this.helpers.httpRequest({ url: `https://api.example.com/users/${id}`, json: true });
return [{ json: { name: user.name, plan: user.plan } }];
Part by part
1. Trigger. Pipedream's HTTP trigger gives the workflow a *.m.pipedream.net URL. n8n's Webhook node has two URLs on your n8n domain: a test URL and a production URL. The production URL works only after you publish the workflow. Either way, you have to update the service that calls it. The request body sits under body in both tools. So steps.trigger.event.body.id becomes $('Webhook').first().json.body.id.
2. Code step. Pipedream runs each step as a Node.js component with steps and $. n8n's Code node works on items, the records of data that pass from node to node. It reads $input or $('Node name') and returns [{ json: {...} }]. In our test the Code node had no fetch. So the call goes through this.helpers.httpRequest, or moves into an HTTP Request node.
3. Slack action. In Pipedream, the action used a connected Slack account. Connected accounts are not exported. In n8n you add the Slack node and create a Slack credential again. The message text reads {{ $('lookup').item.json.name }} instead of {{steps.lookup.$return_value.name}}.
4. Response. Did the Pipedream step call $.respond()? Then set the n8n Webhook node to respond with a Respond to Webhook node. That node goes at the end of the path.
Reference: Pipedream concept → n8n
| Pipedream | n8n | Note |
|---|---|---|
HTTP trigger, *.m.pipedream.net |
Webhook node, /webhook/<path> |
New URL. n8n accepts a body up to 16 MB by default. Pipedream: 512 KB without its large-upload option |
$.respond() |
Respond to Webhook node | Set the Webhook node to use it |
| Schedule (interval or cron) | Schedule Trigger | Runs in the workflow timezone, else the instance timezone (America/New_York by default on self-hosted) |
| Email trigger address | IMAP Email trigger | You read a mailbox you own |
| Node.js v20 code step | Code node, JavaScript | Works on items; see the testing notes below |
| Python 3.12 code step | Code node, Python | Self-hosted needs the task runner image |
| Go, Bash steps | — | Rewrite in JavaScript or Python |
npm on import |
Cloud: crypto, moment. Self-hosted: allow-listed |
Decides where you host n8n |
| If/Else, Switch, Parallel, Filter | If, Switch, Merge, Filter | Rebuilt as nodes |
$.flow.delay, Delay |
Wait node | |
| Data stores | Data tables; workflow static data in JS | Records are not in the export |
| Environment variables | Credentials; Variables ($vars) on paid plans |
You re-enter them by hand |
| Email on error, auto-retry (Advanced) | Error Trigger workflow, Retry On Fail per node | |
| GitHub Sync | Source control environments (Business, Enterprise) | |
| Credits (compute time) | Executions on Cloud; none self-hosted | |
| Cloud only | n8n Cloud or self-hosted Community Edition | Sustainable Use License |
Differences we hit in testing
We tested this ourselves on 21.10.2026 with n8n 2.44.5: Docker image n8nio/n8n, default task runner. A task runner is the separate process n8n uses to run Code node code.
Missing globals in the JavaScript Code node. We ran a probe workflow. It returned undefined for fetch, URL, URLSearchParams, AbortController, structuredClone, Blob, process and the global crypto. These were available: this.helpers.httpRequest, require, Buffer, setTimeout, TextEncoder, atob, FormData. In our 92-workflow sample, 31 workflows call fetch(), 18 use AbortController and 9 use URL or URLSearchParams. All of these fail on the first run unless you replace those calls.
Built-in modules are blocked too. require('crypto') failed with "Module 'crypto' is disallowed". It worked only after we allowed it on the instance. That was the default internal runner. The n8nio/runners image allows crypto by default. Self-hosted n8n allows built-in modules and external packages through the task runner settings. On n8n Cloud only crypto and moment are available, per the Code node docs.
Python needs a separate runner. The n8nio/n8n image had no Python. Python Code nodes ran only with the external n8nio/runners image. The default runner also denied __build_class__. So any class statement in a Python step failed before user code ran. Plain functions worked.
Import is not the problem. We ran all 93 workflow files through our converter. Every result imported into n8n 2.44.5 with n8n import:workflow. The failures came later, when the workflows ran. That is why we check code before import, not after.
Beyond the workflow itself
- Hosting. Pipedream was cloud only. n8n runs as n8n Cloud or as the free self-hosted Community Edition.
- Billing. Pipedream Workflows billed in credits. One credit paid for 30 seconds of compute at 256 MB, per segment. n8n Cloud bills per execution, however many steps the workflow has (pricing).
- Stored data. Pipedream data stores map to n8n Data tables or to
$getWorkflowStaticData(). Data tables hold 200 MiB per instance by default, and a Code node cannot read them. n8n calls$getWorkflowStaticData()experimental. - Secrets. Pipedream environment variables become n8n credentials or Variables. Variables need Cloud Pro or Enterprise, or self-hosted Business or Enterprise.
- Errors. Pipedream emailed you when a run failed. n8n uses an error workflow with an Error Trigger, plus retry settings on each node.
Check your own workflows
Want to know which of these gaps your code hits? Paste one step into the Code node compatibility check. Or drop the whole export into the free report. It marks each workflow green, yellow or red. Where a step needs fetch, it adds a fetch shim, a small stand-in function. The report and 1 workflow are free. Full export: $3 per workflow, $1 each after 50, $19 minimum, one-off. See pricing. The full walkthrough is in migrate Pipedream to n8n.
moveworkflows is not affiliated with Pipedream or n8n.
FAQ
Can I paste my Pipedream code step into an n8n Code node as is?
Usually not. n8n code reads its input with $input or $('Node name') and returns an array of { json } items. Pipedream code uses steps, $ and a return value. In our test on n8n 2.44.5, the Code node also had no fetch, URL or AbortController. So you either rewrite the code or wrap it in a compatibility layer.
Does my Pipedream webhook URL keep working after the move?
No. In n8n the Webhook node gets its own URL on your n8n domain. The production URL works only after you publish the workflow. Update every service that called the *.m.pipedream.net address.
Is n8n Cloud or self-hosted closer to Pipedream?
For code, self-hosted. Pipedream installed any npm package you imported. On n8n Cloud the Code node loads only crypto and moment, and Python there can't import libraries. Self-hosted n8n can allow-list packages in the task runner.
How does billing compare?
Pipedream Workflows billed credits: one credit per 30 seconds of compute at 256 MB, per workflow segment. n8n Cloud bills per workflow execution, however many steps it has. Self-hosted Community Edition has no execution fee.
Does n8n import Pipedream workflows?
No. n8n imports n8n workflow JSON only. A Pipedream export has to be converted or rebuilt first.
Sources (20)
- https://pipedream.com/docs/workflows
- https://pipedream.com/docs/workflows/building-workflows/code/nodejs
- https://pipedream.com/docs/workflows/building-workflows/code/python
- https://pipedream.com/docs/workflows/building-workflows/triggers
- https://pipedream.com/docs/workflows/building-workflows/control-flow
- https://pipedream.com/docs/workflows/data-management/data-stores
- https://pipedream.com/docs/workflows/environment-variables
- https://pipedream.com/docs/workflows/limits
- https://pipedream.com/docs/pricing
- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code
- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook
- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.respondtowebhook
- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger
- https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.slack
- https://docs.n8n.io/build/work-with-data/data-tables
- https://docs.n8n.io/build/code-in-n8n/define-custom-variables
- https://docs.n8n.io/build/flow-logic/handle-errors-gracefully
- https://docs.n8n.io/deploy/host-n8n/configure-n8n/set-up-task-runners
- https://n8n.io/pricing/
- https://docs.n8n.io/deploy/host-n8n/community-edition-features