Todoist
Installation:
- create project https://www.google.com/script/start/
- create and copy scripts
- get todoist access token
- login into Todoist web
- ho to Todoist settings under config menu
- select Account tab
- copy the API token value
- 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'
- setup time-based trigger (event 5 mins for example)
GmailToTodoist.gs
script workflow:
- search stared emails without 'todoist' label
- create todoist task
- add 'todoist' label
SlackToTodoist.gs
Installation:
- get workspace api token https://api.slack.com/custom-integrations/legacy-tokens
- 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'
- setup time-based trigger (event 5 mins for example)
script workflow:
- search stared messages
- create todoist task
- unstar messages