first commit
This commit is contained in:
162
flows/1.json
Normal file
162
flows/1.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Bot to Get Weather Forecast (Telegram)",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"cityName": "chernihiv,ua",
|
||||
"language": "ru"
|
||||
},
|
||||
"name": "OpenWeatherMap",
|
||||
"type": "n8n-nodes-base.openWeatherMap",
|
||||
"position": [
|
||||
660,
|
||||
80
|
||||
],
|
||||
"typeVersion": 1,
|
||||
"credentials": {
|
||||
"openWeatherMapApi": {
|
||||
"id": "2",
|
||||
"name": "OpenWeatherMap account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "={{$node[\"Telegram_Trigger\"].json[\"message\"][\"chat\"][\"id\"]}}",
|
||||
"text": "=Прямо сейчас, у нас {{$node[\"OpenWeatherMap\"].json[\"weather\"][0][\"description\"]}}. Температура {{$node[\"OpenWeatherMap\"].json[\"main\"][\"temp\"]}}°C но на самом деле ощущается как {{$node[\"OpenWeatherMap\"].json[\"main\"][\"feels_like\"]}}°C 🙂",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"position": [
|
||||
900,
|
||||
80
|
||||
],
|
||||
"typeVersion": 1,
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "1",
|
||||
"name": "Che weather bot"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"updates": [
|
||||
"message"
|
||||
],
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram_Trigger",
|
||||
"type": "n8n-nodes-base.telegramTrigger",
|
||||
"position": [
|
||||
160,
|
||||
80
|
||||
],
|
||||
"typeVersion": 1,
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "1",
|
||||
"name": "Che weather bot"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"message\"][\"text\"]}}",
|
||||
"value2": "/weather"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
380,
|
||||
80
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "={{$node[\"Telegram_Trigger\"].json[\"message\"][\"chat\"][\"id\"]}}",
|
||||
"text": "=Я вас не понимаю :-)",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram1",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"position": [
|
||||
820,
|
||||
300
|
||||
],
|
||||
"typeVersion": 1,
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "1",
|
||||
"name": "Che weather bot"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"OpenWeatherMap": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Telegram_Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OpenWeatherMap",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Telegram1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-20T08:33:49.423Z",
|
||||
"updatedAt": "2022-04-25T09:35:39.296Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
171
flows/10.json
Normal file
171
flows/10.json
Normal file
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"id": 10,
|
||||
"name": "OpenData to Mattermost",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-200,
|
||||
340
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"channelId": "u8419oxttpbptfqxu9mhzumhwa",
|
||||
"message": "=Оприлюднити \"{{$json[\"subject\"]}}\" від {{$json[\"from\"]}}",
|
||||
"attachments": [
|
||||
{
|
||||
"title": "Відкриті дані",
|
||||
"color": "#F2FF00",
|
||||
"author_name": "={{$json[\"from\"]}}"
|
||||
}
|
||||
],
|
||||
"otherOptions": {}
|
||||
},
|
||||
"name": "Mattermost",
|
||||
"type": "n8n-nodes-base.mattermost",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
440,
|
||||
40
|
||||
],
|
||||
"credentials": {
|
||||
"mattermostApi": {
|
||||
"id": "11",
|
||||
"name": "Mattermost account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"postProcessAction": "nothing",
|
||||
"options": {}
|
||||
},
|
||||
"name": "IMAP Email",
|
||||
"type": "n8n-nodes-base.emailReadImap",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-200,
|
||||
60
|
||||
],
|
||||
"credentials": {
|
||||
"imap": {
|
||||
"id": "12",
|
||||
"name": "IMAP account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"to\"]}}",
|
||||
"operation": "contains",
|
||||
"value2": "data@chernigiv-rada.gov.ua"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
20,
|
||||
60
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fromEmail": "it@chernigiv-rada.gov.ua",
|
||||
"toEmail": "={{$json[\"from\"]}}",
|
||||
"subject": "=Відповідь на \"{{$json[\"subject\"]}}\"",
|
||||
"text": "=Ми отримали Ваш запит \"{{$json[\"subject\"]}}\"на публікацію відкритих даних на порталі https://data.gov.ua\nЗробимо все, що від нас залежить.\nВаші дані будуть відкриті як ніколи до цього",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Send Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
440,
|
||||
260
|
||||
],
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "18",
|
||||
"name": "SMTP account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAFPoYtoAAAAA==",
|
||||
"title": "=Открытые данные от {{$json[\"from\"]}}",
|
||||
"additionalFields": {
|
||||
"content": "={{$json[\"subject\"]}}",
|
||||
"dueDateTime": "={{$json[\"date\"]}}"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
440,
|
||||
440
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"IMAP Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mattermost",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Microsoft To Do",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Send Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-29T05:12:17.339Z",
|
||||
"updatedAt": "2022-05-26T08:54:33.774Z",
|
||||
"settings": {},
|
||||
"staticData": {
|
||||
"node:IMAP Email": {
|
||||
"lastMessageUid": 6240
|
||||
}
|
||||
}
|
||||
}
|
||||
1469
flows/11.json
Normal file
1469
flows/11.json
Normal file
File diff suppressed because it is too large
Load Diff
330
flows/13.json
Normal file
330
flows/13.json
Normal file
@@ -0,0 +1,330 @@
|
||||
{
|
||||
"id": 13,
|
||||
"name": "birthday",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-180,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"path": "ea62db5f-f87b-48cb-9b12-e6cf7810324b",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
840
|
||||
],
|
||||
"webhookId": "ea62db5f-f87b-48cb-9b12-e6cf7810324b",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"calendar": "addressbook%23contacts%40group.v.calendar.google.com",
|
||||
"returnAll": true,
|
||||
"options": {}
|
||||
},
|
||||
"name": "Google Calendar",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
120,
|
||||
540
|
||||
],
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "6",
|
||||
"name": "Google Calendar account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"dateTime": [
|
||||
{
|
||||
"value1": "={{$json[\"start\"][\"date\"]}}",
|
||||
"value2": "={{$today.minus({days: 1}).toFormat('yyyy-MM-dd').toString()}}"
|
||||
},
|
||||
{
|
||||
"value1": "={{$json[\"end\"][\"date\"]}}",
|
||||
"operation": "before",
|
||||
"value2": "={{$today.plus({days: 2}).toFormat('yyyy-MM-dd').toString()}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
360,
|
||||
540
|
||||
],
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"title": "={{$json[\"summary\"]}}",
|
||||
"body": "={{$json[\"description\"]}}"
|
||||
},
|
||||
"name": "Pushbullet",
|
||||
"type": "n8n-nodes-base.pushbullet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
420
|
||||
],
|
||||
"credentials": {
|
||||
"pushbulletOAuth2Api": {
|
||||
"id": "10",
|
||||
"name": "Pushbullet account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"title": "={{$json[\"description\"]}}",
|
||||
"additionalFields": {
|
||||
"dueDateTime": "={{DateTime.fromISO($json[\"start\"][\"date\"]).plus({days: 1}).toString()}}",
|
||||
"status": "inProgress"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
920,
|
||||
560
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 6,
|
||||
"minute": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-200,
|
||||
680
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"returnAll": true
|
||||
},
|
||||
"name": "Microsoft To Do1",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
140,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "delete",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"taskId": "={{$json[\"id\"]}}"
|
||||
},
|
||||
"name": "Microsoft To Do2",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
380,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"calendar": "addressbook%23contacts%40group.v.calendar.google.com",
|
||||
"returnAll": true,
|
||||
"options": {
|
||||
"timeMax": "={{$today.plus({days: 1}).toString()}}",
|
||||
"timeMin": "={{$today.toString()}}"
|
||||
}
|
||||
},
|
||||
"name": "Google Calendar1",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
120,
|
||||
320
|
||||
],
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "6",
|
||||
"name": "Google Calendar account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"title": "={{$json[\"summary\"]}}",
|
||||
"additionalFields": {
|
||||
"content": "={{$json[\"description\"]}}",
|
||||
"dueDateTime": "={{DateTime.fromISO($json[\"start\"][\"date\"]).plus({days: 1}).toString()}}",
|
||||
"status": "inProgress"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do3",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
280
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Google Calendar1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Calendar": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Microsoft To Do1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Google Calendar1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Calendar1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Pushbullet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do3": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-30T16:57:58.520Z",
|
||||
"updatedAt": "2022-05-22T16:42:59.203Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
457
flows/14.json
Normal file
457
flows/14.json
Normal file
@@ -0,0 +1,457 @@
|
||||
{
|
||||
"id": 14,
|
||||
"name": "avtmoto_cf",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-420,
|
||||
640
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "ea62db5f-f87b-48cb-9b12-e6cf7810324b",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-880,
|
||||
-40
|
||||
],
|
||||
"webhookId": "ea62db5f-f87b-48cb-9b12-e6cf7810324b"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=🔔*Нова заявка на навчання*🔔\nІм'я: {{$json[\"body\"][\"your-name\"]}}\nemail: {{$json[\"body\"][\"your-email\"]}}\nКонтактний номер: {{$json[\"body\"][\"your-phone\"]}}\nХочу навчатися за адресою: {{$json[\"body\"][\"your-class\"]}}\nДжерело інформації: {{$json[\"body\"][\"your-source\"]}}",
|
||||
"replyMarkup": "inlineKeyboard",
|
||||
"inlineKeyboard": {
|
||||
"rows": [
|
||||
{
|
||||
"row": {
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Опрацьовано",
|
||||
"additionalFields": {
|
||||
"callback_data": "=accept-{{$json[\"date\"]}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Спам",
|
||||
"additionalFields": {
|
||||
"callback_data": "reject"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"additionalFields": {
|
||||
"parse_mode": "Markdown"
|
||||
}
|
||||
},
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-100,
|
||||
160
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"updates": [
|
||||
"callback_query"
|
||||
],
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram Trigger",
|
||||
"type": "n8n-nodes-base.telegramTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-400,
|
||||
380
|
||||
],
|
||||
"webhookId": "d6c9273d-aa32-4a5e-942b-ad92d38d6ecd",
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"dataType": "string",
|
||||
"value1": "={{$json[\"callback_query\"][\"data\"]}}",
|
||||
"rules": {
|
||||
"rules": [
|
||||
{
|
||||
"operation": "contains",
|
||||
"value2": "accept"
|
||||
},
|
||||
{
|
||||
"value2": "reject",
|
||||
"output": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Switch",
|
||||
"type": "n8n-nodes-base.switch",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-140,
|
||||
380
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=Користувача зараховано",
|
||||
"additionalFields": {
|
||||
"parse_mode": "Markdown"
|
||||
}
|
||||
},
|
||||
"name": "Telegram1",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
800,
|
||||
420
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=Заявку скасовано",
|
||||
"additionalFields": {
|
||||
"parse_mode": "Markdown"
|
||||
}
|
||||
},
|
||||
"name": "Telegram2",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
220,
|
||||
440
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Registration",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "=name",
|
||||
"fieldValue": "=Ім'я: {{$json[\"body\"][\"your-name\"]}}\nemail: {{$json[\"body\"][\"your-email\"]}}\nКонтактний номер: {{$json[\"body\"][\"your-phone\"]}}\nХочу навчатися за адресою: {{$json[\"body\"][\"your-class\"]}}\nДжерело інформації: {{$json[\"body\"][\"your-source\"]}}\n\n{{$node[\"Webhook\"].paramet{{$node[\"Webhook\"].parameter[\"authentication\"]}}er[\"path\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
660
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "sendTemplate",
|
||||
"templateId": 3935065,
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Mailjet",
|
||||
"type": "n8n-nodes-base.mailjet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"mailjetEmailApi": {
|
||||
"id": "27",
|
||||
"name": "Mailjet Email account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Registration",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "name",
|
||||
"fieldValue": "={{$json[\"body\"][\"your-name\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "email",
|
||||
"fieldValue": "={{$json[\"body\"][\"your-email\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "phone",
|
||||
"fieldValue": "={{$json[\"body\"][\"your-phone\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "adress",
|
||||
"fieldValue": "={{$json[\"body\"][\"your-class\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "source",
|
||||
"fieldValue": "={{$json[\"body\"][\"your-source\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "id2",
|
||||
"fieldValue": "={{$json[\"date\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Записываем пользователя в таблицу",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-100,
|
||||
-40
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{$now.toString()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-620,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Registration",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"name": "ищем запись",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
220,
|
||||
260
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"id2\"]}}",
|
||||
"operation": "contains",
|
||||
"value2": "={{$node[\"Telegram Trigger\"].json[\"callback_query\"][\"data\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
420,
|
||||
260
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Registration",
|
||||
"rowId": "={{$json[\"id\"]}}",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "accepted",
|
||||
"fieldValue": "true"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Grist1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
200
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Telegram Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Switch",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Switch": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "ищем запись",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Telegram2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Записываем пользователя в таблицу": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mailjet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Записываем пользователя в таблицу",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"ищем запись": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-30T16:57:58.523Z",
|
||||
"updatedAt": "2022-05-23T13:54:25.915Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
43
flows/16.json
Normal file
43
flows/16.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": 16,
|
||||
"name": "My workflow 4",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "uptime",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
540,
|
||||
420
|
||||
],
|
||||
"webhookId": "fe1ad6ff-03f9-4df9-890a-ea8fd0335187"
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-02T18:38:18.372Z",
|
||||
"updatedAt": "2022-05-02T18:40:32.676Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
147
flows/17.json
Normal file
147
flows/17.json
Normal file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"id": 17,
|
||||
"name": "contacts",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"returnAll": true,
|
||||
"fields": [
|
||||
"names",
|
||||
"birthdays",
|
||||
"photos"
|
||||
],
|
||||
"options": {}
|
||||
},
|
||||
"name": "Google Contacts",
|
||||
"type": "n8n-nodes-base.googleContacts",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-100,
|
||||
160
|
||||
],
|
||||
"credentials": {
|
||||
"googleContactsOAuth2Api": {
|
||||
"id": "7",
|
||||
"name": "Google Contacts account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "jsGnk7aGiD47orkU3q4UqG",
|
||||
"tableId": "Google_contacts",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "first_name",
|
||||
"fieldValue": "={{$json[\"names\"][\"givenName\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "second_name",
|
||||
"fieldValue": "={{$json[\"names\"][\"familyName\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "birthday",
|
||||
"fieldValue": "={{$json[\"birthdays\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "photo",
|
||||
"fieldValue": "="
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
740,
|
||||
160
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"name": "Move Binary Data",
|
||||
"type": "n8n-nodes-base.moveBinaryData",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
460
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "={{$json[\"photos\"][0]}}",
|
||||
"responseFormat": "string",
|
||||
"dataPropertyName": "contacts_photo",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
180,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Google Contacts": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Move Binary Data": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-04T17:33:14.032Z",
|
||||
"updatedAt": "2022-05-04T18:13:02.125Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
207
flows/18.json
Normal file
207
flows/18.json
Normal file
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"id": 18,
|
||||
"name": "Alarms",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-280,
|
||||
340
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"authentication": "headerAuth",
|
||||
"url": "https://api.ukrainealarm.com/api/v3/regions",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
200,
|
||||
220
|
||||
],
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "22",
|
||||
"name": "Header Auth account 2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"authentication": "headerAuth",
|
||||
"url": "https://api.ukrainealarm.com/api/v3/alerts/1591",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request1",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
200,
|
||||
500
|
||||
],
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "22",
|
||||
"name": "Header Auth account 2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyX",
|
||||
"value": 10,
|
||||
"unit": "minutes"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
540
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"0\"][\"activeAlerts\"][0][\"type\"]}}",
|
||||
"operation": "isNotEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
420,
|
||||
500
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"title": "Тревога!",
|
||||
"body": "прячься"
|
||||
},
|
||||
"name": "Pushbullet",
|
||||
"type": "n8n-nodes-base.pushbullet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
720,
|
||||
500
|
||||
],
|
||||
"credentials": {
|
||||
"pushbulletOAuth2Api": {
|
||||
"id": "10",
|
||||
"name": "Pushbullet account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"authentication": "headerAuth",
|
||||
"url": "https://api.ukrainealarm.com/api/v3/alerts/16",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request2",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
200,
|
||||
640
|
||||
],
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "22",
|
||||
"name": "Header Auth account 2"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Pushbullet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-05T11:59:53.012Z",
|
||||
"updatedAt": "2022-05-13T05:57:08.235Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
136
flows/19.json
Normal file
136
flows/19.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"id": 19,
|
||||
"name": "facebook mesages",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "getAll",
|
||||
"additionalFields": {
|
||||
"labelIds": [
|
||||
"Label_6702928953786997882"
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
720,
|
||||
380
|
||||
],
|
||||
"alwaysOutputData": false,
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "23",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyX",
|
||||
"value": 5,
|
||||
"unit": "minutes"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
380
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=Повідомлення у Facebook:\n{{$json[\"text\"]}}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
380
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "delete",
|
||||
"messageId": "={{$json[\"id\"]}}"
|
||||
},
|
||||
"name": "Gmail1",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
160
|
||||
],
|
||||
"alwaysOutputData": true,
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "23",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Gmail": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Gmail1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-10T18:18:51.319Z",
|
||||
"updatedAt": "2022-05-25T06:26:10.630Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
205
flows/20.json
Normal file
205
flows/20.json
Normal file
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"id": 20,
|
||||
"name": "hosting",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
400,
|
||||
260
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE1-QrCgAAAA=="
|
||||
},
|
||||
"name": "Microsoft To Do",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
460
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 9,
|
||||
"minute": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
400,
|
||||
460
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"status\"]}}",
|
||||
"operation": "notEqual",
|
||||
"value2": "completed"
|
||||
}
|
||||
],
|
||||
"dateTime": [
|
||||
{
|
||||
"value1": "={{$json[\"dueDateTime\"][\"dateTime\"]}}",
|
||||
"operation": "before",
|
||||
"value2": "={{$today.plus({days: 1}).toString()}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
900,
|
||||
460
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "sendTemplate",
|
||||
"fromEmail": "nia@cynic.club",
|
||||
"toEmail": "Ihor.nahornyy@gmail.com ",
|
||||
"templateId": 3928678,
|
||||
"additionalFields": {
|
||||
"fromName": "DCXV",
|
||||
"templateLanguage": true
|
||||
},
|
||||
"variablesUi": {
|
||||
"variablesValues": [
|
||||
{
|
||||
"name": "server_name",
|
||||
"value": "={{$json[\"title\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "username",
|
||||
"value": "nahornyy"
|
||||
},
|
||||
{
|
||||
"name": "price",
|
||||
"value": "={{$json[\"body\"][\"content\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "days_gone",
|
||||
"value": "={{$json[\"days_to_dead\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Mailjet",
|
||||
"type": "n8n-nodes-base.mailjet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1360,
|
||||
460
|
||||
],
|
||||
"credentials": {
|
||||
"mailjetEmailApi": {
|
||||
"id": "27",
|
||||
"name": "Mailjet Email account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "deadline_date",
|
||||
"value": "={{$json[\"dueDateTime\"][\"dateTime\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "dead_date",
|
||||
"value": "={{DateTime.fromISO($json[\"dueDateTime\"][\"dateTime\"]).plus({days: 7}).toString()}}"
|
||||
},
|
||||
{
|
||||
"name": "days_to_dead",
|
||||
"value": "={{$today.diff(DateTime.fromISO($json[\"dueDateTime\"][\"dateTime\"]).plus({days: 7}), 'days').toObject().days.toString().substring(1, 2)}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1140,
|
||||
460
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Mailjet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-11T17:19:39.626Z",
|
||||
"updatedAt": "2022-05-12T12:21:56.637Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
72
flows/21.json
Normal file
72
flows/21.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"id": 21,
|
||||
"name": "Serve an HTML Page (via the 'Respond to Webhook' Node) 2",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"position": [
|
||||
240,
|
||||
450
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Respond to Webhook",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-14T16:35:40.524Z",
|
||||
"updatedAt": "2022-05-14T16:35:40.524Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
194
flows/22.json
Normal file
194
flows/22.json
Normal file
@@ -0,0 +1,194 @@
|
||||
{
|
||||
"id": 22,
|
||||
"name": "rss",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-160,
|
||||
740
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://rss.cynic.club/bridge/?action=display&bridge=Pikabu&community=hand_made&context=%D0%9F%D0%BE+%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D1%83&filter=hot&format=Mrss"
|
||||
},
|
||||
"name": "RSS Feed Read",
|
||||
"type": "n8n-nodes-base.rssFeedRead",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
140,
|
||||
560
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"categories\"]}}",
|
||||
"operation": "notRegex",
|
||||
"value2": "/бисер/i"
|
||||
},
|
||||
{
|
||||
"value1": "={{$json[\"categories\"]}}",
|
||||
"operation": "notRegex",
|
||||
"value2": "/аксессуары/i"
|
||||
},
|
||||
{
|
||||
"value1": "={{$json[\"categories\"]}}",
|
||||
"operation": "notRegex",
|
||||
"value2": "/игрушка/i"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
380,
|
||||
560
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://www.olx.ua/elektronika/igry-i-igrovye-pristavki/igry-dlya-pristavok/chernigov/rss/"
|
||||
},
|
||||
"name": "RSS Feed Read1",
|
||||
"type": "n8n-nodes-base.rssFeedRead",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
140,
|
||||
960
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"respondWith": "text",
|
||||
"responseBody": "={{$json[\"feed\"]}}",
|
||||
"options": {
|
||||
"responseHeaders": {
|
||||
"entries": [
|
||||
{
|
||||
"name": "content-type",
|
||||
"value": "application/xml"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Respond to Webhook1",
|
||||
"type": "n8n-nodes-base.respondToWebhook",
|
||||
"position": [
|
||||
1180,
|
||||
580
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"path": "pikabu",
|
||||
"responseMode": "responseNode",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Webhook1",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"position": [
|
||||
-140,
|
||||
580
|
||||
],
|
||||
"webhookId": "f1a20d18-72bb-4d4a-8bad-0f465f6029c9",
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"functionCode": "let feed =\n`<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<rss version=\"2.0\">\n\n<channel>\n <title>pikabu</title>\n <link>https://pikabu.ru</link>\n <description>Stay up to date with the latest changes and updates of Baserow</description>\n ${items.map(e => e.json.rss_item).join('\\n')}\n</channel>\n\n</rss>`;\n\nreturn [{\n json: {\n feed: feed\n }\n}];"
|
||||
},
|
||||
"name": "Prepare Response1",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
900,
|
||||
580
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"functionCode": "return {\n rss_item: \n`<item>\n <title>${item.title}</title>\n <link>${item.link}</link>\n <content>${item.content}</content>\n <pubDate>${item.isoDate}</pubDate>\n</item>`\n}"
|
||||
},
|
||||
"name": "Create RSS Items1",
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"position": [
|
||||
660,
|
||||
580
|
||||
],
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"RSS Feed Read": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create RSS Items1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Webhook1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "RSS Feed Read",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create RSS Items1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prepare Response1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prepare Response1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Respond to Webhook1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-15T05:24:23.872Z",
|
||||
"updatedAt": "2022-05-20T15:45:09.535Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
57
flows/23.json
Normal file
57
flows/23.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"id": 23,
|
||||
"name": "My workflow 5",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"list": "73d8916500",
|
||||
"events": [
|
||||
"subscribe"
|
||||
],
|
||||
"sources": [
|
||||
"user"
|
||||
]
|
||||
},
|
||||
"name": "Mailchimp Trigger",
|
||||
"type": "n8n-nodes-base.mailchimpTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"webhookId": "e03e9777-2e53-4486-98e0-0a11c242bbec",
|
||||
"credentials": {
|
||||
"mailchimpApi": {
|
||||
"id": "24",
|
||||
"name": "Mailchimp account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {},
|
||||
"createdAt": "2022-05-20T17:54:50.899Z",
|
||||
"updatedAt": "2022-05-20T17:55:02.874Z",
|
||||
"settings": {},
|
||||
"staticData": {
|
||||
"node:Mailchimp Trigger": {
|
||||
"webhookId": "7590ad13a7",
|
||||
"events": [
|
||||
"subscribe"
|
||||
],
|
||||
"sources": [
|
||||
"user"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
43
flows/24.json
Normal file
43
flows/24.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": 24,
|
||||
"name": "Liga Zakon",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"authentication": "oAuth2",
|
||||
"resource": "invoice",
|
||||
"accountId": 1608479,
|
||||
"filters": {}
|
||||
},
|
||||
"name": "Harvest",
|
||||
"type": "n8n-nodes-base.harvest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
600,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"harvestOAuth2Api": {
|
||||
"id": "28",
|
||||
"name": "Harvest account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {},
|
||||
"createdAt": "2022-05-22T08:17:34.993Z",
|
||||
"updatedAt": "2022-05-22T08:22:03.618Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
66
flows/25.json
Normal file
66
flows/25.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"id": 25,
|
||||
"name": "Error notification",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Error Trigger",
|
||||
"type": "n8n-nodes-base.errorTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
540,
|
||||
160
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"title": "=n8n error",
|
||||
"body": "=Your workflow with ID: {{$node[\"Error Trigger\"].json[\"workflow\"][\"id\"]}} and name: {{$node[\"Error Trigger\"].json[\"workflow\"][\"name\"]}} failed to execute."
|
||||
},
|
||||
"name": "Pushbullet",
|
||||
"type": "n8n-nodes-base.pushbullet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
760,
|
||||
160
|
||||
],
|
||||
"credentials": {
|
||||
"pushbulletOAuth2Api": {
|
||||
"id": "10",
|
||||
"name": "Pushbullet account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Error Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Pushbullet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-26T13:39:26.688Z",
|
||||
"updatedAt": "2022-05-26T13:40:28.863Z",
|
||||
"settings": {
|
||||
"saveExecutionProgress": "DEFAULT",
|
||||
"errorWorkflow": "25"
|
||||
},
|
||||
"staticData": null
|
||||
}
|
||||
257
flows/26.json
Normal file
257
flows/26.json
Normal file
@@ -0,0 +1,257 @@
|
||||
{
|
||||
"id": 26,
|
||||
"name": "Git backup of workflows and credentials",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"position": [
|
||||
200,
|
||||
620
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "npx n8n export:workflow --backup --output repo/workflows/"
|
||||
},
|
||||
"name": "Export Workflows",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
440,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "npx n8n export:credentials --backup --output repo/credentials/"
|
||||
},
|
||||
"name": "Export Credentials",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
590,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "git -C repo add ."
|
||||
},
|
||||
"name": "git add",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
740,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "=git -C repo commit -m \"Auto backup ({{ new Date().toISOString() }})\""
|
||||
},
|
||||
"name": "git commit",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
890,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "git -C repo push"
|
||||
},
|
||||
"name": "git push",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
1040,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 0
|
||||
},
|
||||
{
|
||||
"hour": 12
|
||||
},
|
||||
{
|
||||
"hour": 6
|
||||
},
|
||||
{
|
||||
"hour": 18
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"position": [
|
||||
200,
|
||||
400
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "npx n8n export:workflow --backup --output /home/node/.n8n/backup/flows/"
|
||||
},
|
||||
"name": "Export Workflows1",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
460,
|
||||
620
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "npx n8n export:credentials --backup --output /home/node/.n8n/backup/credentials/"
|
||||
},
|
||||
"name": "Export Credentials1",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
640,
|
||||
620
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "git add ."
|
||||
},
|
||||
"name": "git add1",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
1020,
|
||||
620
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"command": "cd /home/node/.n8n/backup/ "
|
||||
},
|
||||
"name": "git add2",
|
||||
"type": "n8n-nodes-base.executeCommand",
|
||||
"position": [
|
||||
840,
|
||||
620
|
||||
],
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Workflows1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Workflows1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"git add": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git commit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"git commit": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git push",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Workflows": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Credentials",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Credentials": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git add",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Workflows1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Export Credentials1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Export Credentials1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git add2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"git add2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "git add1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-26T17:20:27.486Z",
|
||||
"updatedAt": "2022-05-26T17:43:02.120Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
40
flows/5.json
Normal file
40
flows/5.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Create a post and update the post in WordPress",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
],
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://miniflux.cynic.club/bridge/?action=display&bridge=Facebook&context=User&u=https%3A%2F%2Fwww.facebook.com%2Fblohina.advokat%2F&media_type=all&limit=-1&format=Atom"
|
||||
},
|
||||
"name": "RSS Feed Read",
|
||||
"type": "n8n-nodes-base.rssFeedRead",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
100
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-21T05:22:24.738Z",
|
||||
"updatedAt": "2022-04-21T05:44:21.107Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
207
flows/6.json
Normal file
207
flows/6.json
Normal file
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Погода в Microsoft to do",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"cityName": "chernihiv,ua",
|
||||
"language": "ru"
|
||||
},
|
||||
"name": "OpenWeatherMap",
|
||||
"type": "n8n-nodes-base.openWeatherMap",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
540,
|
||||
380
|
||||
],
|
||||
"credentials": {
|
||||
"openWeatherMapApi": {
|
||||
"id": "2",
|
||||
"name": "OpenWeatherMap account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyHour"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
300,
|
||||
540
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE9x75IQAAAA==",
|
||||
"taskId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgBGAAADIyRvDrjkMkCmTApWtV1lbAcAodXeAPq8WUqqkl0jol24wwAE9x75IQAAAKHV3gD6vFlKqpJdI6JduMMABTfY0mUAAAA=",
|
||||
"updateFields": {
|
||||
"content": "=Температура {{$json[\"main\"][\"temp\"]}}, но ощущается {{$json[\"main\"][\"feels_like\"]}},\nа в квартире {{$json[\"state\"]}}",
|
||||
"dueDateTime": "={{$today.toString()}}",
|
||||
"status": "notStarted",
|
||||
"title": "=Прямо сейчас {{$json[\"weather\"][0][\"description\"]}}"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do1",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1220,
|
||||
240
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "state",
|
||||
"entityId": "sensor.lumi_lumi_weather_e9d0c902_temperature"
|
||||
},
|
||||
"name": "Home Assistant",
|
||||
"type": "n8n-nodes-base.homeAssistant",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
540,
|
||||
200
|
||||
],
|
||||
"credentials": {
|
||||
"homeAssistantApi": {
|
||||
"id": "5",
|
||||
"name": "ha.cynic.club"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "multiplex"
|
||||
},
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
980,
|
||||
240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "4mmygEDcPEhS3ZLXbZGLQL",
|
||||
"tableId": "Temperature",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "date",
|
||||
"fieldValue": "={{$now.toString()}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "living_room_temperature",
|
||||
"fieldValue": "={{$json[\"state\"]}}"
|
||||
},
|
||||
{
|
||||
"fieldId": "outdoor_temperaure",
|
||||
"fieldValue": "={{$json[\"main\"][\"temp\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1280,
|
||||
460
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"OpenWeatherMap": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OpenWeatherMap",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Home Assistant",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Home Assistant": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-24T08:26:47.162Z",
|
||||
"updatedAt": "2022-05-19T16:04:03.624Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
72
flows/7.json
Normal file
72
flows/7.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Respond to Webhook",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-24T18:04:57.508Z",
|
||||
"updatedAt": "2022-04-24T18:04:57.508Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
461
flows/9.json
Normal file
461
flows/9.json
Normal file
@@ -0,0 +1,461 @@
|
||||
{
|
||||
"id": 9,
|
||||
"name": "hotline",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
100,
|
||||
80
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://hotline.ua/computer-igrovye-pristavki/microsoft-xbox-series-x-1tb/",
|
||||
"responseFormat": "string",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
280,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "lowPrice",
|
||||
"cssSelector": "span.price__value",
|
||||
"returnArray": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTML Extract",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
460,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "lowPrice",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Item Lists",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "sort",
|
||||
"sortFieldsUi": {
|
||||
"sortField": [
|
||||
{
|
||||
"fieldName": "lowPrice"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Item Lists1",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
840,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"title": "hotline",
|
||||
"body": "=Цена на xbox на hotline: {{$node[\"lowest price\"].json[\"lowPrice\"]}} грн"
|
||||
},
|
||||
"name": "Pushbullet",
|
||||
"type": "n8n-nodes-base.pushbullet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1640,
|
||||
120
|
||||
],
|
||||
"credentials": {
|
||||
"pushbulletOAuth2Api": {
|
||||
"id": "10",
|
||||
"name": "Pushbullet account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"docId": "i36zpc5tp8GAXXUmyymCjS",
|
||||
"tableId": "Price",
|
||||
"rowId": "1",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "name",
|
||||
"fieldValue": "xbox series x"
|
||||
},
|
||||
{
|
||||
"fieldId": "price",
|
||||
"fieldValue": "={{$json[\"lowPrice\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1420,
|
||||
560
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "i36zpc5tp8GAXXUmyymCjS",
|
||||
"tableId": "Price",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"name": "Grist1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1240,
|
||||
140
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"amount": 3,
|
||||
"unit": "seconds"
|
||||
},
|
||||
"name": "Wait",
|
||||
"type": "n8n-nodes-base.wait",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1240,
|
||||
560
|
||||
],
|
||||
"webhookId": "da6c3363-3c70-462e-b913-87d2e8471af4"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"price\"]}}",
|
||||
"operation": "notEqual",
|
||||
"value2": "={{$node[\"lowest price\"].json[\"lowPrice\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1420,
|
||||
140
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "limit"
|
||||
},
|
||||
"name": "lowest price",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyHour"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
40,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://hotline.ua/computer-igrovye-pristavki/sony-playstation-5-825-gb/",
|
||||
"responseFormat": "string",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request1",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
280,
|
||||
620
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "lowPrice",
|
||||
"cssSelector": "span.price__value",
|
||||
"returnArray": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTML Extract1",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
460,
|
||||
620
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "lowPrice",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Item Lists2",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
620
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "sort",
|
||||
"sortFieldsUi": {
|
||||
"sortField": [
|
||||
{
|
||||
"fieldName": "lowPrice"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Item Lists3",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
840,
|
||||
620
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "limit"
|
||||
},
|
||||
"name": "lowest price1",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
620
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"HTTP Request": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "lowest price",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Wait": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"lowest price": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Wait",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Pushbullet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Item Lists3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Item Lists3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "lowest price1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-25T10:23:57.085Z",
|
||||
"updatedAt": "2022-05-19T06:41:04.206Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
Reference in New Issue
Block a user