Skip to content
MoveWorkflows

Pipedream secrets and connected accounts → n8n credentials

Updated 2026-10-21 · 3 min read

Check your Pipedream export
Drop your Pipedream export hereProject export ZIP, GitHub Sync repo (ZIP or folder) or workflow JSON / YAMLRead in your browser. Files are never uploaded.
In short
  • Pipedream's export redacts secrets and leaves out connected accounts and env vars.
  • Recreate each key as an n8n credential. OAuth apps need a new sign-in from n8n.
  • Code nodes can't read n8n credentials, so move API calls into HTTP Request nodes.
On this page · 8 sections
  1. What to do now
  2. Where each Pipedream secret goes
  3. Step 1. Make the list
  4. Step 2. Collect the values
  5. Step 3. Create credentials in n8n
  6. Code steps that read secrets
  7. External secret stores
  8. Next steps

Your Pipedream secrets, environment variables and connected accounts don't move to n8n by themselves. Pipedream's export replaces secret values with <redacted>. For app props it keeps only an authProvisionId: an ID, not the token itself. Connected accounts, OAuth tokens and environment variables are left out entirely.

In n8n you recreate them as credentials. In a few cases you use Variables instead. This page is the checklist.

What to do now

  1. Make the list of secrets. Start from the export's manifest.json, or let our free report build the list.
  2. Get each value from its source. Pipedream won't show secret values again, so use the provider's dashboard or your password manager. Or create a new key.
  3. Create the credentials in n8n. Then select the right credential on every imported node that shows a warning.
  4. Move API calls out of code. A Code node can't read a credential, so the call goes into an HTTP Request node.

Where each Pipedream secret goes

In Pipedream In n8n
Connected account (this.slack.$auth…, app props on actions) A credential of that app's type, selected on the app node or HTTP Request node
Environment variable used as an API key A credential (often Header Auth or the service's own type)
Environment variable used as config (URLs, IDs, flags) n8n Variables $vars on plans that have them, or a Set node or a hard-coded value
Secret prop on an action The credential or field on the matching n8n node
HTTP trigger Custom token Webhook node Header Auth credential

Step 1. Make the list

The export contains a manifest.json file. For each workflow it has a warnings list. That list names every step and prop you must enter again.

Add every app you see in app props and in this.<app>.$auth references. Our free report builds this list for you. It shows one line per credential to create, with the workflows that need it.

Step 2. Collect the values

Pipedream environment variables are secret by default. A secret value is never shown again in the UI. So for most keys you have two options:

  • Get the value from the source: the provider's dashboard or your password manager.
  • Rotate the key: create a new key at the provider and use it only in n8n. This is the cleaner option. It also cuts off the old copy, which Pipedream deletes by April 30, 2027.

OAuth connections (Google, Slack, HubSpot) can't be copied at all. You sign in again from n8n.

Step 3. Create credentials in n8n

You can create a credential from the Overview, from a project, or straight from a node's credential dropdown. n8n tests a credential when you save it (docs).

Credentials are encrypted with the instance's N8N_ENCRYPTION_KEY. On self-hosted n8n, back up that key, because it is what encrypts them (deployment variables).

Then open each imported node that shows a credential warning. Select the new credential there.

Code steps that read secrets

Pipedream code read secrets with process.env.KEY or this.<app>.$auth.<field>. In n8n there are three options, each with limits:

  • Credentials: not readable in code. Code nodes can't read credentials (Code node common issues). Move the API call into an HTTP Request node with the credential (guide). Keep the Code node for logic.
  • $vars.KEY works in code and expressions on Cloud Pro and Enterprise and on self-hosted Business and Enterprise. Variables are read-only in workflows. Only owners and admins create them (docs). Anyone who can edit workflows can see them, so don't treat them as a vault.
  • $env reads the instance's environment variables. But the 2.0 breaking changes set the default of N8N_BLOCK_ENV_ACCESS_IN_NODE to true. So on a default install, nodes can't read them. The environment variable reference page still lists false, so test on your version.

Our converter turns this.<app>.$auth.<field> into a named variable and lists it. OAuth tokens stored that way don't refresh. So for OAuth apps, move the call to an HTTP Request node with the app's n8n credential.

External secret stores

n8n Enterprise can read secrets from an outside vault: 1Password, AWS Secrets Manager, Azure Key Vault, GCP Secrets Manager, HashiCorp Vault or Infisical. You use them via $secrets in credential fields (docs). Most migrations don't need this.

Next steps

Not affiliated with Pipedream or n8n.

FAQ

Can I export my Pipedream secrets?

No. The export replaces secret values with <redacted>. It leaves out connected accounts and environment variables. Secret environment variables are never shown again in the Pipedream UI.

Where do API keys go in n8n?

In credentials. Create a credential for the service, then select it on the node that calls the API. n8n encrypts credentials in its database.

Does n8n have environment variables like process.env?

n8n Variables ($vars) exist on Cloud Pro and Enterprise and on self-hosted Business and Enterprise. $env exposes instance environment variables, but n8n 2.0 blocks that access from nodes by default.

Can a Code node read an n8n credential?

No. Code nodes can't access credentials by design. Put the API call in an HTTP Request or app node that uses the credential.