Triage tickets by ranking next actions with VectorPrime via webhook
What this template does (in 1 sentence)
Ranks “best next actions” for an incoming ticket/incident using the VectorPrime Decision Kernel (deterministic + auditable), then returns a clean JSON result you can route to Slack, a backlog tool, or email.
Pricing note: Template is free. VectorPrime API requires a user-provided API key (free usage up to a limit; paid plans beyond that).
When you should use this
Use this workflow when you already have a ticket/incident AND a short list of candidate actions, and you want a consistent, explainable “what should we do first?” ranking.
Examples: IT Ops incidents (restart vs rollback vs escalate) Support tickets (refund vs troubleshoot vs escalate) On-call triage (wake someone up vs wait)
What you get (outputs)
A structured JSON response including: ok (true/false) the original request payload VectorPrime ranking + probabilities (when ok=true) an audit timestamp
How it works
- Webhook receives JSON payload
- Normalize step validates and builds vp_payload
- VectorPrime Rank (HTTP Request) calls VectorPrime /v1/kernel/rank
- Parse step validates the response
- If OK → builds optional payloads + writes audit log → responds success
- If not OK → responds with a safe error JSON
Setup (IMPORTANT)
Step 1 — Get your webhook URL (required) After importing this template, your webhook URL will be different for each workspace:
Open Webhook1 Copy Production URL (real usage) (Test URL is only for editor debugging)
Step 2 — Add your VectorPrime API key (required)
In n8n → Credentials → create/select Header Auth:
Header Name: Authorization Header Value: Bearer YOUR_VECTORPRIME_API_KEY
Then open VectorPrime Rank (HTTP) and select that credential.
✅ Secrets are NOT stored in this template. Each user supplies their own key via Credentials.
Input payload this workflow expects
This workflow expects:
decision_id (string) prompt (string) options (array of objects)
options must be a REAL JSON array, like:
[ { "id": "a", "label": "Option A" }, { "id": "b", "label": "Option B" } ]
If you send fewer than 2 options, the workflow responds with: ok:false error:not_enough_options
Example JSON payload (copy/paste)
{ "decision_id": "REQ-1007", "prompt": "Customer cannot login", "options": [ { "id": "restart", "label": "Restart auth service" }, { "id": "rollback", "label": "Rollback last deploy" } ] }
Related Templates
Extract Title tag and Meta description from url for SEO analysis with Airtable
Extract Title tag and meta description from url for SEO analysis. How it works The workflows takes records from Airtabl...
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Extract Named Entities from Web Pages with Google Natural Language API
Who is this for? Content strategists analyzing web page semantic content SEO professionals conducting entity-based anal...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments