Duplicating workflow causes credentials to reset

Basically, when I duplicate a workflow and have a node that has more than 1 credential/connection, it will reset to the default credential as if I created that node through the add node menu

This is just a screenshot of 3 of the nodes but it happens to all of the ones that use credentials.

Information on your n8n setup

  • n8n version: 1.77.3
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Queue mode?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker

This is a known issue in n8n where duplicating workflows doesn’t properly preserve credential selections for nodes with multiple credential options. To work around this:

  1. After duplicating, manually re-select the correct credentials for each affected node
  2. Consider using the Export/Import feature instead:
  • Export the original workflow
  • Import it as a new workflow
  • This sometimes preserves credential selections better than the duplicate function

This issue has been reported to the n8n team and should be fixed in future releases.

If my response helped, please consider marking it as the solution! :arrows_counterclockwise::+1:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.