Start on demand from the n8n canvas.
Load a synthetic record into the flow.
{
"reference": "DEMO-D08",
"status": "ready for dispatch"
} Fill a local template and mark the draft as awaiting approval.
{
"subject": "Update for DEMO-D08",
"body": "Your order is ready for dispatch.",
"approval": "required"
} 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": "Email Draft Preparation (Betavan demo)",
"active": false,
"nodes": [
{
"id": "3b354dc3-3a48-5eda-90c9-3c8462e7db86",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"parameters": {}
},
{
"id": "af8b0e7c-d25b-5fc4-bb9e-5a5225869b26",
"name": "Sample Input",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
240,
0
],
"parameters": {
"jsCode": "return [{ json: {\"reference\": \"DEMO-D08\", \"status\": \"ready for dispatch\"} }];"
}
},
{
"id": "57419ba5-151a-5013-a0b7-1049cc19a6f0",
"name": "Transform",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
480,
0
],
"parameters": {
"jsCode": "const d = $input.first().json;\nreturn [{ json: {subject: 'Update for ' + d.reference, body: 'Your order is ' + d.status + '.', approval: 'required'} }];"
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Sample Input",
"type": "main",
"index": 0
}
]
]
},
"Sample Input": {
"main": [
[
{
"node": "Transform",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"pinData": {}
}