Migrating from n8n
Tappet imports the workflow JSON that n8n exports and runs it natively. This page explains how to move workflows over, how to read the import diagnostics, how to reconnect credentials, and which behaviors differ.
Tappet is an independent implementation. It reproduces the behavior observed from exported workflows and black-box runs of a pinned n8n version; it does not share code with n8n.
Before you start
- Install Tappet and create the owner account (Quickstart).
- Set
TAPPET_PUBLIC_URLto the HTTPS address Tappet will be reachable at. Webhook URLs and OAuth redirect URIs are derived from it. - Decide on a project layout. Every workflow, credential and execution in Tappet belongs to a
project; imports go to your default project unless you pass
--project.
1. Export workflows
Export each workflow as JSON from the n8n editor (the download action in the workflow menu), or export all of them with your n8n instance’s command-line export into one file per workflow.
What the export contains and what it does not:
| Included | Not included |
|---|---|
| Nodes, parameters, positions, type versions | Credential secrets (only {id, name} references) |
| Connections, including AI sub-node connections | Execution history |
| Workflow settings (execution order, timezone, error workflow, …) | Users, projects, sharing |
| Pinned data, static data, tags | Environment variables and instance variables |
You can also paste a selection of nodes copied from the n8n canvas straight into the Tappet editor. Clipboard fragments go through the same importer.
2. Import
From the UI
Workflows > Import > From n8n JSON, then choose a file or paste the JSON. The import dialog shows the diagnostics report before anything is saved.
From the command line
tappet import order-sync.json --report text
tappet import order-sync.json --project finance --report json > order-sync.report.json
Import a whole directory and keep the reports:
mkdir -p reports
for f in exports/*.json; do
tappet import "$f" --project ops --report json > "reports/$(basename "$f" .json).report.json"
done
--activate activates the workflow right after import. It is refused when the workflow has
unsupported nodes or unlinked credentials.
From the API
curl -s -X POST "$BASE_URL/api/v1/workflows/import/n8n" \
-H "authorization: Bearer $API_KEY" \
-H 'content-type: application/json' \
--data-binary @order-sync.json
3. Read the diagnostics report
{
"workflow_id": "0193f1c2-6a8e-7c4b-9d0e-2f61a0b4c9d1",
"summary": { "exact": 12, "partial": 2, "unsupported": 1 },
"nodes": [
{
"name": "Send to Slack",
"n8n_type": "n8n-nodes-base.slack",
"type_version": 2.2,
"status": "NATIVE_PARTIAL",
"target": "slack/message.post",
"issues": [ { "code": "PARAM_UNSUPPORTED", "path": "otherOptions.sendAsUser" } ]
}
],
"credentials_to_link": [
{ "n8n_type": "slackApi", "name": "Slack account", "tappet_auth": "slack/bot_token" }
]
}
Node statuses
| Status | Meaning | What to do |
|---|---|---|
NATIVE_EXACT | The mapping for this node type and version is verified by parity fixtures, and so is every parameter the node uses. | Nothing. |
NATIVE_PARTIAL | The node imported and runs, with the issues listed. | Read each issue. Most need a test run, some need a parameter change. |
UNSUPPORTED_NODE | No mapping exists for this type, or for a version this old. | The node stays on the canvas as a disabled passthrough with its original JSON. Replace it (often with HTTP Request or a connector) or bypass it. The workflow cannot be activated until you do. |
Issue codes
| Code | Meaning | Typical action |
|---|---|---|
PARAM_UNSUPPORTED | A parameter is set that Tappet does not implement for this node. It is ignored. | Check whether the workflow depends on it. |
PARAM_UNVERIFIED | The parameter is mapped, but the mapping has not been confirmed by a parity fixture yet. | Run the workflow with test data and compare results. |
TYPEVERSION_UNVERIFIED | The node’s typeVersion is newer than any verified range. The nearest lower version’s mapping is used. | Test the node. Report it so a fixture can be added. |
EXPR_EXTENSION_UNSUPPORTED | An expression calls an extension method Tappet does not implement yet (for example a rarely used string helper). | Rewrite that expression with plain JavaScript. |
CREDENTIAL_UNMAPPED | The node references a credential type with no Tappet equivalent. | Use a generic credential (header, bearer, OAuth2) with HTTP Request. |
CONNECTION_TYPE_UNSUPPORTED | A connection uses a type Tappet does not know (usually from a community AI node). | Replace the sub-node. |
EXEC_CAPABILITY_DISABLED | The node runs shell commands, SSH, local file access or MCP over stdio, and exec-class nodes are disabled. | See Exec capability. |
The report is stored with the workflow version, so you can reopen it later from the workflow’s Versions panel.
4. Link credentials
Exports never contain secrets, so the importer creates a placeholder binding for each credential
reference. The report lists them in credentials_to_link, grouped by credential so a credential
used by twenty nodes is linked once.
In the UI, Credentials shows placeholders as Needs linking. For each one, either pick an existing Tappet credential of the matching kind or create a new one. OAuth2 credentials show a Connect button.
From the command line:
tappet credentials list # shows placeholders and their state
tappet credentials link # links placeholders to credentials, interactively
tappet credentials test <id> # runs the connector's test request
OAuth2 apps need a new redirect URI
Tappet uses its own OAuth2 callback path:
https://<your TAPPET_PUBLIC_URL>/api/v1/oauth2/callback
For every OAuth2 app you used with n8n (Google, Microsoft, Slack, …), add this URI to the app’s allowed redirect URIs in the vendor console before connecting. The credential page shows the exact value to paste. You keep using your own client ID and secret.
Importing a decrypted credentials export
Importing a decrypted credentials export file directly into the vault is planned (milestone M6). Until then, re-enter secrets once per credential.
5. Test, then activate
- Open the workflow and run it manually with pinned or sample data. Pinned data from the export is preserved, so nodes with pinned output do not call external services during tests.
- Compare the outputs with what the workflow produced before. Pay attention to nodes marked
NATIVE_PARTIAL. - Activate. Webhook nodes register at the same relative paths (
/webhook/<path>and/webhook-test/<path>), so you only need to change the host in the services that call them.
Run Tappet next to your existing instance while you migrate. Move each workflow’s inbound webhooks and schedules only after it is active in Tappet, and deactivate the original at the same time to avoid duplicate side effects.
Differences to know about
Tappet aims to produce the same results as the original for the same workflow. The following differences are deliberate or known.
Code node
- JavaScript only. Python Code nodes import as
UNSUPPORTED_NODEuntil the isolated Python runner ships (milestone M6). - No
requireexcept bundled pure-JavaScript libraries (currentlyluxon). No file system, network or process access from code. Use HTTP Request or a connector for network calls. - Memory is capped at 64 MB per runtime and each run has a 5 second time budget by default. An infinite loop is stopped and reported as a node error instead of blocking a worker.
console.logoutput is captured into the execution log, not the server’s stdout.
Expressions
- The globals behave the same way (
$json,$input,$('Node'),$now, …). Error messages are worded differently; the category of error (for example, an unresolvable paired item) is the same. $envcan be disabled (TAPPET_EXPR_ALLOW_ENV=false) and is disabled by default in multi-tenant mode. When disabled,$envis an empty object.
Execution
- Workflow settings
executionOrderv0andv1are both supported, and the absence of the setting meansv0, as in exported legacy workflows. - Branches run sequentially. Tappet has an opt-in parallel branch setting for new workflows, and it is never enabled for imported ones.
- A node can run at most 10,000 times per execution by default (
TAPPET_MAX_NODE_RUNS), which stops runaway loops. - Executions are checkpointed after every node. After a crash a workflow resumes from the last completed node; the node that was running is re-run once. Design side effects to be idempotent where possible.
Webhooks and waits
- Resume URLs for Wait nodes (
$execution.resumeUrl) use the path/webhook-waiting/<token>. If a workflow sent resume URLs to an external system before migration, executions waiting in the old instance must finish there. - Webhook request bodies are capped at 16 MB by default (
TAPPET_WEBHOOK_BODY_MAX). When the durable queue is full, Tappet answers503withRetry-Afterrather than dropping the request.
Nodes and integrations
- Shell, SSH, local file and MCP stdio nodes are disabled by default. See Exec capability.
- Outbound connections pass through the egress policy. With
TAPPET_EGRESS_POLICY=strict, requests to private and loopback addresses fail unless the address is allowlisted. - Community nodes are not supported. Most of them wrap an HTTP API and can be written as a declarative connector in an afternoon.
- The Merge node’s SQL query mode is not supported.
- Polling triggers keep their own cursor in workflow static data. After import, the first poll behaves like a first activation: it records the current state and emits nothing.
Data and retention
- Execution data is pruned after 14 days by default (
TAPPET_EXECUTIONS_TTL). See Retention. - Workflow edits create immutable versions. Rolling back creates a new version that copies an old one.
Exporting back
Every workflow can be exported in n8n format at any time, with the original node types, versions and parameters and with credential references only:
tappet export <workflow-id> --format n8n > workflow.json
or GET /api/v1/workflows/{id}/export/n8n. Unknown top-level keys from the original export are
preserved, so a round trip does not lose data.