It's source is available, but n8n is not open-source. They have restrictions if you don't use their cloud service for non-internal tools (ex. commercial public API's): https://docs.n8n.io/sustainable-use-license/
* or pay for a custom license (for enterprises)
* or pay for a custom license (for enterprises)