2022-06-27 21:00:30 +00:00
|
|
|
{
|
2022-10-27 21:01:19 +00:00
|
|
|
"createdAt": "2022-06-27T07:09:37.336Z",
|
2023-01-05 22:00:37 +00:00
|
|
|
"updatedAt": "2023-01-05T18:00:10.626Z",
|
|
|
|
|
"id": "40",
|
2022-06-27 21:00:30 +00:00
|
|
|
"name": "uptime",
|
|
|
|
|
"active": true,
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"name": "Start",
|
|
|
|
|
"type": "n8n-nodes-base.start",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
240,
|
|
|
|
|
300
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "a403750e-58ae-4618-aac7-b8c113b9b33d"
|
2022-06-27 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"httpMethod": "POST",
|
|
|
|
|
"path": "uptime",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Webhook",
|
|
|
|
|
"type": "n8n-nodes-base.webhook",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
460,
|
|
|
|
|
300
|
|
|
|
|
],
|
2022-08-03 21:00:21 +00:00
|
|
|
"webhookId": "80250329-a910-427d-ba04-3008cd4f9f42",
|
|
|
|
|
"id": "ab261a81-5e4d-4821-8978-596eef54e3b7"
|
2022-06-27 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"keepOnlySet": true,
|
|
|
|
|
"values": {
|
|
|
|
|
"string": [
|
|
|
|
|
{
|
|
|
|
|
"name": "time",
|
|
|
|
|
"value": "={{$json[\"body\"][\"heartbeat\"][\"time\"]}}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "status",
|
|
|
|
|
"value": "={{$json[\"body\"][\"heartbeat\"][\"msg\"]}}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "name",
|
|
|
|
|
"value": "={{$json[\"body\"][\"monitor\"][\"name\"]}}"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"number": [
|
|
|
|
|
{
|
|
|
|
|
"name": "duration",
|
|
|
|
|
"value": "={{$json[\"body\"][\"heartbeat\"][\"duration\"]}}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
|
|
|
|
"name": "Set",
|
|
|
|
|
"type": "n8n-nodes-base.set",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
680,
|
|
|
|
|
300
|
2022-08-03 21:00:21 +00:00
|
|
|
],
|
|
|
|
|
"id": "31b596ec-09f5-46ea-828f-7bb499c86d70"
|
2022-06-27 21:00:30 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"operation": "create",
|
|
|
|
|
"docId": "4jnAms4LS4ZWzrGWvRZC1w",
|
|
|
|
|
"tableId": "Records",
|
|
|
|
|
"dataToSend": "autoMapInputs"
|
|
|
|
|
},
|
|
|
|
|
"name": "Grist",
|
|
|
|
|
"type": "n8n-nodes-base.grist",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
900,
|
|
|
|
|
300
|
|
|
|
|
],
|
|
|
|
|
"credentials": {
|
|
|
|
|
"gristApi": {
|
|
|
|
|
"id": "21",
|
|
|
|
|
"name": "Grist account"
|
|
|
|
|
}
|
2022-08-03 21:00:21 +00:00
|
|
|
},
|
|
|
|
|
"id": "3c4944c1-c5d0-492d-b1c4-00f6d178038a"
|
2022-06-27 21:00:30 +00:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"connections": {
|
|
|
|
|
"Webhook": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Set",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Set": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Grist",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"settings": {},
|
|
|
|
|
"staticData": null,
|
2022-07-20 21:00:15 +00:00
|
|
|
"pinData": null,
|
2022-12-07 22:01:07 +00:00
|
|
|
"versionId": "04a5dbd8-9d82-4069-b211-cd9913412a90",
|
2022-12-21 22:01:02 +00:00
|
|
|
"triggerCount": 1,
|
2022-12-07 22:01:07 +00:00
|
|
|
"tags": []
|
2022-06-27 21:00:30 +00:00
|
|
|
}
|