/google-tasks-to-skedpal

Google Tasks to SkedPal

Primary LanguageJavaScript

Google Tasks to SkedPal

Purpose

Create new Google Tasks in SkedPal automatically.

Scope

In Scope:

  • Multiple lists in Google Tasks
  • Due dates in Google Tasks

Out of Scope:

  • Due dates with time (Google API limitations)
  • Recurring Google Tasks (Google API limitations)
  • From Docs assigned Google Tasks (Google API limitations)
  • Priorities based on starred tasks (Google API limitations)
  • Updates from Google Tasks to SkedPal (SkedPal API limitations)
  • Updates from SkedPal to Google Tasks (SkedPal API limitations)
  • Complete Google Tasks on SkedPal task completion (SkedPal API limitations)

End Users

Installation

  1. Open Google Apps Script and create a new project Google Tasks to SkedPal
  2. Replace Code.gs file content with this code
  3. Replace xxx with your SkedPal Mailbox (Settings > Account)
  4. Click on the + next to Services, add Tasks API
  5. Save the project, select sendNewTasks function at the top
  6. Run the function and grant permissions (send emails, read tasks)
  7. Create a trigger for the sendNewTasks function, run it every minute

Usage

Now you can add tasks in Google and have them available in SkedPal within a minute. In SkedPal you can manage and schedule them properly. Before completing a task in SkedPal, follow the Sent by Google Tasks link the notes field to complete the task in Google first.

Developers

Requirements

Installation

  1. Clone this repository
  2. Replace xxx with your SkedPal Mailbox in credentials.template.js and save as credentials.js
  3. Run clasp login to login to Google if not done before
  4. Run clasp create --type standalone --rootDir . --title "Google Tasks to SkedPal" to create a new Apps Script Project

Development

  • Run clasp open to open the project in the Cloud IDE
  • Run clasp push to replace the remote files with the local ones
  • Run clasp pull to replace the local files with the remote ones

Build

  • Run node buildscript.js to build the Code.gs file