pilex

n8n community node voor Pilex Hub — AI governance, traces en kosten monitoring

Package Information

Downloads: 0 weekly / 35 monthly
Latest Version: 1.6.0
Author: Pilex B.V.

Documentation

n8n-nodes-pilex

n8n community node voor Pilex Hub — AI governance, traces en kosten monitoring.

Installatie

In n8n

  1. Ga naar SettingsCommunity Nodes
  2. Klik Install a community node
  3. Vul in: n8n-nodes-pilex
  4. Klik Install

Handmatig

cd ~/.n8n
npm install n8n-nodes-pilex

Configuratie

  1. Maak een Pilex API credential aan:
    • API Key: Je Pilex Hub API sleutel (vind je onder Instellingen → API-sleutels)
    • Pilex Hub URL: https://ai.pilex.ai (of je eigen domein)

Gebruik

Log Trace

Stuur automatisch traces van je AI workflows naar Pilex Hub.

Sleep de Pilex node aan het einde van je AI workflow:

[Trigger] → [AI Agent / OpenAI / etc.] → [Pilex: Log Trace]

De node stuurt automatisch:

  • Agent naam (standaard: workflow naam)
  • Input (de vraag/prompt)
  • Output (het AI antwoord)
  • Model (welk model is gebruikt)
  • Tokens (input + output)
  • Metadata (workflow ID, execution ID)

Agents worden automatisch geregistreerd in Pilex Hub bij de eerste trace.

Get Traces

Haal recente traces op voor monitoring of rapportage.

List Agents

Haal alle geregistreerde agents op uit Pilex Hub.

Get Agent

Haal details van een specifieke agent op.

Voorbeeld workflow

[Schedule Trigger: elke 5 min]
  → [OpenAI: Chat Completion]
  → [Pilex: Log Trace]

De Pilex node pikt automatisch de output van de vorige node op via expressions:

  • {{$json.input}} → Input
  • {{$json.output}} → Output
  • {{$json.model}} → Model
  • {{$json.usage.prompt_tokens}} → Tokens

Links

Licentie

MIT

Discussion