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.
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)
- Open Node-RED
- Menu ☰ → Manage Palette → Install
- Search for: node-red-contrib-vectorprime
- Install
- Drag Rank Decision (VectorPrime) into a flow
- Create/select a VectorPrime Config and click Get Free Key
- 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."
}