Import a flow from my web app

Hi everyone,
I’m new to using n8n and I’d like to know if the following is possible:

From my web application, I want to send a POST request containing a workflow in JSON format, so that it gets automatically imported and activated in n8n (which I’m currently running locally, but I plan to migrate to a VPS).

The idea is that each workflow created from my app is independent, as if it were a “new user workflow” that gets added directly to the n8n instance.

Is this possible?
Is there a recommended way to achieve this using the n8n API or any other method?

I’d really appreciate any guidance you can provide. :folded_hands:

Hi there, what you are trying to do is very possible

What you need to do is on your n8n instance, go to settings and n8n API and enable the api and get the API Key

And then you can use this documentation to know more about the API on how to accomplish this

hi there, if i help solve your question please mark my answer as the solution @Juan_Perez

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