138 lines
3.1 KiB
JSON
138 lines
3.1 KiB
JSON
{
|
|
"id": "f2rn29FKq1ejX2ax",
|
|
"name": "GTasks: Get All Tasklists",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"inputSource": "passthrough"
|
|
},
|
|
"type": "n8n-nodes-base.executeWorkflowTrigger",
|
|
"typeVersion": 1.1,
|
|
"position": [
|
|
-496,
|
|
-32
|
|
],
|
|
"id": "f59e1396-3f70-4fbe-b3e7-55bf3dc81643",
|
|
"name": "When Executed by Another Workflow"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"url": "https://tasks.googleapis.com/tasks/v1/users/@me/lists",
|
|
"authentication": "predefinedCredentialType",
|
|
"nodeCredentialType": "googleTasksOAuth2Api",
|
|
"options": {}
|
|
},
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"typeVersion": 4.3,
|
|
"position": [
|
|
-288,
|
|
-32
|
|
],
|
|
"id": "e12cd0e7-b2ce-411d-a8bc-91ffadde6d61",
|
|
"name": "HTTP Request",
|
|
"credentials": {
|
|
"googleTasksOAuth2Api": {
|
|
"id": "ErcYIjq8Xs0GRaPF",
|
|
"name": "ben.io-gtasks"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"parameters": {
|
|
"fieldToSplitOut": "items",
|
|
"options": {}
|
|
},
|
|
"type": "n8n-nodes-base.splitOut",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
-64,
|
|
-32
|
|
],
|
|
"id": "f0e3ebe4-5356-4598-97df-cde07e4e1c05",
|
|
"name": "Split Out"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"assignments": {
|
|
"assignments": [
|
|
{
|
|
"id": "f442a5ba-055a-448d-8369-45bf2bf80f66",
|
|
"name": "tasklist_id",
|
|
"value": "={{ $json.id }}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"id": "240d364a-e9fe-4e4f-94d8-84bbca5af83f",
|
|
"name": "tasklist_title",
|
|
"value": "={{ $json.title }}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"id": "2ced6d2c-0606-4db1-b85c-a8fb23634f4b",
|
|
"name": "updated",
|
|
"value": "={{ $json.updated }}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"options": {}
|
|
},
|
|
"type": "n8n-nodes-base.set",
|
|
"typeVersion": 3.4,
|
|
"position": [
|
|
144,
|
|
-32
|
|
],
|
|
"id": "4abab24d-e1ed-4869-9ba5-86af722ec6cf",
|
|
"name": "Edit Fields"
|
|
}
|
|
],
|
|
"connections": {
|
|
"When Executed by Another Workflow": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "HTTP Request",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"HTTP Request": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Split Out",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Split Out": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Edit Fields",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
},
|
|
"triggerCount": 0,
|
|
"versionId": "ad7d4359-aa25-4ecf-9f7e-467fdf906dbc",
|
|
"owner": {
|
|
"type": "personal",
|
|
"projectId": "FeLO36wNUAcn61Wj",
|
|
"projectName": "Ben W <admin@ben.io>",
|
|
"personalEmail": "admin@ben.io"
|
|
},
|
|
"parentFolderId": "OJ2UfPNUOAOHlllh",
|
|
"isArchived": false
|
|
} |