Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SlackへのKPI通知Botを作ったら いろいろ捗った話
Search
yaginuuun
January 22, 2019
Business
1
2.3k
SlackへのKPI通知Botを作ったら いろいろ捗った話
yaginuuun
January 22, 2019
Tweet
Share
More Decks by yaginuuun
See All by yaginuuun
メルカリホーム画面におけるレコメンド改善事例 - Long-tailを考慮した辞書拡張
shyaginuma
3
1.6k
メルカリにおけるA/Bテストワークフローの改善 これまでとこれから
shyaginuma
2
1.8k
メルカリにおけるA/Bテスト標準化への取り組み
shyaginuma
21
13k
A/BテストにおけるVariance reduction
shyaginuma
2
2.7k
初めての機械学習PJを やってみて得た知見
shyaginuma
2
4.6k
過去コンペベースの学習をやってみたら意外と良かった話
shyaginuma
0
760
Kaggleもくもく会イントロ
shyaginuma
0
220
1on1 SQL Introduction at Globis
shyaginuma
1
1.4k
BigQueryMLハンズオン勉強会
shyaginuma
3
960
Other Decks in Business
See All in Business
「つくる」から「考える」へ ― PdMの重⼼をシフトさせるために
itsukikacky
0
930
株式会社ネイチャーズウェイ会社説明資料
naturesway
1
2.9k
ウィルゲート開発組織の紹介 / willgate engineering team
willgate
0
340k
サスメド株式会社 Culture Deck
susmed
0
47k
生成AI×個人情報保護法 ― 改正動向から読み解く実務の行方
seko_shuhei
4
1.3k
2025年 コミュニティ×ビジネスのリアル_Mitz
comucal
PRO
0
170
エンジニア用 Photosynth 会社説明資料
photosynth_career
PRO
0
410
ITで設備を制御する
tmizushima
1
500
【Progmat】デジタル資産の基礎知識(ST・SC動向俯瞰|2025年秋)
progmat
0
360
opt recruit
digitalholdings
0
54k
転職せずに 仕事の満足度を上げる方法:ジョブ・クラフティング入門
megumikeda
0
270
【Progmat】Monthly-ST-Market-Report-2025-Oct.
progmat
0
330
Featured
See All Featured
Statistics for Hackers
jakevdp
799
220k
Faster Mobile Websites
deanohume
310
31k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
650
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
Bash Introduction
62gerente
615
210k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Transcript
SlackへのKPI通知Botを作ったら いろいろ捗った話 グロービス データサイエンティスト 柳沼慎哉 2019/1/22 Data Driven Developer Meetup#4
自己紹介 ・データサイエンティスト@麹町 ・18新卒 ・サブスクサービスの分析、可視化レポーティングなど担当 ・今年はKaggleやっていきたい ・twitter → @yaginuuun
今日話すこと ・なんでやろうと思ったのか ・どのようにやっているのか? ・やった結果 ・+αで工夫しているポイント
今日話さないこと ・詳しい実装 → Qiitaに記事書きました!(ツイート固定してます)
なんでやろうと思ったのか ・去年データ基盤の整備を頑張った(AWS AthenaからBigQueryへの移行) ・今年はデータ活用して影響範囲を広げていきたい ・ちょうどGAS習った → やるか(`・ω・´)
どのようにやっているか? ・GASを使ってSlackに通知 ・デイリー(平日) ・ウィークリー(毎週月曜日) ・マンスリー(毎月1日)
GAS ・サーバレスでJavascriptを実行できる環境(無料!!) ・Gsuiteのサービス同士を数行のコードで連携させられる(外部APIも叩ける) (定期実行のトリガーを簡単に設定できる)
①BigQueryにクエリを投げて結果を返す
②Slackのメッセージを組み立てる
②Slackのメッセージを組み立てる Slackのメッセージビルダーを使いながらやると良い https://api.slack.com/docs/messages/builder
③Slackにポストする これだけ!!
④トリガーを仕込む ・毎週何曜日 ・毎月何日 ・何分おき などなど
詳しくは記事へ!!
やった結果 ・数値に関する話題が増えた ・データに関わりの薄い人(コンテンツ制作担当や法人担当者)もデータを見るように なった ・数値感(あの数字は大体このくらい)が定着してきた
工夫しているポイント ① 親しみやすいキャラ ② カスタムコメント ③ 割合の数値は分母を見せる
① 親しみやすいキャラ ・できるだけデータへのハードルを下げる
② カスタムコメント ・その日の数字によってコメントが変わる
③ 割合の数値は分母を見せる ・日毎の変化に過敏にならないようにする
まとめ ・GASを使うと簡単に定期的なSlackへのKPI通知ができる ・KPI通知はSmall winとしてかなり有効 ・ぜひやりましょう!
ありがとうございました!