Start on demand from the n8n canvas.
Load a synthetic record into the flow.
{
"ticketId": "DEMO-T21",
"message": "I need a copy of my invoice."
} Check keywords, assign the queue and preserve human review.
{
"ticketId": "DEMO-T21",
"queue": "billing",
"needsReview": true
} Getting started
Download the JSON and open Import from File in the n8n canvas menu. Inspect the Code nodes and then run the manual trigger against the built-in synthetic input.
Compatibility and review
Designed for n8n with Manual Trigger and JavaScript Code nodes. No service credentials are required. The sample does not send anything. Import and execution in an n8n instance still require verification.
Resource files
Inspect the original contents and download individual files.
{
"name": "Support Ticket Classification (Betavan demo)",
"active": false,
"nodes": [
{
"id": "002981bd-18af-556c-8993-c0fa126947ff",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"parameters": {}
},
{
"id": "360a9289-ca3d-55fe-85c2-dfd427457955",
"name": "Sample Input",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
240,
0
],
"parameters": {
"jsCode": "return [{ json: {\"ticketId\": \"DEMO-T21\", \"message\": \"I need a copy of my invoice.\"} }];"
}
},
{
"id": "23f05467-d41f-5414-8ebf-7119546c4b4d",
"name": "Transform",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
480,
0
],
"parameters": {
"jsCode": "const d = $input.first().json;\nreturn [{ json: {ticketId: d.ticketId, queue: d.message.toLowerCase().includes('invoice') ? 'billing' : 'general', needsReview: true} }];"
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Sample Input",
"type": "main",
"index": 0
}
]
]
},
"Sample Input": {
"main": [
[
{
"node": "Transform",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"pinData": {}
}