219 lines
4.8 KiB
JSON
Executable File
219 lines
4.8 KiB
JSON
Executable File
{
|
|
"id": 13,
|
|
"name": "birthday",
|
|
"active": true,
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"name": "Start",
|
|
"type": "n8n-nodes-base.start",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-200,
|
|
480
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"title": "={{$json[\"summary\"]}}",
|
|
"body": "={{$json[\"description\"]}}"
|
|
},
|
|
"name": "Pushbullet",
|
|
"type": "n8n-nodes-base.pushbullet",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
460,
|
|
580
|
|
],
|
|
"credentials": {
|
|
"pushbulletOAuth2Api": {
|
|
"id": "10",
|
|
"name": "Pushbullet account"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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,
|
|
580
|
|
],
|
|
"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()}}",
|
|
"importance": "high",
|
|
"status": "inProgress"
|
|
}
|
|
},
|
|
"name": "Microsoft To Do3",
|
|
"type": "n8n-nodes-base.microsoftToDo",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
460,
|
|
440
|
|
],
|
|
"credentials": {
|
|
"microsoftToDoOAuth2Api": {
|
|
"id": "4",
|
|
"name": "Microsoft To Do account"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"connections": {
|
|
"Start": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Google Calendar1",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Cron": {
|
|
"main": [
|
|
[
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"createdAt": "2022-04-30T16:57:58.520Z",
|
|
"updatedAt": "2022-06-21T03:20:25.679Z",
|
|
"settings": {
|
|
"saveExecutionProgress": "DEFAULT",
|
|
"errorWorkflow": "25"
|
|
},
|
|
"staticData": null,
|
|
"pinData": null,
|
|
"tags": [
|
|
{
|
|
"id": "2",
|
|
"name": "my",
|
|
"createdAt": "2022-05-19T09:37:15.931Z",
|
|
"updatedAt": "2022-05-19T09:37:15.931Z"
|
|
}
|
|
]
|
|
} |