77 lines
2.3 KiB
JSON
Executable File
77 lines
2.3 KiB
JSON
Executable File
{
|
|
"createdAt": "2022-04-24T18:04:57.508Z",
|
|
"updatedAt": "2022-04-24T18:04:57.508Z",
|
|
"id": 7,
|
|
"name": "Serve an HTML Page (via the 'Respond to Webhook' Node)",
|
|
"active": false,
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"name": "Start",
|
|
"type": "n8n-nodes-base.start",
|
|
"position": [
|
|
240,
|
|
450
|
|
],
|
|
"typeVersion": 1,
|
|
"id": "3081d35f-1dd7-49f2-bf7a-b73ff36ac83e"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"respondWith": "text",
|
|
"responseBody": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">\n\n <title>Hello, world!</title>\n </head>\n <body>\n <h1>Hello, world!</h1>\n\n <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p\" crossorigin=\"anonymous\"></script>\n </body>\n</html>\n",
|
|
"options": {
|
|
"responseHeaders": {
|
|
"entries": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "text/html; charset=UTF-8"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"name": "Respond to Webhook",
|
|
"type": "n8n-nodes-base.respondToWebhook",
|
|
"position": [
|
|
440,
|
|
300
|
|
],
|
|
"typeVersion": 1,
|
|
"id": "eb1dbd5c-fd77-4db2-90de-cd58918b9969"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"path": "my-form",
|
|
"responseMode": "responseNode",
|
|
"options": {}
|
|
},
|
|
"name": "Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"position": [
|
|
240,
|
|
300
|
|
],
|
|
"webhookId": "db437850-0e90-4eb7-b383-f8438ea1bd66",
|
|
"typeVersion": 1,
|
|
"id": "c27b090f-4278-4377-9fc1-751ce549c18d"
|
|
}
|
|
],
|
|
"connections": {
|
|
"Webhook": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Respond to Webhook",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"settings": {},
|
|
"staticData": null,
|
|
"pinData": null,
|
|
"tags": []
|
|
} |