OpenWhisk / today’s todoist to slack

I check todo every day using todoist. and my team use slack. I use OpenWhisk’s Action to tell my team about today’s work.

Create Action

Use the following python code ( save totodoist2slack_openwhisk.py )

wsk action action todaytodo todoist2slack_openwhisk.py
wsk action update todaytodo -p todoist_token XXXXX -p todoist_projectId XXXX -p slack_url https://hooks.slack.com/services/XXXXXXX
todoist_token
todoist_projectId

Invoke Action

wsk action invoke -r -b todaytodo
Result

もっぱら最近はクラウド関連なのだけどそういえば昔は文房具とかライフハック的な事が好きだった。OpenWhisk/Docker/Ansible/AWS/Softlayer/Bluemix コメントは私の個人的見解で、必ずしも所属企業の立場、戦略、意見を代表するものではありません。

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store