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 →
{
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
720,
410
],
"parameters": {
"path": "greetinghook"
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
1120,
410
],
"parameters": {
"url": "https://webhook.site/c0a47a6f-6a71-4d18-baef-51f694f7c56b",
"requestMethod": "POST",
"responseFormat": "string",
"bodyParametersUi": {
"parameter": [
{
"name": "greeting",
"value": "={{$node[\"FunctionItem\"].data[\"greeting\"]}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "FunctionItem",
"type": "n8n-nodes-base.functionItem",
"position": [
930,
410
],
"parameters": {
"functionCode": "item.greeting = `Hello ${item.query.name}, have fun at the ${item.query.event}!`;\nitem.greeting = \"Hello \" + item.query.name + \", have fun at the \" + item.query.event + \"!\";\nreturn item;"
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "FunctionItem",
"type": "main",
"index": 0
}
]
]
},
"FunctionItem": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
}
}
About this workflow
N8N Nodemation Basic Creating Your First Simple Workflow 2 3. Uses httpRequest, functionItem. Webhook trigger; 3 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →