{ "kind": "open-flow-workflow", "version": 1, "name": "Google Task Creator", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_b4a6b2565e7b992b": { "name": "Create a task", "kind": "start", "inputDefs": [] }, "n_6c284a43ad200b0b": { "inputs": { "tasklistId": { "kind": "value", "value": "YOUR_TASK_LIST_ID" }, "title": { "kind": "value", "value": "New task" } }, "name": "Create Google task", "kind": "task", "task": { "inputs": [ { "description": "Google Tasks task list ID. Use @default for the primary list when supported.", "jsonSchema": { "type": "string", "minLength": 1, "description": "Google Tasks task list ID. Use @default for the primary list when supported." }, "nullable": true, "handle": "tasklistId", "value": null }, { "description": "Task resource ID to send in the request body.", "jsonSchema": { "type": "string", "description": "Task resource ID to send in the request body." }, "nullable": true, "handle": "id", "value": null }, { "description": "Entity tag to send in the request body.", "jsonSchema": { "type": "string", "description": "Entity tag to send in the request body." }, "nullable": true, "handle": "etag", "value": null }, { "description": "Task title.", "jsonSchema": { "type": "string", "description": "Task title." }, "nullable": true, "handle": "title", "value": null }, { "description": "Plain-text task notes.", "jsonSchema": { "type": "string", "description": "Plain-text task notes." }, "nullable": true, "handle": "notes", "value": null }, { "description": "Task status.", "jsonSchema": { "type": "string", "enum": [ "needsAction", "completed" ], "description": "Task status." }, "nullable": true, "handle": "status", "value": null }, { "description": "Task due timestamp in RFC 3339 format.", "jsonSchema": { "type": "string", "format": "date-time", "description": "Task due timestamp in RFC 3339 format." }, "nullable": true, "handle": "due", "value": null }, { "description": "Completion timestamp in RFC 3339 format when the task is completed.", "jsonSchema": { "type": "string", "format": "date-time", "description": "Completion timestamp in RFC 3339 format when the task is completed." }, "nullable": true, "handle": "completed", "value": null }, { "description": "Whether the task is marked as deleted.", "jsonSchema": { "type": "boolean", "description": "Whether the task is marked as deleted." }, "nullable": true, "handle": "deleted", "value": null }, { "description": "Parent task ID.", "jsonSchema": { "type": "string", "description": "Parent task ID." }, "nullable": true, "handle": "taskParent", "value": null }, { "description": "Previous sibling task ID.", "jsonSchema": { "type": "string", "description": "Previous sibling task ID." }, "nullable": true, "handle": "taskPrevious", "value": null } ], "outputs": [ { "description": "Created task.", "jsonSchema": { "type": "object", "properties": { "id": { "type": "string", "description": "Google Tasks task ID." }, "kind": { "type": "string", "description": "Google Tasks resource kind." }, "etag": { "type": [ "string", "null" ], "description": "Entity tag for the task resource." }, "title": { "type": [ "string", "null" ], "description": "Task title." }, "notes": { "type": [ "string", "null" ], "description": "Task notes." }, "status": { "type": [ "string", "null" ], "enum": [ "needsAction", "completed", null ], "description": "Task status." }, "parent": { "type": [ "string", "null" ], "description": "Parent task ID when this task is a subtask." }, "position": { "type": [ "string", "null" ], "description": "Lexicographic position token among sibling tasks." }, "due": { "type": [ "string", "null" ], "description": "Task due timestamp in RFC 3339 format." }, "completed": { "type": [ "string", "null" ], "description": "Timestamp when the task was completed, in RFC 3339 format." }, "deleted": { "type": "boolean", "description": "Whether the task is marked as deleted." }, "hidden": { "type": "boolean", "description": "Whether the task is hidden from the default Google Tasks view." }, "updated": { "type": [ "string", "null" ], "description": "Last update time for the task, in RFC 3339 format." }, "selfLink": { "type": [ "string", "null" ], "description": "API URL for the task resource." }, "webViewLink": { "type": [ "string", "null" ], "description": "Google Tasks web URL for the task." }, "links": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Type of linked resource." }, "link": { "type": "string", "description": "Absolute URL or URI for the linked resource." }, "description": { "type": "string", "description": "Human-readable description of the link." } }, "required": [ "type", "link" ], "additionalProperties": false, "description": "A link attached to a Google Task." }, "description": "Links attached to the task." }, "assignmentInfo": { "type": [ "object", "null" ], "properties": { "surfaceType": { "type": "string", "enum": [ "CONTEXT_TYPE_UNSPECIFIED", "GMAIL", "DOCUMENT", "SPACE" ], "description": "Type of surface where the task was assigned." }, "linkToTask": { "type": "string", "description": "Absolute link to the source assignment surface." }, "spaceInfo": { "type": "object", "properties": { "space": { "type": "string", "description": "Google Chat space resource name." } }, "additionalProperties": false, "description": "Google Chat space information for assigned tasks." }, "driveResourceInfo": { "type": "object", "properties": { "driveFileId": { "type": "string", "description": "Google Drive file ID for the source document." }, "resourceKey": { "type": "string", "description": "Google Drive resource key for the source document." } }, "additionalProperties": false, "description": "Google Drive file information for assigned tasks." } }, "additionalProperties": false, "description": "Assignment metadata for tasks created from other Google surfaces." } }, "required": [ "id", "kind", "etag", "title", "notes", "status", "parent", "position", "due", "completed", "deleted", "hidden", "updated", "selfLink", "webViewLink", "links", "assignmentInfo" ], "additionalProperties": false, "description": "Created task." }, "nullable": false, "handle": "task" } ], "name": "Create Google task", "executor": { "kind": "connector", "action": "googletasks.insert_task" } } }, "n_6349b5aa4861d310": { "name": "Created task", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "object", "properties": { "id": { "type": "string", "description": "Google Tasks task ID." }, "kind": { "type": "string", "description": "Google Tasks resource kind." }, "etag": { "type": [ "string", "null" ], "description": "Entity tag for the task resource." }, "title": { "type": [ "string", "null" ], "description": "Task title." }, "notes": { "type": [ "string", "null" ], "description": "Task notes." }, "status": { "type": [ "string", "null" ], "enum": [ "needsAction", "completed", null ], "description": "Task status." }, "parent": { "type": [ "string", "null" ], "description": "Parent task ID when this task is a subtask." }, "position": { "type": [ "string", "null" ], "description": "Lexicographic position token among sibling tasks." }, "due": { "type": [ "string", "null" ], "description": "Task due timestamp in RFC 3339 format." }, "completed": { "type": [ "string", "null" ], "description": "Timestamp when the task was completed, in RFC 3339 format." }, "deleted": { "type": "boolean", "description": "Whether the task is marked as deleted." }, "hidden": { "type": "boolean", "description": "Whether the task is hidden from the default Google Tasks view." }, "updated": { "type": [ "string", "null" ], "description": "Last update time for the task, in RFC 3339 format." }, "selfLink": { "type": [ "string", "null" ], "description": "API URL for the task resource." }, "webViewLink": { "type": [ "string", "null" ], "description": "Google Tasks web URL for the task." }, "links": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Type of linked resource." }, "link": { "type": "string", "description": "Absolute URL or URI for the linked resource." }, "description": { "type": "string", "description": "Human-readable description of the link." } }, "required": [ "type", "link" ], "additionalProperties": false, "description": "A link attached to a Google Task." }, "description": "Links attached to the task." }, "assignmentInfo": { "type": [ "object", "null" ], "properties": { "surfaceType": { "type": "string", "enum": [ "CONTEXT_TYPE_UNSPECIFIED", "GMAIL", "DOCUMENT", "SPACE" ], "description": "Type of surface where the task was assigned." }, "linkToTask": { "type": "string", "description": "Absolute link to the source assignment surface." }, "spaceInfo": { "type": "object", "properties": { "space": { "type": "string", "description": "Google Chat space resource name." } }, "additionalProperties": false, "description": "Google Chat space information for assigned tasks." }, "driveResourceInfo": { "type": "object", "properties": { "driveFileId": { "type": "string", "description": "Google Drive file ID for the source document." }, "resourceKey": { "type": "string", "description": "Google Drive resource key for the source document." } }, "additionalProperties": false, "description": "Google Drive file information for assigned tasks." } }, "additionalProperties": false, "description": "Assignment metadata for tasks created from other Google surfaces." } }, "required": [ "id", "kind", "etag", "title", "notes", "status", "parent", "position", "due", "completed", "deleted", "hidden", "updated", "selfLink", "webViewLink", "links", "assignmentInfo" ], "additionalProperties": false, "description": "Created task." }, "nullable": false, "handle": "task" } ], "outputMappings": { "task": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_6c284a43ad200b0b", "output": "task" } ] } } } }, "edges": [ { "source": "n_b4a6b2565e7b992b", "target": "n_6c284a43ad200b0b" }, { "source": "n_6c284a43ad200b0b", "target": "n_6349b5aa4861d310" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }