n8n
Workflow
N8n Nodemation Basic Creating Your First Simple Workflow 2 3
This n8n workflow automates tasks and integrates with various services. N8n Nodemation Basic Creating Your First Simple Workflow 2 3 - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks and integrates with various services. N8n Nodemation Basic Creating Your First Simple Workflow 2 3 - ready to import and run in your n8n instance.
Features:
- Receives webhook events
- Makes HTTP requests to external APIs
- Custom JavaScript function processing
Source Code
{
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
720,
410
],
"parameters": {
"path": "greetinghook"
},
"typeVersion": 1,
"id": "9fcee2c8-a8a1-4927-99ac-9036171f113f"
},
{
"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,
"id": "f3f911ec-b42c-48b9-85dd-cfa6fea1e64b"
},
{
"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,
"id": "0dc5c7b1-3ab4-498c-a9fa-062643904080"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "FunctionItem",
"type": "main",
"index": 0
}
]
]
},
"FunctionItem": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n
#automation
#workflow