Create a workflow inside a project via another workflow

I need help in creating a workflow that creates another workflow inside a project folder via another workflow. This can be easily done through the UI, but I was wondering if there is a way to do this through a workflow.

For context, I was able to create a workflow, but it was only placed inside the Personal folder of the project owner, not the project itself.

Attached below is my test workflow:

  • n8n version: 1.123.4
  • Running n8n via n8n cloud

I was able to do a workaround, but it still does create the workflow in the Personal folder of the owner. I just then move the workflow to the project folder after.

Is there a way to create a workflow directly to a folder? Or is there a more elegant way to achieve this other than create then move?

1 Like