GitHub - mjanzs/ProductivityScripts

Todoist

Installation:

  1. create project https://www.google.com/script/start/
  2. create and copy scripts
  3. get todoist access token
    • login into Todoist web
    • ho to Todoist settings under config menu
    • select Account tab
    • copy the API token value
  4. add todoist token to Google Scripts project
    • go to Google Scripts console and open project
    • select File tab
    • go to project settings
    • add 'todoist_token' with the toke to 'Script properties'
  5. setup time-based trigger (event 5 mins for example)

GmailToTodoist.gs

script workflow:

  1. search stared emails without 'todoist' label
  2. create todoist task
  3. add 'todoist' label

SlackToTodoist.gs

Installation:

  1. get workspace api token https://api.slack.com/custom-integrations/legacy-tokens
  2. add slack token to Google Scripts project
    • go to Google Scripts console and open project
    • select File tab
    • go to project settings
    • add 'slack_token' with the toke to 'Script properties'
  3. setup time-based trigger (event 5 mins for example)

script workflow:

  1. search stared messages
  2. create todoist task
  3. unstar messages