2022-05-26 20:57:30 +03:00
{
2022-10-27 21:01:19 +00:00
"createdAt" : "2022-04-29T05:12:17.339Z" ,
"updatedAt" : "2022-10-27T05:16:26.155Z" ,
2022-05-26 20:57:30 +03:00
"id" : 10 ,
"name" : "OpenData to Mattermost" ,
2022-08-16 21:00:49 +00:00
"active" : true ,
2022-05-26 20:57:30 +03:00
"nodes" : [
{
"parameters" : { } ,
"name" : "Start" ,
"type" : "n8n-nodes-base.start" ,
"typeVersion" : 1 ,
"position" : [
2022-06-17 21:00:57 +00:00
-500 ,
540
2022-08-03 21:00:21 +00:00
] ,
"id" : "7a5a1052-d442-4d57-a8d1-5ba5acff0710"
2022-05-26 20:57:30 +03:00
} ,
{
"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
] ,
2022-08-16 21:00:49 +00:00
"id" : "59bdf950-75d8-4d5f-b65f-8bf9e949285e" ,
2022-05-26 20:57:30 +03:00
"credentials" : {
"mattermostApi" : {
"id" : "11" ,
"name" : "Mattermost account"
}
2022-08-16 21:00:49 +00:00
}
2022-05-26 20:57:30 +03:00
} ,
{
"parameters" : {
"postProcessAction" : "nothing" ,
"options" : { }
} ,
"name" : "IMAP Email" ,
"type" : "n8n-nodes-base.emailReadImap" ,
"typeVersion" : 1 ,
"position" : [
2022-06-07 21:00:34 +00:00
-200 ,
2022-05-26 20:57:30 +03:00
60
] ,
2022-08-16 21:00:49 +00:00
"id" : "572cd170-0a2d-499e-93dc-24545c4a10af" ,
2022-05-26 20:57:30 +03:00
"credentials" : {
"imap" : {
"id" : "12" ,
"name" : "IMAP account"
}
2022-08-16 21:00:49 +00:00
}
2022-05-26 20:57:30 +03:00
} ,
{
"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
2022-08-03 21:00:21 +00:00
] ,
"id" : "176e209f-f7fe-4e5b-b65a-66221969c1df"
2022-05-26 20:57:30 +03:00
} ,
{
"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
] ,
2022-08-16 21:00:49 +00:00
"id" : "cfdf2827-4d9a-49d4-9090-983772b8384b" ,
2022-05-26 20:57:30 +03:00
"credentials" : {
"smtp" : {
"id" : "18" ,
"name" : "SMTP account"
}
2022-08-16 21:00:49 +00:00
}
2022-05-26 20:57:30 +03:00
} ,
{
"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
] ,
2022-08-16 21:00:49 +00:00
"id" : "22a6483c-d55f-4f01-b631-5385e7ac7f57" ,
2022-05-26 20:57:30 +03:00
"credentials" : {
"microsoftToDoOAuth2Api" : {
"id" : "4" ,
"name" : "Microsoft To Do account"
}
2022-06-17 21:00:57 +00:00
} ,
2022-08-16 21:00:49 +00:00
"disabled" : true
2022-06-17 21:00:57 +00:00
} ,
{
"parameters" : {
"title" : "n8n Community Meetup" ,
"start" : "2022-06-18T21:00:00.000Z" ,
"end" : "2021-06-20T16:15:00.000Z" ,
"allDay" : true ,
"additionalFields" : {
"attendeesUi" : {
"attendeeValues" : [
{
"name" : "nia" ,
"email" : "nia@cynic.club"
}
]
} ,
"busyStatus" : "TENTATIVE" ,
"calName" : "home" ,
"fileName" : "tetet" ,
"location" : "wrwerwerwerwerwer" ,
"organizerUi" : {
"organizerValues" : {
"name" : "nia" ,
"email" : "ihor.nahornyy@gmail.com"
}
} ,
"status" : "CONFIRMED" ,
"url" : "https://avtomoto25.cn.ua/booking/"
}
} ,
"name" : "iCalendar" ,
"type" : "n8n-nodes-base.iCal" ,
"position" : [
-240 ,
540
] ,
2022-08-03 21:00:21 +00:00
"typeVersion" : 1 ,
"id" : "3d26489b-a447-4133-b9c5-e79cf733fcef"
2022-06-17 21:00:57 +00:00
} ,
{
"parameters" : {
"fromEmail" : "it@chermigiv-rada.gov.ua" ,
"toEmail" : "ihor.nahornyy@gmail.com" ,
"subject" : "расписание" ,
"text" : "rtyrtyrty" ,
"attachments" : "data" ,
"options" : {
"allowUnauthorizedCerts" : true
}
} ,
"name" : "Send Email1" ,
"type" : "n8n-nodes-base.emailSend" ,
"typeVersion" : 1 ,
"position" : [
0 ,
380
] ,
2022-08-16 21:00:49 +00:00
"id" : "f83e21c5-62e7-40f3-b7e7-57723ffc3bdc" ,
2022-06-17 21:00:57 +00:00
"credentials" : {
"smtp" : {
"id" : "34" ,
"name" : "mail.chernigiv-rada.gov.ua"
}
2022-08-16 21:00:49 +00:00
}
2022-06-17 21:00:57 +00:00
} ,
{
"parameters" : {
"resource" : "file" ,
"path" : "/home/igor/ftp/html" ,
"options" : { }
} ,
"name" : "SSH" ,
"type" : "n8n-nodes-base.ssh" ,
"typeVersion" : 1 ,
"position" : [
-40 ,
700
] ,
2022-08-16 21:00:49 +00:00
"id" : "a8f4d7c7-9265-4808-abf1-e430c55be643" ,
2022-06-17 21:00:57 +00:00
"credentials" : {
"sshPassword" : {
"id" : "35" ,
"name" : "192.168.40.23"
}
2022-08-16 21:00:49 +00:00
}
2022-05-26 20:57:30 +03:00
}
] ,
"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
}
]
]
2022-06-17 21:00:57 +00:00
} ,
"iCalendar" : {
"main" : [
[
{
"node" : "Send Email1" ,
"type" : "main" ,
"index" : 0
} ,
{
"node" : "SSH" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"Start" : {
"main" : [
[
{
"node" : "iCalendar" ,
"type" : "main" ,
"index" : 0
}
]
]
2022-05-26 20:57:30 +03:00
}
} ,
"settings" : { } ,
"staticData" : {
"node:IMAP Email" : {
2022-10-27 21:01:19 +00:00
"lastMessageUid" : 6965
2022-05-26 20:57:30 +03:00
}
2022-06-09 21:00:39 +00:00
} ,
2022-08-16 21:00:49 +00:00
"pinData" : { } ,
2022-06-09 21:00:39 +00:00
"tags" : [ ]
2022-05-26 20:57:30 +03:00
}