Files
n8n-enterprise-unlocked/packages/testing/playwright/workflows/simple-webhook-test.json
2025-08-18 12:41:13 +01:00

68 lines
1.2 KiB
JSON

{
"name": "Simple Webhook Test",
"active": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "test-webhook",
"options": {}
},
"id": "webhook-trigger",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [300, 300],
"webhookId": "test-webhook-id"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "result-field",
"name": "result",
"value": "=Webhook received: {{ $json.body }}",
"type": "string"
},
{
"id": "timestamp-field",
"name": "timestamp",
"value": "={{ new Date().toISOString() }}",
"type": "string"
}
]
},
"options": {}
},
"id": "set-response",
"name": "Set Response",
"type": "n8n-nodes-base.set",
"typeVersion": 3.3,
"position": [500, 300]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Set Response",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": null,
"pinData": {},
"versionId": null,
"triggerCount": 0,
"tags": []
}