Start on demand from the n8n canvas.
Load a synthetic record into the flow.
{
"reference": "DEMO-F17",
"topic": " Product question "
} Trim whitespace and check the required topic.
{
"reference": "DEMO-F17",
"topic": "Product question",
"needsReview": false
} 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": "Form Submission Intake (Betavan demo)",
"active": false,
"nodes": [
{
"id": "c7d83960-bd76-5503-a71f-6265e8d9a60b",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"parameters": {}
},
{
"id": "2c37ca26-11fa-5976-87ab-0b9a8b4c6084",
"name": "Sample Input",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
240,
0
],
"parameters": {
"jsCode": "return [{ json: {\"reference\": \"DEMO-F17\", \"topic\": \" Product question \"} }];"
}
},
{
"id": "576edf3e-4d32-5409-a710-fbcb697869e2",
"name": "Transform",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
480,
0
],
"parameters": {
"jsCode": "const d = $input.first().json;\nreturn [{ json: {reference: d.reference, topic: (d.topic ?? '').trim(), needsReview: !(d.topic ?? '').trim()} }];"
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Sample Input",
"type": "main",
"index": 0
}
]
]
},
"Sample Input": {
"main": [
[
{
"node": "Transform",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"pinData": {}
}