Add scraper-service (trigger-request).json
This commit is contained in:
212
scraper-service (trigger-request).json
Normal file
212
scraper-service (trigger-request).json
Normal file
@@ -0,0 +1,212 @@
|
|||||||
|
{
|
||||||
|
"updatedAt": "2026-07-25T06:54:23.015Z",
|
||||||
|
"createdAt": "2026-07-25T04:36:10.661Z",
|
||||||
|
"id": "EEmEJJ3PHsDZnoWZ",
|
||||||
|
"name": "scraper-service (trigger-request)",
|
||||||
|
"active": true,
|
||||||
|
"isArchived": false,
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"rule": {
|
||||||
|
"interval": [
|
||||||
|
{
|
||||||
|
"field": "hours",
|
||||||
|
"hoursInterval": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.scheduleTrigger",
|
||||||
|
"typeVersion": 1.3,
|
||||||
|
"position": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "1d06f65b-6551-4c2a-82cf-0c2e91c78869",
|
||||||
|
"name": "Schedule Trigger"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"amount": "={{ Math.floor(Math.random() * 45) }}",
|
||||||
|
"unit": "minutes"
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.wait",
|
||||||
|
"typeVersion": 1.1,
|
||||||
|
"position": [
|
||||||
|
208,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "c992a25b-d54c-4c5e-aa8b-62a628265f18",
|
||||||
|
"name": "Wait",
|
||||||
|
"webhookId": "13fc5f08-ac7d-4f2a-a8c8-593d522ef67c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"method": "POST",
|
||||||
|
"url": "http://192.168.178.133:3000/scrape",
|
||||||
|
"sendBody": true,
|
||||||
|
"specifyBody": "json",
|
||||||
|
"jsonBody": "={\n \"url\": \"https://www.booking.com/hotel/in/abad-whispering-palms.de.html?aid=202008&label=mkt123sc-ecdf92d0-f4b4-4926-a3ac-e5a355ea1b77&ucfs=1&arphpl=1&checkin=2026-12-19&checkout=2026-12-24&group_adults=5&req_adults=5&no_rooms=2&adplat=www-homescreen-recently_viewed_carousel-stays-n_a-n_a\",\n \"webhookUrl\": \"{{ 'https://n8n.prinz-pilaw.de/webhook/booking-result'.replace('/webhook/', $execution.mode === 'manual' ? '/webhook-test/' : '/webhook/') }}\"\n}",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
|
"typeVersion": 4.4,
|
||||||
|
"position": [
|
||||||
|
416,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "2540fb0f-0242-4d52-9720-ac5ae20194fb",
|
||||||
|
"name": "HTTP Request"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"connections": {
|
||||||
|
"Schedule Trigger": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "Wait",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Wait": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "HTTP Request",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"HTTP Request": {
|
||||||
|
"main": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"executionOrder": "v1",
|
||||||
|
"binaryMode": "separate"
|
||||||
|
},
|
||||||
|
"staticData": {
|
||||||
|
"node:Schedule Trigger": {
|
||||||
|
"recurrenceRules": [
|
||||||
|
21
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"meta": null,
|
||||||
|
"pinData": {},
|
||||||
|
"versionId": "643064ec-d07c-477a-8fe6-789a8349c7d7",
|
||||||
|
"activeVersionId": "643064ec-d07c-477a-8fe6-789a8349c7d7",
|
||||||
|
"triggerCount": 1,
|
||||||
|
"shared": [
|
||||||
|
{
|
||||||
|
"updatedAt": "2026-07-25T04:36:10.665Z",
|
||||||
|
"createdAt": "2026-07-25T04:36:10.665Z",
|
||||||
|
"role": "workflow:owner",
|
||||||
|
"workflowId": "EEmEJJ3PHsDZnoWZ",
|
||||||
|
"projectId": "cSAaWNJydnksD5EB"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"activeVersion": {
|
||||||
|
"updatedAt": "2026-07-25T06:54:24.000Z",
|
||||||
|
"createdAt": "2026-07-25T06:54:20.604Z",
|
||||||
|
"versionId": "643064ec-d07c-477a-8fe6-789a8349c7d7",
|
||||||
|
"workflowId": "EEmEJJ3PHsDZnoWZ",
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"rule": {
|
||||||
|
"interval": [
|
||||||
|
{
|
||||||
|
"field": "hours",
|
||||||
|
"hoursInterval": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.scheduleTrigger",
|
||||||
|
"typeVersion": 1.3,
|
||||||
|
"position": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "1d06f65b-6551-4c2a-82cf-0c2e91c78869",
|
||||||
|
"name": "Schedule Trigger"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"amount": "={{ Math.floor(Math.random() * 45) }}",
|
||||||
|
"unit": "minutes"
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.wait",
|
||||||
|
"typeVersion": 1.1,
|
||||||
|
"position": [
|
||||||
|
208,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "c992a25b-d54c-4c5e-aa8b-62a628265f18",
|
||||||
|
"name": "Wait",
|
||||||
|
"webhookId": "13fc5f08-ac7d-4f2a-a8c8-593d522ef67c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"method": "POST",
|
||||||
|
"url": "http://192.168.178.133:3000/scrape",
|
||||||
|
"sendBody": true,
|
||||||
|
"specifyBody": "json",
|
||||||
|
"jsonBody": "={\n \"url\": \"https://www.booking.com/hotel/in/abad-whispering-palms.de.html?aid=202008&label=mkt123sc-ecdf92d0-f4b4-4926-a3ac-e5a355ea1b77&ucfs=1&arphpl=1&checkin=2026-12-19&checkout=2026-12-24&group_adults=5&req_adults=5&no_rooms=2&adplat=www-homescreen-recently_viewed_carousel-stays-n_a-n_a\",\n \"webhookUrl\": \"{{ 'https://n8n.prinz-pilaw.de/webhook/booking-result'.replace('/webhook/', $execution.mode === 'manual' ? '/webhook-test/' : '/webhook/') }}\"\n}",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
|
"typeVersion": 4.4,
|
||||||
|
"position": [
|
||||||
|
416,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"id": "2540fb0f-0242-4d52-9720-ac5ae20194fb",
|
||||||
|
"name": "HTTP Request"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"connections": {
|
||||||
|
"Schedule Trigger": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "Wait",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Wait": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "HTTP Request",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"HTTP Request": {
|
||||||
|
"main": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"authors": "Prasanna Ranjan",
|
||||||
|
"name": "Version 643064ec",
|
||||||
|
"description": "",
|
||||||
|
"autosaved": true
|
||||||
|
},
|
||||||
|
"tags": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user