From 6947901454f1fff8006f7464bd282e0ee71c02e7 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 26 May 2022 20:57:30 +0300 Subject: [PATCH] first commit --- credentials/1.json | 18 + credentials/10.json | 14 + credentials/11.json | 14 + credentials/12.json | 14 + credentials/13.json | 14 + credentials/14.json | 14 + credentials/15.json | 18 + credentials/17.json | 14 + credentials/18.json | 14 + credentials/19.json | 14 + credentials/2.json | 14 + credentials/20.json | 18 + credentials/21.json | 14 + credentials/22.json | 26 + credentials/23.json | 14 + credentials/24.json | 18 + credentials/25.json | 14 + credentials/26.json | 14 + credentials/27.json | 18 + credentials/28.json | 14 + credentials/29.json | 14 + credentials/3.json | 14 + credentials/4.json | 14 + credentials/5.json | 14 + credentials/6.json | 18 + credentials/7.json | 14 + credentials/8.json | 18 + credentials/9.json | 26 + flows/1.json | 162 +++++ flows/10.json | 171 +++++ flows/11.json | 1469 +++++++++++++++++++++++++++++++++++++++++++ flows/13.json | 330 ++++++++++ flows/14.json | 457 ++++++++++++++ flows/16.json | 43 ++ flows/17.json | 147 +++++ flows/18.json | 207 ++++++ flows/19.json | 136 ++++ flows/20.json | 205 ++++++ flows/21.json | 72 +++ flows/22.json | 194 ++++++ flows/23.json | 57 ++ flows/24.json | 43 ++ flows/25.json | 66 ++ flows/26.json | 257 ++++++++ flows/5.json | 40 ++ flows/6.json | 207 ++++++ flows/7.json | 72 +++ flows/9.json | 461 ++++++++++++++ 48 files changed, 5240 insertions(+) create mode 100644 credentials/1.json create mode 100644 credentials/10.json create mode 100644 credentials/11.json create mode 100644 credentials/12.json create mode 100644 credentials/13.json create mode 100644 credentials/14.json create mode 100644 credentials/15.json create mode 100644 credentials/17.json create mode 100644 credentials/18.json create mode 100644 credentials/19.json create mode 100644 credentials/2.json create mode 100644 credentials/20.json create mode 100644 credentials/21.json create mode 100644 credentials/22.json create mode 100644 credentials/23.json create mode 100644 credentials/24.json create mode 100644 credentials/25.json create mode 100644 credentials/26.json create mode 100644 credentials/27.json create mode 100644 credentials/28.json create mode 100644 credentials/29.json create mode 100644 credentials/3.json create mode 100644 credentials/4.json create mode 100644 credentials/5.json create mode 100644 credentials/6.json create mode 100644 credentials/7.json create mode 100644 credentials/8.json create mode 100644 credentials/9.json create mode 100644 flows/1.json create mode 100644 flows/10.json create mode 100644 flows/11.json create mode 100644 flows/13.json create mode 100644 flows/14.json create mode 100644 flows/16.json create mode 100644 flows/17.json create mode 100644 flows/18.json create mode 100644 flows/19.json create mode 100644 flows/20.json create mode 100644 flows/21.json create mode 100644 flows/22.json create mode 100644 flows/23.json create mode 100644 flows/24.json create mode 100644 flows/25.json create mode 100644 flows/26.json create mode 100644 flows/5.json create mode 100644 flows/6.json create mode 100644 flows/7.json create mode 100644 flows/9.json diff --git a/credentials/1.json b/credentials/1.json new file mode 100644 index 0000000..2b08972 --- /dev/null +++ b/credentials/1.json @@ -0,0 +1,18 @@ +{ + "id": 1, + "name": "Che weather bot", + "data": "U2FsdGVkX1+tCkx5gc/XsW3gbrOtPRvt8fSnT3pTKF8R86EklkmoarNoZZw+rV5fCstmstJBTgGwO/mxV9Riw40n2NU+y1LbPusuOrugKNAGanaJIJ5P9arbUEbt2KvU", + "type": "telegramApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.telegram", + "date": "2022-04-20T08:32:28.017Z" + }, + { + "nodeType": "n8n-nodes-base.telegramTrigger", + "date": "2022-04-20T08:32:28.017Z" + } + ], + "createdAt": "2022-04-20T08:32:28.035Z", + "updatedAt": "2022-04-20T12:54:33.774Z" +} \ No newline at end of file diff --git a/credentials/10.json b/credentials/10.json new file mode 100644 index 0000000..898b7c1 --- /dev/null +++ b/credentials/10.json @@ -0,0 +1,14 @@ +{ + "id": 10, + "name": "Pushbullet account", + "data": "U2FsdGVkX1+Q8eR7uSdtcdfbbjct5m4T0R01ydxytoR2dJh+77NNGxHa5tH2Jl0a+rQn81a1ImgTGTiapJHJN4EEacdQfKhNIHPRUKne+xcZyXuMq4SEp5PfHGrjWpdGiUqUg2uEIA4tZxstRZpeMUU+QLPchr8rfp9zJpzZnAVkE5w1Lq8qWlU4XM9a41P1IRaO8F/2jEN2uP9W6kTNejsZRk8eKkjXdeQ5XXD1/lGgGa9o9A/1F0yThmobtoHSYF1DypoXfXKuqM2uEqojdQ==", + "type": "pushbulletOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.pushbullet", + "date": "2022-04-25T11:13:47.937Z" + } + ], + "createdAt": "2022-04-25T11:13:47.944Z", + "updatedAt": "2022-04-25T11:13:51.337Z" +} \ No newline at end of file diff --git a/credentials/11.json b/credentials/11.json new file mode 100644 index 0000000..89325b4 --- /dev/null +++ b/credentials/11.json @@ -0,0 +1,14 @@ +{ + "id": 11, + "name": "Mattermost account", + "data": "U2FsdGVkX19jyyiSnWf+iiOM5unxHrVGxR7+lm6XNgWex1yWMQPkyD6LwwggiGrWGJfYpwxyhDR/d2Ihyj9Vhwclp//YzdIDgOuAlvBcREQwjoiW59VYUYQkt2bl1o8RXRY3S0y1qfQAIZqZM+Fapp1zTd+9qlSNDa6w64zRLIc=", + "type": "mattermostApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.mattermost", + "date": "2022-04-28T11:54:26.929Z" + } + ], + "createdAt": "2022-04-28T11:54:26.942Z", + "updatedAt": "2022-04-28T11:57:43.400Z" +} \ No newline at end of file diff --git a/credentials/12.json b/credentials/12.json new file mode 100644 index 0000000..af3e23b --- /dev/null +++ b/credentials/12.json @@ -0,0 +1,14 @@ +{ + "id": 12, + "name": "IMAP account", + "data": "U2FsdGVkX1/rndNsJFQigtQhu7hgBsxC/PtGseoaVAwRKIvtSjI4AsQxQCtJ3tOJVoZstfS6J94hi9fCG3brLpkDGuIoDOcY3gVBCF+R2rpB3toI0DdstQA8Q+UP+80wU9xDBkGnU2VX4H7JUd59jHcOgSzshaBQgh56DLTV8l0=", + "type": "imap", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.emailReadImap", + "date": "2022-04-29T05:14:02.622Z" + } + ], + "createdAt": "2022-04-29T05:14:02.631Z", + "updatedAt": "2022-04-29T06:06:59.276Z" +} \ No newline at end of file diff --git a/credentials/13.json b/credentials/13.json new file mode 100644 index 0000000..01edf45 --- /dev/null +++ b/credentials/13.json @@ -0,0 +1,14 @@ +{ + "id": 13, + "name": "avtomoto", + "data": "U2FsdGVkX1/LoMcuY+eF4ltK3hphe+u8J/ZafUWMHy5vX4X/DCbvKgHPU1YbAFpkIsFwDAmLsle05QD4G3gqWv5O7CTJ0AOyLJhJ/oFRaV13tagoBl3HbfGJfHfcGbML0FABWH0qqpF1F1uYCtRyEw==", + "type": "wordpressApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.wordpress", + "date": "2022-04-29T11:39:49.621Z" + } + ], + "createdAt": "2022-04-29T11:39:49.630Z", + "updatedAt": "2022-04-29T11:39:49.630Z" +} \ No newline at end of file diff --git a/credentials/14.json b/credentials/14.json new file mode 100644 index 0000000..d04a457 --- /dev/null +++ b/credentials/14.json @@ -0,0 +1,14 @@ +{ + "id": 14, + "name": "SSH Password account", + "data": "U2FsdGVkX1+gxUZD2yaXN/U4SVPCvE3YwEcE2FJEBpfQDBx2stUd9vxJvGabYAGvIhNYSDX9uracBg8yf3ktTA+2brf32mxwI86CZJGeA6VBvVcXngWM6zcRBr2DjjqQ", + "type": "sshPassword", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.ssh", + "date": "2022-04-29T18:46:36.025Z" + } + ], + "createdAt": "2022-04-29T18:46:36.034Z", + "updatedAt": "2022-04-29T18:46:36.034Z" +} \ No newline at end of file diff --git a/credentials/15.json b/credentials/15.json new file mode 100644 index 0000000..e5677e9 --- /dev/null +++ b/credentials/15.json @@ -0,0 +1,18 @@ +{ + "id": 15, + "name": "avtomoto25", + "data": "U2FsdGVkX18QexAoPx3rfKie6Gzy80ZRQlMVkkvMOChduOybxqIzqLynYZp9VpnNMdhDi7vWeihRv1QTZc/k3AL+gQ+iz0K+/Q3Tp5BYiqERZvPlknyNUO4gKapiCgvg", + "type": "telegramApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.telegramTrigger", + "date": "2022-05-01T05:21:56.815Z" + }, + { + "nodeType": "n8n-nodes-base.telegram", + "date": "2022-05-01T05:21:56.815Z" + } + ], + "createdAt": "2022-05-01T05:21:56.824Z", + "updatedAt": "2022-05-01T05:21:56.824Z" +} \ No newline at end of file diff --git a/credentials/17.json b/credentials/17.json new file mode 100644 index 0000000..34c3ca7 --- /dev/null +++ b/credentials/17.json @@ -0,0 +1,14 @@ +{ + "id": 17, + "name": "Uptime Robot account", + "data": "U2FsdGVkX1/u8JNV4j24OG5Ldn9jOcGhAkxMo/k7pmgJSd1O6egCPS29VFWZTA95r6XhpT6cVmH8BPHGb1vUjA==", + "type": "uptimeRobotApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.uptimeRobot", + "date": "2022-05-02T18:32:30.988Z" + } + ], + "createdAt": "2022-05-02T18:32:30.998Z", + "updatedAt": "2022-05-02T18:32:30.998Z" +} \ No newline at end of file diff --git a/credentials/18.json b/credentials/18.json new file mode 100644 index 0000000..b05d76d --- /dev/null +++ b/credentials/18.json @@ -0,0 +1,14 @@ +{ + "id": 18, + "name": "SMTP account", + "data": "U2FsdGVkX1+9da0JXiiYjnfQg1qWoqrQ4BkOct2bpTCJlejhFixvrpqIP/cTroSRmXNPRPhaRTzgI/oQbOMFy2w38r9JUK1LNcLik63zOosEwjbqi9Lk+r5Qp+yH8tOfPXnNi/f1FDb6kvz8IeD3XtfrKK8Z552pVD/XNGx4qoo=", + "type": "smtp", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.emailSend", + "date": "2022-05-03T05:44:16.359Z" + } + ], + "createdAt": "2022-05-03T05:44:16.377Z", + "updatedAt": "2022-05-03T06:46:57.345Z" +} \ No newline at end of file diff --git a/credentials/19.json b/credentials/19.json new file mode 100644 index 0000000..4792839 --- /dev/null +++ b/credentials/19.json @@ -0,0 +1,14 @@ +{ + "id": 19, + "name": "mail.cynic.club", + "data": "U2FsdGVkX19b/LoiD8FpFP8K5j6rb6IGW0xgN+b7rn7xvW2FyxYPrCyhlwBI3G7P0zMBozW23dZoF+PrJ44NPJVN/iEfaGr2CN2s55MGiFiLWY5rYu+ihJ6XABHuOOHG", + "type": "smtp", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.emailSend", + "date": "2022-05-03T06:01:09.993Z" + } + ], + "createdAt": "2022-05-03T06:01:10.011Z", + "updatedAt": "2022-05-03T06:01:10.011Z" +} \ No newline at end of file diff --git a/credentials/2.json b/credentials/2.json new file mode 100644 index 0000000..f00e74e --- /dev/null +++ b/credentials/2.json @@ -0,0 +1,14 @@ +{ + "id": 2, + "name": "OpenWeatherMap account", + "data": "U2FsdGVkX18OeaDc2Mt0YBeVJLPtezvrQAYzMxbalWw/P0hoU0LCKLX7VysFQNup4WAk/MCfbYlad7DoPb59MGZ0gHUZJCKsFIJxpflP2FY=", + "type": "openWeatherMapApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.openWeatherMap", + "date": "2022-04-20T08:35:36.884Z" + } + ], + "createdAt": "2022-04-20T08:35:36.890Z", + "updatedAt": "2022-04-20T08:35:36.890Z" +} \ No newline at end of file diff --git a/credentials/20.json b/credentials/20.json new file mode 100644 index 0000000..17f0f90 --- /dev/null +++ b/credentials/20.json @@ -0,0 +1,18 @@ +{ + "id": 20, + "name": "Airtable account", + "data": "U2FsdGVkX18BEgHXlWnEF2D+L28HbK62ZNO9k1DkeaN0lv5iFm/4hJNzfZtKe4bN", + "type": "airtableApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.airtableTrigger", + "date": "2022-05-03T19:27:43.784Z" + }, + { + "nodeType": "n8n-nodes-base.airtable", + "date": "2022-05-03T19:27:43.784Z" + } + ], + "createdAt": "2022-05-03T19:27:43.806Z", + "updatedAt": "2022-05-03T19:27:43.806Z" +} \ No newline at end of file diff --git a/credentials/21.json b/credentials/21.json new file mode 100644 index 0000000..1f4ce62 --- /dev/null +++ b/credentials/21.json @@ -0,0 +1,14 @@ +{ + "id": 21, + "name": "Grist account", + "data": "U2FsdGVkX1+OTYpAtxyNz51PX7/3DqEVmLLFWCTUSjlJbLZv4yjARIONgAh298Yk9q8XjMcVchrpkRqxUUtCgqagMHDaidHPF3slopE8bh1eKrMdbPanbD3tui5ukL828SnOyIW7jsGI+DUZ6hO9SpStqozXeRselHMdnbTe7K1LJio0z0h85Hp8qlJpjz2C", + "type": "gristApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.grist", + "date": "2022-05-04T11:26:10.316Z" + } + ], + "createdAt": "2022-05-04T11:26:10.327Z", + "updatedAt": "2022-05-04T11:26:10.327Z" +} \ No newline at end of file diff --git a/credentials/22.json b/credentials/22.json new file mode 100644 index 0000000..f28d4dc --- /dev/null +++ b/credentials/22.json @@ -0,0 +1,26 @@ +{ + "id": 22, + "name": "Header Auth account 2", + "data": "U2FsdGVkX1++++z5TkV0+J/aezwPlDd3moSBYBj4OX8M6EF5+f41IEiTIOb93/CRV4U89G6Hbp62ZKtGdKASn4YNV460K3IEpinrho8UVRseaypvjca0zzHQ3h+AaR2Z", + "type": "httpHeaderAuth", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.graphql", + "date": "2022-05-05T11:59:43.419Z" + }, + { + "nodeType": "n8n-nodes-base.wait", + "date": "2022-05-05T11:59:43.419Z" + }, + { + "nodeType": "n8n-nodes-base.httpRequest", + "date": "2022-05-05T11:59:43.419Z" + }, + { + "nodeType": "n8n-nodes-base.webhook", + "date": "2022-05-05T11:59:43.419Z" + } + ], + "createdAt": "2022-05-05T11:59:43.429Z", + "updatedAt": "2022-05-05T11:59:43.429Z" +} \ No newline at end of file diff --git a/credentials/23.json b/credentials/23.json new file mode 100644 index 0000000..e99bebf --- /dev/null +++ b/credentials/23.json @@ -0,0 +1,14 @@ +{ + "id": 23, + "name": "Gmail account", + "data": "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", + "type": "gmailOAuth2", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.gmail", + "date": "2022-05-10T18:14:22.502Z" + } + ], + "createdAt": "2022-05-10T18:14:22.523Z", + "updatedAt": "2022-05-26T17:05:50.451Z" +} \ No newline at end of file diff --git a/credentials/24.json b/credentials/24.json new file mode 100644 index 0000000..ef553ba --- /dev/null +++ b/credentials/24.json @@ -0,0 +1,18 @@ +{ + "id": 24, + "name": "Mailchimp account", + "data": "U2FsdGVkX19cZBg8lJFphHvgnryQc6aiWzyHXIA7A1O7otRU66CEjymiD7Kf9To28UxTDoU7FdVlwEzYFaFoLcX/T2wuncYEsc+Ji608nXU=", + "type": "mailchimpApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.mailchimpTrigger", + "date": "2022-05-11T17:07:33.536Z" + }, + { + "nodeType": "n8n-nodes-base.mailchimp", + "date": "2022-05-11T17:07:33.536Z" + } + ], + "createdAt": "2022-05-11T17:07:33.550Z", + "updatedAt": "2022-05-11T17:07:33.550Z" +} \ No newline at end of file diff --git a/credentials/25.json b/credentials/25.json new file mode 100644 index 0000000..4f1b067 --- /dev/null +++ b/credentials/25.json @@ -0,0 +1,14 @@ +{ + "id": 25, + "name": "pet-eu.com", + "data": "U2FsdGVkX18zyY8Aj8vGLIEeXGmD6Khh399KYQaZlF9qr2Q29hS5BYd2jzIpqXzwL1WD2ux8fgA7fpD24pFJT8XkaKxhR+yFWdKqjcXB9rvv2ypg24yXjIEd7i1gwTMc7D9uWaxmQfUOmRUW5TPqZw==", + "type": "smtp", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.emailSend", + "date": "2022-05-11T17:15:47.355Z" + } + ], + "createdAt": "2022-05-11T17:15:47.363Z", + "updatedAt": "2022-05-11T17:16:03.856Z" +} \ No newline at end of file diff --git a/credentials/26.json b/credentials/26.json new file mode 100644 index 0000000..dd3c33b --- /dev/null +++ b/credentials/26.json @@ -0,0 +1,14 @@ +{ + "id": 26, + "name": "Mailgun account", + "data": "U2FsdGVkX1845nDrkVknzG97jHWfbBZCsVwerzN9vNsQcctBIDQF3ifDbOkDNK46ZaftwC/CTjg1g1Xr8BwpwmHGZS0xJcUG1We5VZFWm4FhKKiZt+PQchEPSAUzqzXRhdBabDugGm28kCZCEq92NU9tSaSB9rDhrONkLQk9ej18SbA/f5gX9E16W3qmnegH+KprmCUS67+1G9aexJZlPw==", + "type": "mailgunApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.mailgun", + "date": "2022-05-11T17:43:00.368Z" + } + ], + "createdAt": "2022-05-11T17:43:00.377Z", + "updatedAt": "2022-05-11T17:43:00.377Z" +} \ No newline at end of file diff --git a/credentials/27.json b/credentials/27.json new file mode 100644 index 0000000..e1cb00b --- /dev/null +++ b/credentials/27.json @@ -0,0 +1,18 @@ +{ + "id": 27, + "name": "Mailjet Email account", + "data": "U2FsdGVkX1+c7hiP5Ej/O7fDsOr94vPuxMBfhx+fQKA8OqaNg9Lho/Tk7FyFIa6w0A98Rut+URV3pBBgKiP/KForsNvu5yfn4FpmL2XsAqpE56nEmtqXImM29Bxa4yHVE2lA8sGtWUAaZAoBTDNiKA==", + "type": "mailjetEmailApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.mailjetTrigger", + "date": "2022-05-11T20:50:58.577Z" + }, + { + "nodeType": "n8n-nodes-base.mailjet", + "date": "2022-05-11T20:50:58.577Z" + } + ], + "createdAt": "2022-05-11T20:50:58.587Z", + "updatedAt": "2022-05-11T20:50:58.587Z" +} \ No newline at end of file diff --git a/credentials/28.json b/credentials/28.json new file mode 100644 index 0000000..4dc52ea --- /dev/null +++ b/credentials/28.json @@ -0,0 +1,14 @@ +{ + "id": 28, + "name": "Harvest account", + "data": "U2FsdGVkX19jWWcRY/1R0vBrQzJN9oy9guKlSfpPEh/yoXdftVFICxcOShystf3W9G6qYRQ7Kz0YbuDpKhq4Ntwos+3v5kMecEQZgPSQb7kLvtKEg2VdvQxNoBXqV1oN5q8kpm6KLTKCx4jXZtfm3bGFp0iIRSFyrAPB6keZ6wilORCoo5BwgOj7gjaTWstxuVPxe5Yh45ISEpOy+7samypYgt9797d0dZWBMhFZw6M180ybKnu7c+ApUtAqsGsWkv93rLXWW1mpYKkOpqGVEydOzSvjlewBASkBAHVMB31UkFUR5fHzl7nqVaDgJmF3ZiLpzRs7giskIbgeIEfDWZ0DlLj2Jng7RzqM8NCKjYiY8/oY4wVwOPr6mIuNSE6HQ1UBEBLTfsXcoMFI6QTqKxv1LC057uc45Gwbm/974KJ4PuFEnkYwrvYdCqoFwjaX8jAOwHwir/qFiHjzGLfa/joolNPhRh7L0DbFNun0uhBEt1ZTCyYIeSYi6LQgQiKsRh3TU8Nxq26Oi/nxjXWAR2HQ9vzP91fPL/h06Me41TJOxSOdltFTvuTXdqWiHXuEJQBM97M8LaVhGqG/fiUrFJrD54hUc/X4W8bzinKaAQTbaFlLNlc26tfB4raB0EQWTREQRII/r0GFRx9HioRW0/KzBHyTYnwDQIScAbLBad8=", + "type": "harvestOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.harvest", + "date": "2022-05-22T08:19:58.762Z" + } + ], + "createdAt": "2022-05-22T08:19:58.769Z", + "updatedAt": "2022-05-22T08:20:01.557Z" +} \ No newline at end of file diff --git a/credentials/29.json b/credentials/29.json new file mode 100644 index 0000000..f6dfbae --- /dev/null +++ b/credentials/29.json @@ -0,0 +1,14 @@ +{ + "id": 29, + "name": "Google Translate account", + "data": "U2FsdGVkX18UN8IB1yhKNxVJb/7AqdjyX25np+rhX9Dy5oJjpFEoj6YsSSRSm4n6hG5RQudQ0dxJBp3NdcCS37Dby0a8B3KNmQBeVbufvREs5qwIATlBON3Gwq8stSwAGUkrkoT3pZRIK5MJ2Xvvd2rVeDgr5i2NTtGxtGhqurvdIPXaXbcR1fBoWwi+qubeeZqkJ5cvC2qacKEIdddVMc8JdqIKeM2+Ynu9mGiw4ZGmX5LMJMfgihpQGUfI9KwAY47QX0ESS0J8zLvApclSiT8OR1jEg0YRf7MDdxrn3n55iu3cuKyRB1peO6a89Bolpkl6m497p5Jh7NICy2ZoAQAHuJwIFxIykiRd8eKWO9rnDsYu5m8f3tLjSM+ArMVNkC3JnIbL6NyxhpqzHJys7sgBPU/DDDS90S3TEXVy5VKxUic3PNxJ29dfjRaXyysE12yKTCm7OBn4FSYwBhMF4oFdvwDKKCvEU09FDNeCE68alZMsmaxgZXQB3fPTzwWFGjR4vI8c8INAL4r6X6xaRMQPdBBJx7DFxXfIA1REplhYTUxtt81jwfWKA1jWDuvfah9K0B7adSreLOOnV+SfxUgVowlZvXC/PnIrPJ+1o3zlUPkpuP+9LQsw0ZCrO8+NXg9TR2dvauXT/IZARJMM7P3YeyRDMyQ6n/JRVFyKcqAsFwfcDoOzlCkAPmeaLHc823E20RpnIU1WziPhyZj5wn13r6Y/G2NqBG7RrB/8a1jOtXfG4cJUHiQBOugA+DjAZruFi42985HQiXHlJBo0mT+4jTh3kuGTUydwbjw9Dyc7FQ2h1QwPlOPEnSdqjBKBRS+coYDiqhyZFt/qJq80AyGV+4zOPw7eJr99EG7m1Wwx9SGuiUyVpfONbdlO56+/", + "type": "googleTranslateOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.googleTranslate", + "date": "2022-05-24T10:51:43.905Z" + } + ], + "createdAt": "2022-05-24T10:51:43.926Z", + "updatedAt": "2022-05-24T10:52:07.432Z" +} \ No newline at end of file diff --git a/credentials/3.json b/credentials/3.json new file mode 100644 index 0000000..049b931 --- /dev/null +++ b/credentials/3.json @@ -0,0 +1,14 @@ +{ + "id": 3, + "name": "Wordpress account", + "data": "U2FsdGVkX18SV7rOasLsE4uu1r9OSC1M9wKno3pqMkJMuLZDezgeys9Y9Ej1EtVQLrIbvQ7BY1SGGdoz/z9yK2gA/hsV/BngP4ZRg4xPmfuMZdd1JgUxFj7aAqEUinu9", + "type": "wordpressApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.wordpress", + "date": "2022-04-20T13:28:19.425Z" + } + ], + "createdAt": "2022-04-20T13:28:19.431Z", + "updatedAt": "2022-04-20T13:28:19.431Z" +} \ No newline at end of file diff --git a/credentials/4.json b/credentials/4.json new file mode 100644 index 0000000..793b7b6 --- /dev/null +++ b/credentials/4.json @@ -0,0 +1,14 @@ +{ + "id": 4, + "name": "Microsoft To Do account", + "data": "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", + "type": "microsoftToDoOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.microsoftToDo", + "date": "2022-04-24T08:19:04.721Z" + } + ], + "createdAt": "2022-04-24T08:08:21.574Z", + "updatedAt": "2022-05-26T17:01:02.745Z" +} \ No newline at end of file diff --git a/credentials/5.json b/credentials/5.json new file mode 100644 index 0000000..1281480 --- /dev/null +++ b/credentials/5.json @@ -0,0 +1,14 @@ +{ + "id": 5, + "name": "ha.cynic.club", + "data": "U2FsdGVkX1+xIziWh9R4R1ZqjwAb65txAsH0CdMhRm3n0m4u1ugKepwj1fySASjXGg0j3QQziWiRHJrLOovA7eM6/0icB7nkwLCzTap/i0ApI724ntV0QsDa2vDrKLYoTSEDtwK5th5VOmBMaFE4FCZWT6ktRP4hn+BK8U7maGt/Qz0vC5g1mUMoUGmy6u3Ofyy6fgS83hJa7rWczn+4RRjx9v+/ogTVEOe9HHUVJyLajwzDs5qOKfL/+T4yCGgv6NLbhX7cUHlBLuvKxLjJZUVVQkA5dJO9mEAX7AUSUgw2xv2c+AxVUh9so7sY01Y/J+E0obP8XKIa110xET7sd1o28J9dkigf+/KVh6Ru1Ww=", + "type": "homeAssistantApi", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.homeAssistant", + "date": "2022-04-24T08:45:59.358Z" + } + ], + "createdAt": "2022-04-24T08:45:31.535Z", + "updatedAt": "2022-04-24T08:45:59.363Z" +} \ No newline at end of file diff --git a/credentials/6.json b/credentials/6.json new file mode 100644 index 0000000..5a7137f --- /dev/null +++ b/credentials/6.json @@ -0,0 +1,18 @@ +{ + "id": 6, + "name": "Google Calendar account", + "data": "U2FsdGVkX1/U3zvSdd9YZEPTCMwU2QZWKULHbWGopOaE37iuuAYxVKBPv9Adr4iflyd4gdBESEpdSD4Wcqiq94O2hc6IjKYILvarOQJ4a8psdHziR9/jdfZMSaZbREJSmR5Y+ck41LNlrINKugx+UQl+X1/PLByAOGhBkU92BKrpf4ZpoWwR/7GEy0/XWqc7Psy9vnb8Qq9Q8to5MqarNX2bdlAufQSm3uEz8Rvk534g9d+5PYXyk/lwrpRzn7kpuwh8ByIUOgU4FeUEm2huNlvkJa+YJ8h5KwM763jzXgr30JwYk00Hrcl8P9dws1BdSs014TOvoGKOyEdBv3r27lkiG7J1GMvI3LRtIlm71KmbLfl4jmGo7Z/mstCgN2KoKtPyLoWQG5da9U4Rg8xz6hYm8t4YP8nHU5DgE9WNGseuUJj/PXYb4brN44bUzMIESu1lv3orvdU7C8S3cykOnA/hafRQnXsvypwDXhGr0KzQwreVQvd+aMMhl7IiMvSIYwFUb+ZKqnv2S133CAZwjUr9j8ttfJ6Phe3LHpGQQcc2mcc1efQN5UxhozR5LDR76HfPL7kIk6E/FHZ0GpVVSuAn5zOs4JCnFeqgmGz236vEZYyFHAoN6tWu+M5VSalT72I4IveLdiNeh6mpvkMmunurLyONGvFvVGZfaEVboW/MMBrHusBH4BshWASF/VH7YrKEuXAeP+sQr77tf1H4bhY0pQhlL57zPStp62AX9/AgI7E0QkO/AHfGsgeTpPE4Y6QFDua2sjIkQpVIHRedVLK1T+sFrIo8volrX3+7eD8Ml9ufHeOZ0nbuIYm27Zv3HOuvhwg8Mz8//f1aGtNhMsLIDCEI5iNbbGQsVFxIvSyQZ3p5lePeBR8SvTpfpAhqm1vSWpGDn+8hnbrryPm9rwBTtMgKfEb31bAcmLN1B0C3iToOL7lqJZaopJqvEWkTyCfe+6OWU9bTh0c4SVnjDBKCv3D6h7Qjdvo6VuNGDKSVEag80VN9RQ6qdZlM9iuYKqm5Sd/l94xoVSHeHIq93zyfVBpTn/amuAAq5VCR7OVDVsO53FxCCWPjfWyy1QwBOzvEHzouqfUDTRg41t00f4RxgrZS7Y8d0KGxMuZuKEAa/GN+3OogNXdkhpZekVy2/b8Oxnpv71LNSbRVH9uU/4qyRxuke6rmSaSW1EoD6eIYAQbK3LxgXrNz/HaZ97YCTrSKVtyt4sQcP7lMYJMlmg6/Ilv+7szt/EMejOHeexPXcpsYuosRJrArIkWuDtxP4UtJvoaEPm0+qEFAKfFuKcQUy2DkjE7M8kdmdrXkKOCd4/ksyX1hBUbhq0sFcTaxLB8nygn7vY8/pO4bAzmbtDEgHz11qW332OGxkPdULGo=", + "type": "googleCalendarOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.googleCalendar", + "date": "2022-04-24T09:04:49.657Z" + }, + { + "nodeType": "n8n-nodes-base.googleCalendarTrigger", + "date": "2022-04-24T09:04:49.657Z" + } + ], + "createdAt": "2022-04-24T09:03:12.843Z", + "updatedAt": "2022-05-26T17:20:45.490Z" +} \ No newline at end of file diff --git a/credentials/7.json b/credentials/7.json new file mode 100644 index 0000000..746b0f0 --- /dev/null +++ b/credentials/7.json @@ -0,0 +1,14 @@ +{ + "id": 7, + "name": "Google Contacts account", + "data": "U2FsdGVkX18D5TNVLeD9SEFbE2ux3KWK/o2l9GSfL56hvEYdnjnqAbHDOrEcrb3nJ3KQIjTX7ycCxE6gwuYfabIooTlHDqqwQTRmg5m9mqkNjj3RVn9JBASrYTLrFpVS/qVt00UuWpa07uDuSX1rTo4qD9OPpCaNkrTKylzI8436qrUuZXDQtgoWgwSn9F7zjl8pbl6eyTYEciHUDERwnN+Wpb/9HPm7U37O/1aFl9SOuj70T58yk9mIvFTcggbGzuQ6/gPqCxp3xTAJTi3dQhdT5cdO93EwTFH52xihNswDo8ptfTgjo/bzCI3lSx+CserLbTYP3LG5F5bkhFUGnXJi5uLk18Xj9twKAcizEZiHjVpqgkgCLGg4VzW2OaiVJJhEG1gL+whjp7M4KTGInMTc8JCJSnWVWEPJHhOr4NWfb35rAzEJPf/RUNf3tJcCDZH1NuMMKyH2/2Bic7DWCMDir9H9Sq9Cr9ueZxIpd/zwRcUv5eS60N+GIfiu+gWd/XOcFhKKJ10lyaevhRn93hN2sLhF3PlFvFryf6bcFd9BOUDNOW6fn7K8zbEIvdW7FYU33FWjDNlQwtNn7qVbB552/d9SLyftxyPwoZF9b0wZy1zUzqPRRcF9PrVN4cQQO2B1WTG6NpCW2076xQoIhmDGd9+j0bQf/8mZNKpxFEq3xMgvgIb8hhBCpHhnbRAQbJrpLTMJI/ajsAH4O96tKz2MP3Wvn6mnGqQYXmlRSlT94Gr+cg+COmbWVWceh/n77k2R3IROjIwuwYFEfSdDtl9yJik+W4PtxW1ZXMt75Tkf6JzegpVgxgR4p80cMr2ieNorzi7SULvFZKO2TiIZnnyZiWiFHreqLy7tA0T99tQ=", + "type": "googleContactsOAuth2Api", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.googleContacts", + "date": "2022-04-24T09:07:11.048Z" + } + ], + "createdAt": "2022-04-24T09:07:11.058Z", + "updatedAt": "2022-05-04T17:29:48.289Z" +} \ No newline at end of file diff --git a/credentials/8.json b/credentials/8.json new file mode 100644 index 0000000..a3c56b4 --- /dev/null +++ b/credentials/8.json @@ -0,0 +1,18 @@ +{ + "id": 8, + "name": "Unnamed credential", + "data": "U2FsdGVkX19MQtSwIbNfgE3GwUJt5fAmRR1nr0iZVpI3WXlvwFdpj0atBAsD/myOf64/8vU5hGzhBJGaWnZgKA==", + "type": "httpDigestAuth", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.graphql", + "date": "2022-04-24T18:27:04.843Z" + }, + { + "nodeType": "n8n-nodes-base.httpRequest", + "date": "2022-04-24T18:27:04.843Z" + } + ], + "createdAt": "2022-04-24T18:27:04.849Z", + "updatedAt": "2022-04-24T18:28:38.833Z" +} \ No newline at end of file diff --git a/credentials/9.json b/credentials/9.json new file mode 100644 index 0000000..4bffb1d --- /dev/null +++ b/credentials/9.json @@ -0,0 +1,26 @@ +{ + "id": 9, + "name": "Header Auth account", + "data": "U2FsdGVkX19WvWf66kIV2eLLKm3nYU+HqZ8+xnoslw5m78zAMlhmd8pCO98O0Kg9adKTeM3w4Fme+AwUII9N/vy7Rpxw2y3t8YOXepuLaOI=", + "type": "httpHeaderAuth", + "nodesAccess": [ + { + "nodeType": "n8n-nodes-base.graphql", + "date": "2022-04-24T18:32:36.816Z" + }, + { + "nodeType": "n8n-nodes-base.wait", + "date": "2022-04-24T18:32:36.816Z" + }, + { + "nodeType": "n8n-nodes-base.httpRequest", + "date": "2022-04-24T18:32:36.816Z" + }, + { + "nodeType": "n8n-nodes-base.webhook", + "date": "2022-04-24T18:32:36.816Z" + } + ], + "createdAt": "2022-04-24T18:32:36.821Z", + "updatedAt": "2022-04-24T18:32:36.821Z" +} \ No newline at end of file diff --git a/flows/1.json b/flows/1.json new file mode 100644 index 0000000..ea6b3be --- /dev/null +++ b/flows/1.json @@ -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 +} \ No newline at end of file diff --git a/flows/10.json b/flows/10.json new file mode 100644 index 0000000..bc42be6 --- /dev/null +++ b/flows/10.json @@ -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 + } + } +} \ No newline at end of file diff --git a/flows/11.json b/flows/11.json new file mode 100644 index 0000000..8a0742d --- /dev/null +++ b/flows/11.json @@ -0,0 +1,1469 @@ +{ + "id": 11, + "name": "avtomoto25", + "active": true, + "nodes": [ + { + "parameters": {}, + "name": "Start", + "type": "n8n-nodes-base.start", + "typeVersion": 1, + "position": [ + -560, + 140 + ] + }, + { + "parameters": { + "url": "https://note.cynic.club/shares/mrU4F6JyiyTZLwf87Phrbb", + "responseFormat": "string", + "options": {} + }, + "name": "HTTP Request", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 1, + "position": [ + -320, + 320 + ] + }, + { + "parameters": { + "extractionValues": { + "values": [ + { + "key": "data", + "cssSelector": "li", + "returnArray": true + } + ] + }, + "options": {} + }, + "name": "HTML Extract", + "type": "n8n-nodes-base.htmlExtract", + "typeVersion": 1, + "position": [ + -120, + 320 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "rokoss", + "value": "={{$json[\"data\"][0]}}" + }, + { + "name": "prospect", + "value": "={{$json[\"data\"][4]}}" + }, + { + "name": "masani", + "value": "={{$json[\"data\"][2]}}" + } + ] + }, + "options": {} + }, + "name": "Set", + "type": "n8n-nodes-base.set", + "typeVersion": 1, + "position": [ + 100, + -220 + ], + "disabled": true + }, + { + "parameters": { + "operation": "update", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "397fskc0hc9vfl1dqffnbjlm7k", + "updateFields": { + "allday": "yes", + "end": "={{$json[\"date\"]}} 23:00:00", + "start": "={{$json[\"google\"][\"masani\"]}} 01:00:00" + } + }, + "name": "Google Calendar2", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 1460, + 820 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "operation": "update", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "31g2bcqsnqavh7e5deusa8b2oq\t", + "updateFields": { + "allday": "yes", + "end": "={{$json[\"date\"]}} 23:00:00", + "start": "={{$json[\"google\"][\"rokoss\"]}} 01:00:00" + } + }, + "name": "Google Calendar", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 1440, + 640 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "operation": "update", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "3ptu0erou5f816kglu1f2p0p28", + "updateFields": { + "allday": "yes", + "end": "={{$json[\"date\"]}} 23:00:00", + "start": "={{$json[\"google\"][\"prospect\"]}} 01:00:00" + } + }, + "name": "Google Calendar3", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 1460, + 1040 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "url": "https://avtomoto25.cn.ua/wp-content/uploads/new_data.jpg", + "responseFormat": "file", + "options": {} + }, + "name": "HTTP Request1", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 1, + "position": [ + 640, + -240 + ], + "disabled": true + }, + { + "parameters": { + "operation": "multiStep", + "operations": { + "operations": [ + { + "operation": "text", + "text": "вул. Красносільского 59а", + "fontSize": 48, + "fontColor": "#FFFFFF", + "positionY": 580 + }, + { + "operation": "text", + "text": "=Початок занять {{$json[\"masani\"]}}", + "fontSize": 56, + "fontColor": "#FFFFFF", + "positionY": 650 + }, + {} + ] + }, + "options": {} + }, + "name": "Edit Image", + "type": "n8n-nodes-base.editImage", + "typeVersion": 1, + "position": [ + 940, + -220 + ], + "disabled": true + }, + { + "parameters": { + "conditions": { + "string": [ + { + "value1": "={{$json[\"date\"]}}", + "operation": "notEqual", + "value2": "={{$json[\"start\"][\"date\"]}}" + } + ] + } + }, + "name": "IF", + "type": "n8n-nodes-base.if", + "typeVersion": 1, + "position": [ + 1220, + 840 + ] + }, + { + "parameters": { + "mode": "mergeByIndex" + }, + "name": "Merge", + "type": "n8n-nodes-base.merge", + "typeVersion": 1, + "position": [ + 940, + 840 + ] + }, + { + "parameters": { + "resource": "file", + "binaryPropertyName": "=data", + "path": "/var/www/html/driving_school/wp-content/uploads/", + "options": { + "fileName": "new_data_massani.jpg" + } + }, + "name": "SSH", + "type": "n8n-nodes-base.ssh", + "typeVersion": 1, + "position": [ + 1220, + -220 + ], + "credentials": { + "sshPassword": { + "id": "14", + "name": "SSH Password account" + } + }, + "disabled": true + }, + { + "parameters": { + "mode": "mergeByIndex" + }, + "name": "Merge1", + "type": "n8n-nodes-base.merge", + "typeVersion": 1, + "position": [ + 940, + 1040 + ] + }, + { + "parameters": { + "conditions": { + "string": [ + { + "value1": "={{$json[\"date\"]}}", + "operation": "notEqual", + "value2": "={{$json[\"start\"][\"date\"]}}" + } + ] + } + }, + "name": "IF1", + "type": "n8n-nodes-base.if", + "typeVersion": 1, + "position": [ + 1220, + 1040 + ] + }, + { + "parameters": { + "mode": "mergeByIndex" + }, + "name": "Merge2", + "type": "n8n-nodes-base.merge", + "typeVersion": 1, + "position": [ + 940, + 660 + ] + }, + { + "parameters": { + "conditions": { + "string": [ + { + "value1": "={{$json[\"date\"]}}", + "operation": "notEqual", + "value2": "={{$json[\"start\"][\"date\"]}}" + } + ] + } + }, + "name": "IF2", + "type": "n8n-nodes-base.if", + "typeVersion": 1, + "position": [ + 1220, + 660 + ] + }, + { + "parameters": { + "path": "scool", + "responseMode": "responseNode", + "options": {} + }, + "name": "Webhook", + "type": "n8n-nodes-base.webhook", + "typeVersion": 1, + "position": [ + -1060, + 960 + ], + "webhookId": "42d23674-abe0-4cb4-a158-3319140d97f0" + }, + { + "parameters": { + "respondWith": "json", + "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date\"][\"rokoss_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"rokoss_ua\"]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date\"][\"masani_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"masani_ua\"]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date\"][\"prospect_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"prospect_ua\"]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][\"rokoss\"]}}\",\n \"masani\": \"{{$json[\"count\"][\"masani\"]}}\",\n \"prospect\": \"{{$json[\"count\"][\"prospect\"]}}\"\n}\n}", + "options": { + "responseCode": 200 + } + }, + "name": "Respond to Webhook", + "type": "n8n-nodes-base.respondToWebhook", + "typeVersion": 1, + "position": [ + 680, + 0 + ], + "disabled": true + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "date.rokoss_ua", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.rokoss_ru", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "date.prospect_ua", + "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.prospect_ru", + "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "date.masani_ua", + "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.masani_ru", + "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "count.rokoss", + "value": "={{$json[\"data\"][1]}}" + }, + { + "name": "count.masani", + "value": "={{$json[\"data\"][3]}}" + }, + { + "name": "count.prospect", + "value": "={{$json[\"data\"][5]}}" + }, + { + "name": "google.rokoss", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" + }, + { + "name": "google.prospect", + "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").toISODate()}}" + }, + { + "name": "google.masani", + "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").toISODate()}}" + } + ] + }, + "options": { + "dotNotation": true + } + }, + "name": "Set1", + "type": "n8n-nodes-base.set", + "typeVersion": 1, + "position": [ + 80, + 320 + ] + }, + { + "parameters": { + "operation": "get", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "3ptu0erou5f816kglu1f2p0p28", + "options": {} + }, + "name": "Проспект Перемоги 39", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 660, + 1100 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "operation": "get", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "31g2bcqsnqavh7e5deusa8b2oq\t", + "options": {} + }, + "name": "вул. Рокосовського 51", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 660, + 720 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "operation": "get", + "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", + "eventId": "397fskc0hc9vfl1dqffnbjlm7k", + "options": {} + }, + "name": "вул. Красносільского 59а", + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1, + "position": [ + 660, + 900 + ], + "credentials": { + "googleCalendarOAuth2Api": { + "id": "6", + "name": "Google Calendar account" + } + } + }, + { + "parameters": { + "url": "https://note.cynic.club/shares/sJeGN4mi8Xgto8A85QS027", + "responseFormat": "string", + "options": {} + }, + "name": "HTTP Request2", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 1, + "position": [ + -500, + 640 + ] + }, + { + "parameters": { + "extractionValues": { + "values": [ + { + "key": "data", + "cssSelector": "li", + "returnArray": true + }, + { + "key": "schedule", + "cssSelector": "label.checkbox-label-checked", + "returnArray": true + } + ] + }, + "options": {} + }, + "name": "HTML Extract1", + "type": "n8n-nodes-base.htmlExtract", + "typeVersion": 1, + "position": [ + -280, + 640 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "date.ua", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.ru", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "count", + "value": "={{$json[\"data\"][1]}}" + }, + { + "name": "date.google", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" + }, + { + "name": "schedule.ua.day1", + "value": "={{$json[\"schedule\"][0]}}" + }, + { + "name": "schedule.ua.day2", + "value": "={{$json[\"schedule\"][1]}}" + }, + { + "name": "schedule.ru.day1", + "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.ru.day2", + "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.time", + "value": "={{$json[\"data\"][9]}}" + } + ] + }, + "options": { + "dotNotation": true + } + }, + "name": "Set2", + "type": "n8n-nodes-base.set", + "typeVersion": 1, + "position": [ + -20, + 640 + ] + }, + { + "parameters": { + "respondWith": "json", + "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date\"][\"rokoss_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"rokoss_ua\"]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date\"][\"masani_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"masani_ua\"]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date\"][\"prospect_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"prospect_ua\"]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][\"rokoss\"]}}\",\n \"masani\": \"{{$json[\"count\"][\"masani\"]}}\",\n \"prospect\": \"{{$json[\"count\"][\"prospect\"]}}\"\n}\n}", + "options": { + "responseCode": 200 + } + }, + "name": "Respond to Webhook1", + "type": "n8n-nodes-base.respondToWebhook", + "typeVersion": 1, + "position": [ + 360, + 120 + ], + "disabled": true + }, + { + "parameters": { + "docId": "tAuWNMisjXqyEkYudRcA2c", + "tableId": "Classrooms", + "returnAll": true, + "additionalOptions": {} + }, + "name": "Grist", + "type": "n8n-nodes-base.grist", + "typeVersion": 1, + "position": [ + -520, + 1300 + ], + "credentials": { + "gristApi": { + "id": "21", + "name": "Grist account" + } + } + }, + { + "parameters": { + "path": "scool/rokoss", + "responseMode": "responseNode", + "options": { + "responseHeaders": { + "entries": [ + { + "name": "Content-Type", + "value": "application/json" + } + ] + } + } + }, + "name": "Webhook1", + "type": "n8n-nodes-base.webhook", + "typeVersion": 1, + "position": [ + -1180, + 400 + ], + "webhookId": "8c8f9603-e1c2-43e9-9064-be76e9cdf76c", + "disabled": true + }, + { + "parameters": { + "url": "https://note.cynic.club/shares/wjFwc3x9h7lDRK9BlubQC0", + "responseFormat": "string", + "options": {} + }, + "name": "HTTP Request3", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 1, + "position": [ + -500, + 820 + ] + }, + { + "parameters": { + "extractionValues": { + "values": [ + { + "key": "data", + "cssSelector": "li", + "returnArray": true + }, + { + "key": "schedule", + "cssSelector": "label.checkbox-label-checked", + "returnArray": true + } + ] + }, + "options": {} + }, + "name": "HTML Extract2", + "type": "n8n-nodes-base.htmlExtract", + "typeVersion": 1, + "position": [ + -280, + 820 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "date.ua", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.ru", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "count", + "value": "={{$json[\"data\"][1]}}" + }, + { + "name": "date.google", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" + }, + { + "name": "schedule.ua.day1", + "value": "={{$json[\"schedule\"][0]}}" + }, + { + "name": "schedule.ua.day2", + "value": "={{$json[\"schedule\"][1]}}" + }, + { + "name": "schedule.ru.day1", + "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.ru.day2", + "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.time", + "value": "={{$json[\"data\"][9]}}" + } + ] + }, + "options": { + "dotNotation": true + } + }, + "name": "Set3", + "type": "n8n-nodes-base.set", + "typeVersion": 1, + "position": [ + -20, + 820 + ] + }, + { + "parameters": { + "url": "https://note.cynic.club/shares/978uO9kCnw65J1TMaH0XeR", + "responseFormat": "string", + "options": {} + }, + "name": "HTTP Request4", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 1, + "position": [ + -500, + 1020 + ] + }, + { + "parameters": { + "extractionValues": { + "values": [ + { + "key": "data", + "cssSelector": "li", + "returnArray": true + }, + { + "key": "schedule", + "cssSelector": "label.checkbox-label-checked", + "returnArray": true + } + ] + }, + "options": {} + }, + "name": "HTML Extract3", + "type": "n8n-nodes-base.htmlExtract", + "typeVersion": 1, + "position": [ + -280, + 1020 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "date.ua", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" + }, + { + "name": "date.ru", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" + }, + { + "name": "count", + "value": "={{$json[\"data\"][1]}}" + }, + { + "name": "date.google", + "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" + }, + { + "name": "schedule.ua.day1", + "value": "={{$json[\"schedule\"][0]}}" + }, + { + "name": "schedule.ua.day2", + "value": "={{$json[\"schedule\"][1]}}" + }, + { + "name": "schedule.ru.day1", + "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.ru.day2", + "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" + }, + { + "name": "schedule.time", + "value": "={{$json[\"data\"][9]}}" + } + ] + }, + "options": { + "dotNotation": true + } + }, + "name": "Set4", + "type": "n8n-nodes-base.set", + "typeVersion": 1, + "position": [ + -20, + 1020 + ] + }, + { + "parameters": { + "operation": "aggregateItems", + "fieldsToAggregate": { + "fieldToAggregate": [ + { + "fieldToAggregate": "id" + }, + { + "fieldToAggregate": "date_ru" + }, + { + "fieldToAggregate": "date_ua" + }, + { + "fieldToAggregate": "count" + }, + { + "fieldToAggregate": "time" + }, + { + "fieldToAggregate": "day_2_ua" + }, + { + "fieldToAggregate": "day_1_ua" + }, + { + "fieldToAggregate": "day_1_ru" + }, + { + "fieldToAggregate": "day_2_ru" + }, + { + "fieldToAggregate": "address" + } + ] + }, + "options": {} + }, + "name": "Item Lists", + "type": "n8n-nodes-base.itemLists", + "typeVersion": 1, + "position": [ + -220, + 1300 + ] + }, + { + "parameters": { + "respondWith": "json", + "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date_ru\"][0]}}\",\n \"ua\": \"{{$json[\"date_ua\"][0]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date_ru\"][1]}}\",\n \"ua\": \"{{$json[\"date_ua\"][1]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date_ru\"][2]}}\",\n \"ua\": \"{{$json[\"date_ua\"][2]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][0]}}\",\n \"masani\": \"{{$json[\"count\"][1]}}\",\n \"prospect\": \"{{$json[\"count\"][2]}}\"\n },\n\n\"schedule\":\n {\n \"rokoss\":\n {\n \"day1\":\n {\n \"ru\": \"{{$json[\"day_1_ru\"][0]}}\",\n \"ua\": \"{{$json[\"day_1_ua\"][0]}}\"\n },\n \"day2\":\n {\n \"ru\": \"{{$json[\"day_2_ru\"][0]}}\",\n \"ua\": \"{{$json[\"day_2_ua\"][0]}}\"\n },\n \"time\": \"{{$json[\"time\"][0]}}\"\n },\n\"masani\":\n{\n\"day1\":\n{\n\"ru\": \"{{$json[\"day_1_ru\"][1]}}\",\n\"ua\": \"{{$json[\"day_1_ua\"][1]}}\"\n},\n\"day2\":\n{\n\"ru\": \"{{$json[\"day_2_ru\"][1]}}\",\n\"ua\": \"{{$json[\"day_2_ua\"][1]}}\"\n},\n\"time\": \"{{$json[\"time\"][1]}}\"\n},\n\"prospect\":\n{\n\"day1\":\n{\n\"ru\": \"{{$json[\"day_1_ru\"][2]}}\",\n\"ua\": \"{{$json[\"day_1_ua\"][2]}}\"\n},\n\"day2\":\n{\n\"ru\": \"{{$json[\"day_2_ru\"][2]}}\",\n\"ua\": \"{{$json[\"day_2_ua\"][2]}}\"\n},\n\"time\": \"{{$json[\"time\"][2]}}\"\n}\n}\n}", + "options": { + "responseCode": 200 + } + }, + "name": "Respond to Webhook2", + "type": "n8n-nodes-base.respondToWebhook", + "typeVersion": 1, + "position": [ + 100, + 1300 + ] + }, + { + "parameters": { + "operation": "update", + "docId": "tAuWNMisjXqyEkYudRcA2c", + "tableId": "Classrooms", + "rowId": "1", + "fieldsToSend": { + "properties": [ + { + "fieldId": "date_ru", + "fieldValue": "={{$json[\"date\"][\"ru\"]}}" + }, + { + "fieldId": "date_ua", + "fieldValue": "={{$json[\"date\"][\"ua\"]}}" + }, + { + "fieldId": "date", + "fieldValue": "={{$json[\"date\"][\"google\"]}}" + }, + { + "fieldId": "day_1_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" + }, + { + "fieldId": "count", + "fieldValue": "={{$json[\"count\"]}}" + }, + { + "fieldId": "time", + "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" + }, + { + "fieldId": "day_1_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" + } + ] + } + }, + "name": "rokoss", + "type": "n8n-nodes-base.grist", + "typeVersion": 1, + "position": [ + 200, + 640 + ], + "credentials": { + "gristApi": { + "id": "21", + "name": "Grist account" + } + } + }, + { + "parameters": { + "operation": "update", + "docId": "tAuWNMisjXqyEkYudRcA2c", + "tableId": "Classrooms", + "rowId": "2", + "fieldsToSend": { + "properties": [ + { + "fieldId": "date_ru", + "fieldValue": "={{$json[\"date\"][\"ru\"]}}" + }, + { + "fieldId": "date_ua", + "fieldValue": "={{$json[\"date\"][\"ua\"]}}" + }, + { + "fieldId": "date", + "fieldValue": "={{$json[\"date\"][\"google\"]}}" + }, + { + "fieldId": "day_1_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" + }, + { + "fieldId": "count", + "fieldValue": "={{$json[\"count\"]}}" + }, + { + "fieldId": "time", + "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" + }, + { + "fieldId": "day_1_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" + } + ] + } + }, + "name": "masani", + "type": "n8n-nodes-base.grist", + "typeVersion": 1, + "position": [ + 200, + 820 + ], + "credentials": { + "gristApi": { + "id": "21", + "name": "Grist account" + } + } + }, + { + "parameters": { + "operation": "update", + "docId": "tAuWNMisjXqyEkYudRcA2c", + "tableId": "Classrooms", + "rowId": "3", + "fieldsToSend": { + "properties": [ + { + "fieldId": "date_ru", + "fieldValue": "={{$json[\"date\"][\"ru\"]}}" + }, + { + "fieldId": "date_ua", + "fieldValue": "={{$json[\"date\"][\"ua\"]}}" + }, + { + "fieldId": "date", + "fieldValue": "={{$json[\"date\"][\"google\"]}}" + }, + { + "fieldId": "day_1_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ua", + "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" + }, + { + "fieldId": "count", + "fieldValue": "={{$json[\"count\"]}}" + }, + { + "fieldId": "time", + "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" + }, + { + "fieldId": "day_1_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" + }, + { + "fieldId": "day_2_ru", + "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" + } + ] + } + }, + "name": "prospect", + "type": "n8n-nodes-base.grist", + "typeVersion": 1, + "position": [ + 200, + 1020 + ], + "credentials": { + "gristApi": { + "id": "21", + "name": "Grist account" + } + } + }, + { + "parameters": { + "triggerTimes": { + "item": [ + { + "mode": "everyX", + "value": 10, + "unit": "minutes" + } + ] + } + }, + "name": "Cron", + "type": "n8n-nodes-base.cron", + "typeVersion": 1, + "position": [ + -960, + 760 + ] + } + ], + "connections": { + "HTTP Request": { + "main": [ + [ + { + "node": "HTML Extract", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTML Extract": { + "main": [ + [ + { + "node": "Set", + "type": "main", + "index": 0 + }, + { + "node": "Set1", + "type": "main", + "index": 0 + } + ] + ] + }, + "Set": { + "main": [ + [ + { + "node": "HTTP Request1", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTTP Request1": { + "main": [ + [ + { + "node": "Edit Image", + "type": "main", + "index": 0 + } + ] + ] + }, + "Merge": { + "main": [ + [ + { + "node": "IF", + "type": "main", + "index": 0 + } + ] + ] + }, + "IF": { + "main": [ + [ + { + "node": "Google Calendar2", + "type": "main", + "index": 0 + } + ] + ] + }, + "Edit Image": { + "main": [ + [ + { + "node": "SSH", + "type": "main", + "index": 0 + } + ] + ] + }, + "Merge1": { + "main": [ + [ + { + "node": "IF1", + "type": "main", + "index": 0 + } + ] + ] + }, + "IF1": { + "main": [ + [ + { + "node": "Google Calendar3", + "type": "main", + "index": 0 + } + ] + ] + }, + "IF2": { + "main": [ + [ + { + "node": "Google Calendar", + "type": "main", + "index": 0 + } + ] + ] + }, + "Merge2": { + "main": [ + [ + { + "node": "IF2", + "type": "main", + "index": 0 + } + ] + ] + }, + "Webhook": { + "main": [ + [ + { + "node": "Grist", + "type": "main", + "index": 0 + } + ] + ] + }, + "Проспект Перемоги 39": { + "main": [ + [ + { + "node": "Merge1", + "type": "main", + "index": 1 + } + ] + ] + }, + "вул. Рокосовського 51": { + "main": [ + [ + { + "node": "Merge2", + "type": "main", + "index": 1 + } + ] + ] + }, + "вул. Красносільского 59а": { + "main": [ + [ + { + "node": "Merge", + "type": "main", + "index": 1 + } + ] + ] + }, + "HTTP Request2": { + "main": [ + [ + { + "node": "HTML Extract1", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTML Extract1": { + "main": [ + [ + { + "node": "Set2", + "type": "main", + "index": 0 + } + ] + ] + }, + "Set2": { + "main": [ + [ + { + "node": "rokoss", + "type": "main", + "index": 0 + } + ] + ] + }, + "Grist": { + "main": [ + [ + { + "node": "Item Lists", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTTP Request3": { + "main": [ + [ + { + "node": "HTML Extract2", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTML Extract2": { + "main": [ + [ + { + "node": "Set3", + "type": "main", + "index": 0 + } + ] + ] + }, + "Set3": { + "main": [ + [ + { + "node": "masani", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTTP Request4": { + "main": [ + [ + { + "node": "HTML Extract3", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTML Extract3": { + "main": [ + [ + { + "node": "Set4", + "type": "main", + "index": 0 + } + ] + ] + }, + "Set4": { + "main": [ + [ + { + "node": "prospect", + "type": "main", + "index": 0 + } + ] + ] + }, + "Item Lists": { + "main": [ + [ + { + "node": "Respond to Webhook2", + "type": "main", + "index": 0 + } + ] + ] + }, + "rokoss": { + "main": [ + [ + { + "node": "вул. Рокосовського 51", + "type": "main", + "index": 0 + }, + { + "node": "Merge2", + "type": "main", + "index": 0 + } + ] + ] + }, + "masani": { + "main": [ + [ + { + "node": "Merge", + "type": "main", + "index": 0 + }, + { + "node": "вул. Красносільского 59а", + "type": "main", + "index": 0 + } + ] + ] + }, + "prospect": { + "main": [ + [ + { + "node": "Проспект Перемоги 39", + "type": "main", + "index": 0 + }, + { + "node": "Merge1", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cron": { + "main": [ + [ + { + "node": "HTTP Request2", + "type": "main", + "index": 0 + }, + { + "node": "HTTP Request3", + "type": "main", + "index": 0 + }, + { + "node": "HTTP Request4", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "createdAt": "2022-04-29T07:24:59.929Z", + "updatedAt": "2022-05-26T13:30:45.632Z", + "settings": { + "saveExecutionProgress": "DEFAULT" + }, + "staticData": null +} \ No newline at end of file diff --git a/flows/13.json b/flows/13.json new file mode 100644 index 0000000..2237cb5 --- /dev/null +++ b/flows/13.json @@ -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 +} \ No newline at end of file diff --git a/flows/14.json b/flows/14.json new file mode 100644 index 0000000..ef6a067 --- /dev/null +++ b/flows/14.json @@ -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 +} \ No newline at end of file diff --git a/flows/16.json b/flows/16.json new file mode 100644 index 0000000..9ddd5e8 --- /dev/null +++ b/flows/16.json @@ -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 +} \ No newline at end of file diff --git a/flows/17.json b/flows/17.json new file mode 100644 index 0000000..fb11c94 --- /dev/null +++ b/flows/17.json @@ -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 +} \ No newline at end of file diff --git a/flows/18.json b/flows/18.json new file mode 100644 index 0000000..b360162 --- /dev/null +++ b/flows/18.json @@ -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 +} \ No newline at end of file diff --git a/flows/19.json b/flows/19.json new file mode 100644 index 0000000..385b7e0 --- /dev/null +++ b/flows/19.json @@ -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 +} \ No newline at end of file diff --git a/flows/20.json b/flows/20.json new file mode 100644 index 0000000..0cf12f6 --- /dev/null +++ b/flows/20.json @@ -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 +} \ No newline at end of file diff --git a/flows/21.json b/flows/21.json new file mode 100644 index 0000000..e6fda94 --- /dev/null +++ b/flows/21.json @@ -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": "\n\n \n \n \n\n \n\n Hello, world!\n \n \n

Hello, world!

\n\n \n \n\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 +} \ No newline at end of file diff --git a/flows/22.json b/flows/22.json new file mode 100644 index 0000000..fce40cc --- /dev/null +++ b/flows/22.json @@ -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`\n\n\n\n pikabu\n https://pikabu.ru\n Stay up to date with the latest changes and updates of Baserow\n ${items.map(e => e.json.rss_item).join('\\n')}\n\n\n`;\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`\n ${item.title}\n ${item.link}\n ${item.content}\n ${item.isoDate}\n`\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 +} \ No newline at end of file diff --git a/flows/23.json b/flows/23.json new file mode 100644 index 0000000..c38c631 --- /dev/null +++ b/flows/23.json @@ -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" + ] + } + } +} \ No newline at end of file diff --git a/flows/24.json b/flows/24.json new file mode 100644 index 0000000..a7f40fe --- /dev/null +++ b/flows/24.json @@ -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 +} \ No newline at end of file diff --git a/flows/25.json b/flows/25.json new file mode 100644 index 0000000..4ea6cb9 --- /dev/null +++ b/flows/25.json @@ -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 +} \ No newline at end of file diff --git a/flows/26.json b/flows/26.json new file mode 100644 index 0000000..fa2669e --- /dev/null +++ b/flows/26.json @@ -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 +} \ No newline at end of file diff --git a/flows/5.json b/flows/5.json new file mode 100644 index 0000000..c86e371 --- /dev/null +++ b/flows/5.json @@ -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 +} \ No newline at end of file diff --git a/flows/6.json b/flows/6.json new file mode 100644 index 0000000..1532f9b --- /dev/null +++ b/flows/6.json @@ -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 +} \ No newline at end of file diff --git a/flows/7.json b/flows/7.json new file mode 100644 index 0000000..4794004 --- /dev/null +++ b/flows/7.json @@ -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": "\n\n \n \n \n\n \n\n Hello, world!\n \n \n

Hello, world!

\n\n \n \n\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 +} \ No newline at end of file diff --git a/flows/9.json b/flows/9.json new file mode 100644 index 0000000..f26a50f --- /dev/null +++ b/flows/9.json @@ -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 +} \ No newline at end of file