Recipe Create Task List
googleworkspace/cli20.2k
This skill automates the creation of Google Tasks lists and adds initial tasks, enabling users to streamline task management through command-line commands. It supports functionalities like creating task lists, inserting tasks with details such as notes and deadlines, and listing current tasks. Ideal for productivity-focused users and teams seeking to manage tasks efficiently via scripting or automation.
Create a Task List and Add Tasks
PREREQUISITE: Load the following skills to execute this recipe:
gws-tasksSet up a new Google Tasks list with initial tasks.
Steps
- Create task list:
gws tasks tasklists insert --json '{"title": "Q2 Goals"}' - Add a task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Review Q1 metrics", "notes": "Pull data from analytics dashboard", "due": "2024-04-01T00:00:00Z"}' - Add another task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Draft Q2 OKRs"}' - List tasks:
gws tasks tasks list --params '{"tasklist": "TASKLIST_ID"}' --format table
GitHub Owner
Owner: googleworkspace
GitHub Links
- Website: https://developers.google.com/workspace
- Twitter: https://twitter.com/workspacedevs
SKILL.md
name: recipe-create-task-list version: 1.0.0 description: "Set up a new Google Tasks list with initial tasks." metadata: openclaw: category: "recipe" domain: "productivity" requires: bins: ["gws"] skills: ["gws-tasks"]
Create a Task List and Add Tasks
PREREQUISITE: Load the following skills to execute this recipe:
gws-tasksSet up a new Google Tasks list with initial tasks.
Steps
- Create task list:
gws tasks tasklists insert --json '{"title": "Q2 Goals"}' - Add a task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Review Q1 metrics", "notes": "Pull data from analytics dashboard", "due": "2024-04-01T00:00:00Z"}' - Add another task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Draft Q2 OKRs"}' - List tasks:
gws tasks tasks list --params '{"tasklist": "TASKLIST_ID"}' --format table