narrate

n8n node to ask the NARRATE IMC through the Monitoring Platform

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.1
Author: Nunsys

Documentation

n8n-nodes-narrate

n8n community node to ask the NARRATE IMC (Intelligent Manufacturing Custodian) from a workflow.
It goes through the NARRATE Monitoring Platform, so chats are stored under the platform user and
that user's plugin permissions apply.

Node: NARRATE

Operation What it does
Ask IMC POST /api/imc/query with the question. Output: chat_id and response (answer, reasoning steps, evidence).

Options:

  • Chat ID: continue an existing chat (use the chat_id returned by a previous run).
  • Plugin Names or IDs: limit the chat to some plugins (loaded from GET /api/plugins/, active ones only). None = all.

The IMC can take up to 120 s per question; the node waits up to 150 s.

Credential: NARRATE API

  • Platform URL: base URL of the platform, without /api (e.g. https://narrate.example.com).
  • Username / Password: a platform user.

The node logs in with POST /api/auth/login and sends Authorization: Bearer <token>.
The token is cached and renewed automatically when a request returns 401.
The credential test calls GET /api/auth/me.

Development

Requires Node.js 22+ (the @n8n/node-cli tooling recommends 24).

npm install
npm run build   # compile to dist/
npm run lint
npm run dev     # start a local n8n with the node loaded (http://localhost:5678)

Installing in an n8n instance

  • Published to npm: Settings → Community nodes → Install → n8n-nodes-narrate.
  • Private: npm pack, then install the tarball inside ~/.n8n/nodes
    (npm install /path/n8n-nodes-narrate-0.1.0.tgz) and restart n8n.

Discussion