n8n connector
n8n is a tool where you build automations by joining boxes ("nodes") on a canvas, a bit like LEGO. For example: "when an email arrives, ask an AI to summarise it, then post the summary in chat".
The NuRoute node is the box that asks the AI. It sends chat requests through your NuRoute gateway, and you write no code.
The package is n8n-nodes-nuroute, the official n8n community node. It does one job on purpose: chat requests. Everything else (projects, routing settings, policy, budgets, API keys) you still manage in the NuRoute dashboard.
It used to be called n8n-nodes-aicp. That old package is deprecated on npm and points to the new one. Workflows that already use it keep working. For new installs, use n8n-nodes-nuroute.
Before you start
- n8n, running on your own server (self-hosted).
- Your NuRoute gateway address. This is the web address your requests go to.
- An API key that starts with
aicp-. Get it from your project's (or organisation's) API Keys page. Either an organisation-wide key or a project key works.
Step 1: Install the node
Inside n8n (self-hosted instances):
- Open Settings → Community Nodes.
- Click Install.
- Type
n8n-nodes-nurouteand confirm.
For developers working in the NuRoute code repository (linking a local build):
pnpm --filter n8n-nodes-nuroute build
cd packages/n8n-nodes-nuroute && pnpm link --global
cd ~/.n8n/nodes && pnpm link --global n8n-nodes-nuroute # or wherever N8N_CUSTOM_EXTENSIONS points
Then restart n8n. The NuRoute node now appears in the node panel (the list of boxes you can add).
Step 2: Add your credentials
A credential is how n8n remembers your address and key, so you do not type them again. In n8n, create a NuRoute API credential with these two fields:
| Field | What to put |
|---|---|
| Base URL | Your NuRoute gateway address, without a / at the end |
| API Key | Your aicp-... key. Organisation-wide or project-scoped keys both work. |
Step 3: Add the node to a workflow
- Add the NuRoute node to your canvas.
- Choose the credential you just made.
- Fill in the settings below.
- Click Execute to test it.
The node's settings
| Setting | What it means |
|---|---|
| Model | auto (recommended: NuRoute's routing engine picks the best model), or a specific model ID |
| Messages | One or more { role, content } pairs. Use them to build a system prompt (instructions for the AI) plus the conversation so far |
| Simplify Output | On by default. It returns just { content, model, finishReason, usage } instead of the full raw answer |
| Additional Options → Temperature / Max Tokens / Provider | Optional. Temperature is how adventurous the answer is. Max Tokens caps its length. Provider pins one specific provider: name a model with it, because with Model auto no router runs and the provider serves the first model it lists |
With Model auto, Artemis picks the model for each request.
Which models can I use?
- Send
auto, or an Artemis option (artemis-cost,artemis-balanced,artemis-quality), and Artemis picks the model. - Or name any model in the model catalogue.
- Named models can run on your own provider keys (BYOK).