The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Smoke Test - Function Node",
"nodes": [
{
"parameters": {},
"id": "start",
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
100,
300
]
},
{
"parameters": {
"assignments": [
{
"name": "x",
"value": 5
},
{
"name": "y",
"value": 10
}
]
},
"id": "set1",
"name": "Set Numbers",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
300,
300
]
},
{
"parameters": {
"jsCode": "var result = { sum: $json.x + $json.y, product: $json.x * $json.y }; result;"
},
"id": "function1",
"name": "Calculate Sum",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
500,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Set Numbers",
"type": "main",
"index": 0
}
]
]
},
"Set Numbers": {
"main": [
[
{
"node": "Calculate Sum",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Smoke Test - Function Node. Uses start. Manual trigger; 3 nodes.
Source: https://github.com/neul-labs/m9m/blob/main/test-workflows/smoke/function-node.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
NextCloud:NextCloud:Folder:create move copy delete list:File:upload move copy download delete. Uses start, nextCloud, readBinaryFile. Manual trigger; 28 nodes.
Transporeon - orders - step 3 - process single. Uses start, functionItem, httpRequest, microsoftSql. Manual trigger; 26 nodes.
Orbit:Member:upsert get update delete getAll lookup:Note:create update getAll:Activity:create getAll:Post:create getAll delete. Uses start, orbit. Manual trigger; 16 nodes.
Raindrop:User:get:Collection:create get update getAll delete:Bookmark:create get update getAll delete:Tag:getAll delete. Uses start, raindrop. Manual trigger; 14 nodes.
Backup workflows & credentials. Uses start, executeCommand. Manual trigger; 13 nodes.