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
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments