first commit
This commit is contained in:
330
flows/13.json
Normal file
330
flows/13.json
Normal file
@@ -0,0 +1,330 @@
|
||||
{
|
||||
"id": 13,
|
||||
"name": "birthday",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-180,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"path": "ea62db5f-f87b-48cb-9b12-e6cf7810324b",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Webhook",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
840
|
||||
],
|
||||
"webhookId": "ea62db5f-f87b-48cb-9b12-e6cf7810324b",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"calendar": "addressbook%23contacts%40group.v.calendar.google.com",
|
||||
"returnAll": true,
|
||||
"options": {}
|
||||
},
|
||||
"name": "Google Calendar",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
120,
|
||||
540
|
||||
],
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "6",
|
||||
"name": "Google Calendar account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"dateTime": [
|
||||
{
|
||||
"value1": "={{$json[\"start\"][\"date\"]}}",
|
||||
"value2": "={{$today.minus({days: 1}).toFormat('yyyy-MM-dd').toString()}}"
|
||||
},
|
||||
{
|
||||
"value1": "={{$json[\"end\"][\"date\"]}}",
|
||||
"operation": "before",
|
||||
"value2": "={{$today.plus({days: 2}).toFormat('yyyy-MM-dd').toString()}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
360,
|
||||
540
|
||||
],
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"title": "={{$json[\"summary\"]}}",
|
||||
"body": "={{$json[\"description\"]}}"
|
||||
},
|
||||
"name": "Pushbullet",
|
||||
"type": "n8n-nodes-base.pushbullet",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
420
|
||||
],
|
||||
"credentials": {
|
||||
"pushbulletOAuth2Api": {
|
||||
"id": "10",
|
||||
"name": "Pushbullet account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"title": "={{$json[\"description\"]}}",
|
||||
"additionalFields": {
|
||||
"dueDateTime": "={{DateTime.fromISO($json[\"start\"][\"date\"]).plus({days: 1}).toString()}}",
|
||||
"status": "inProgress"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
920,
|
||||
560
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 6,
|
||||
"minute": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-200,
|
||||
680
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"returnAll": true
|
||||
},
|
||||
"name": "Microsoft To Do1",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
140,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "delete",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"taskId": "={{$json[\"id\"]}}"
|
||||
},
|
||||
"name": "Microsoft To Do2",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
380,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "getAll",
|
||||
"calendar": "addressbook%23contacts%40group.v.calendar.google.com",
|
||||
"returnAll": true,
|
||||
"options": {
|
||||
"timeMax": "={{$today.plus({days: 1}).toString()}}",
|
||||
"timeMin": "={{$today.toString()}}"
|
||||
}
|
||||
},
|
||||
"name": "Google Calendar1",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
120,
|
||||
320
|
||||
],
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "6",
|
||||
"name": "Google Calendar account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE_WemmwAAAA==",
|
||||
"title": "={{$json[\"summary\"]}}",
|
||||
"additionalFields": {
|
||||
"content": "={{$json[\"description\"]}}",
|
||||
"dueDateTime": "={{DateTime.fromISO($json[\"start\"][\"date\"]).plus({days: 1}).toString()}}",
|
||||
"status": "inProgress"
|
||||
}
|
||||
},
|
||||
"name": "Microsoft To Do3",
|
||||
"type": "n8n-nodes-base.microsoftToDo",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
480,
|
||||
280
|
||||
],
|
||||
"credentials": {
|
||||
"microsoftToDoOAuth2Api": {
|
||||
"id": "4",
|
||||
"name": "Microsoft To Do account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Google Calendar1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Calendar": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Microsoft To Do1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Google Calendar1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Calendar1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Microsoft To Do3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Pushbullet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Microsoft To Do3": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-04-30T16:57:58.520Z",
|
||||
"updatedAt": "2022-05-22T16:42:59.203Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
}
|
||||
Reference in New Issue
Block a user