Importing workflows duplicating the executions

Hi, I have 2 N8N Instances(self hosted) I have created workflow in one instance and exported it and trying to import them into another instance. When i Import the workflow the executions are getting duplicated as the triggers were having same id in both the workflows. But when i create the new workflow by uploading the json its working fine. Executions are getting duplicated only when i import it via CLI. I tried to create the workflow using N8N Public API but it gives 404 on /api/v1/workflows POST request. Is there a way to import workflows using automation by having different ID’s for the triggers ?

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.112.0
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

hello @Vijay_K

Just change the IDs before the import.

Hi @barn4k Am doing N8N Workflow export and import via N8N CLI in N8N workflow. So i would like to have a simple process to take care of this. Instead of me updating the ID’s manually everytime

Hi Team,

Do we have any solution for this ?

The feature you are asking for is part of the Business/Enterprise plan :slight_smile: