I’m trying to create a workflow using the n8n public REST API. I followed the steps in the documentation (API reference | n8n Docs). The request succeeds, but the workflow appears empty—no nodes are visible. Is there a command or setting to make the nodes show up (or to activate them)?
Hey @Denis_Ramon_Peixoto hope all is well and welcome to the community.
Could it be that the nodes are just off the screen? Have you tried to zoom out and see if anything is just hiding from you? Alternatively some of the content on the screen is blocked by some extension, maybe? Try in a different browser, or in the incognito mode (in case your extensions do not run in the incognito mode).
Hi jabbson
I tried other browsers but the same thing happens. Looking more closely at the screen, I noticed that the zoom buttons don’t appear in the workflow created via the n8n public REST API, while workflows created directly in n8n look normal. Could this be a bug? When creating a workflow through the n8n public REST API, do we need to send some additional setting to enable node visualization?
This is exactly why I mentioned that there could be an issue with an extension blocking a part of the up, I’ve noticed that too.
So this only happens to the workflows which were created with an api, but those created manually look ok?
Did you try to import a workflow which was just exported (meaning same version, same everything)?
Could you share one such workflow, so that I could try to create it with an api and see if that process works for me?