RE:How (is it possible?) to duplicate n8n workflows using n8n workflows?

I have workflows that I would like to have a workflow/s that -

  1. Duplicates the workflow
  2. Creates a new webhook and changes one variable
  3. Renames the new work flows.

The flow/s that do the duplication would likely be triggered by a webhook.

Is you had the same problem and you fixed it please give suggestions!

This is a copy of How (is it possible?) to duplicate n8n workflows using n8n workflows?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

n8n has a rest API that you can use to retrieve and create workflows. So you would need to get the workflow you want to duplicate, modify what you need to modify and then post that to the API again.

Hey @BramKn

That is what I’m trying to do (I think)

But I’m not sure how to set up the create:workflow node.

what error do you get?

Its not about the error I don`t know how to set it up correctly

and when I try to use the exact Json code I got (from the workflow, just copy and paste it)