node-red-contrib-vectorprime 0.1.42

Rank tasks, alerts, or actions inside Node-RED when multiple options compete. Choose the safest next step automatically instead of hard-coded rules.

npm install node-red-contrib-vectorprime

node-red-contrib-vectorprime

VectorPrime — Decision Ranking for Node-RED

node-red-contrib-vectorprime lets you rank tasks, alerts, or actions inside Node-RED when multiple options compete.

Instead of hard-coding rules, VectorPrime helps flows choose the safest, most urgent, or most rational next step automatically.


🧠 What this node does (plain English)

You send VectorPrime a list of options (tasks, actions, alerts). Each option can include simple metadata like urgency, impact, deadline, or effort.

VectorPrime returns:

  • A ranked list (best → worst)
  • Probabilities / confidence signals (when provided)
  • Metadata about the ranking

This turns Node-RED into a decision-aware automation engine, not just if/else.


📦 Nodes included

  • VectorPrime Config
    Stores Base URL + API key securely using Node-RED credentials (not exported with flows).

  • Rank Decision (VectorPrime)
    Sends options to the VectorPrime Rank API and returns ranked results.


⚡ Quick start (5 minutes)

  1. Open Node-RED
  2. Menu ☰ → Manage PaletteInstall
  3. Search for: node-red-contrib-vectorprime
  4. Install
  5. Drag Rank Decision (VectorPrime) into a flow
  6. Create/select a VectorPrime Config and click Get Free Key
  7. Inject one of the examples below into msg.payload

✅ Input format (simple) — items[] (recommended)

The node will automatically convert items[] into the backend’s required options[] format.

{
  "items": [
    { "id": "payroll", "label": "Fix payroll outage", "urgency": 10, "impact": 10, "effort": 3 },
    { "id": "email", "label": "Reply to customer email", "urgency": 4, "impact": 5, "effort": 2 },
    { "id": "deploy", "label": "Ship small hotfix", "urgency": 7, "impact": 7, "effort": 4 }
  ],
  "prompt": "Rank the best next action."
}

Node Info

Version: 0.1.42
Updated 1 week, 1 day ago
License: MIT
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

297 in the last week

Nodes

  • vectorprime-config
  • vectorprime-rank

Keywords

  • node-red
  • node-red-node
  • decision
  • priority
  • ranking
  • automation
  • workflow
  • routing
  • control
  • utility
  • vectorprime

Maintainers