予定slack通知サービス(Prsoniumカレンダーとの連携を前提)
- slackのワークスペース、Botの作成(slack通知のためにはBotトークンが必要)
- bar/90_contents/ServiceInfo/ServiceInfo.jsonに必要な情報を記述
- barフォルダを圧縮して、barファイルを作成
- Boxインストール(Personiumカレンダーアプリを自分のユーザセルにインストールしていることが前提)
- Box名:app-schedule-notifier
- Personiumカレンダーアプリとの連携のためのルールを手動でユーザセルに登録
{
"EventType": "odata.create",
"EventObject": "personium-localcell:/io_personium_demo_app-personium-calendar/OData/vevent",
"Action": "exec",
"TargetUrl": "personium-localcell:/app-schedule-notifier/SetTimer/setTimer"
}
{
"EventType": "odata.update",
"EventObject": "personium-localcell:/io_personium_demo_app-personium-calendar/OData/vevent",
"Action": "exec",
"TargetUrl": "personium-localcell:/app-schedule-notifier/UpdateTimer/updateTimer"
}
{
"EventType": "odata.delete",
"EventObject": "personium-localcell:/io_personium_demo_app-personium-calendar/OData/vevent",
"Action": "exec",
"TargetUrl": "personium-localcell:/app-schedule-notifier/DeleteTimer/deleteTimer"
}
Personiumカレンダーアプリで何かしらの予定を同期すると、予定の開始時刻になるとslackに通知される。