Files
n8n/flows/19.json

154 lines
3.1 KiB
JSON
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"createdAt": "2022-05-10T18:18:51.319Z",
"updatedAt": "2022-08-23T17:06:13.494Z",
"id": 19,
"name": "facebook mesages",
"active": false,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
240,
300
],
"id": "8e052f1e-86d8-4a85-adb8-babfbd3e889a"
},
{
"parameters": {
"resource": "message",
"operation": "getAll",
"additionalFields": {
"labelIds": [
"Label_6702928953786997882"
]
}
},
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"typeVersion": 1,
"position": [
720,
380
],
"alwaysOutputData": false,
"id": "cb8030a4-a351-41c5-8d29-69811c917fc0",
"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
],
"id": "ec988c76-8cd3-42cf-a614-f6a40ce29a5d"
},
{
"parameters": {
"chatId": "-1001369967688",
"text": "=Повідомлення у Facebook:\n{{$json[\"text\"]}}",
"additionalFields": {}
},
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [
1020,
380
],
"id": "bdc17a68-8d26-4ecf-9267-bfb0825e2560",
"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,
"id": "f2e3bd52-5e94-41f9-abcb-444f0a5a9ea6",
"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
}
]
]
}
},
"settings": {
"saveExecutionProgress": "DEFAULT",
"errorWorkflow": "25"
},
"staticData": null,
"pinData": {},
"tags": [
{
"createdAt": "2022-05-10T18:06:30.022Z",
"updatedAt": "2022-05-10T18:06:30.022Z",
"id": "1",
"name": "avtomoto25"
}
],
"hash": "d3b346484b63b6d2e73ffddd22d6092a"
}