first commit
This commit is contained in:
136
flows/19.json
Normal file
136
flows/19.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"id": 19,
|
||||
"name": "facebook mesages",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "getAll",
|
||||
"additionalFields": {
|
||||
"labelIds": [
|
||||
"Label_6702928953786997882"
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
720,
|
||||
380
|
||||
],
|
||||
"alwaysOutputData": false,
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "23",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyX",
|
||||
"value": 5,
|
||||
"unit": "minutes"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
380
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "-1001369967688",
|
||||
"text": "=Повідомлення у Facebook:\n{{$json[\"text\"]}}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
380
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "15",
|
||||
"name": "avtomoto25"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "message",
|
||||
"operation": "delete",
|
||||
"messageId": "={{$json[\"id\"]}}"
|
||||
},
|
||||
"name": "Gmail1",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
160
|
||||
],
|
||||
"alwaysOutputData": true,
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "23",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Gmail": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Gmail1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-10T18:18:51.319Z",
|
||||
"updatedAt": "2022-05-25T06:26:10.630Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
Reference in New Issue
Block a user