Getting started

Four commands separate a cold machine from a verified query over 688,466 words of n8n documentation.

1. Clone the repository

git clone https://github.com/homgorn/n8n-saas-factory.git
cd n8n-saas-factory

2. Clone the n8n documentation source

The wiki is built from the GitBook source at n8n-io/n8n-docs (a shallow clone is enough):

git clone --depth 1 https://github.com/n8n-io/n8n-docs.git n8n-docs-source

This is ~100 MB and carries n8n’s Sustainable Use License — we vendor, we don’t redistribute. It is excluded from tracked files and from the licence grant in LICENSE.

3. Build the wiki and verify the gate

python brain/scripts/forge.py build
python brain/scripts/verify.py            # expect VERDICT: PASS, 12/12 gates

4. Query it

python brain/scripts/query.py ask "how do I paginate API results"

Top hit is the HTTP Request node pagination docs. The answer includes citations and a code path. Bring your own n8n instance (the customer’s) to build the actual SaaS — the analyzer and generator work on imported workflow JSON.

Requirements

Known limits