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
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
Search
howyi
June 07, 2019
Programming
0
73
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
June 07, 2019
Tweet
Share
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.6k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
97
GraphQLの紹介 / graphql-introduction
howyi
0
70
Amplifyの紹介/amplify-introduction
howyi
0
85
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
85
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
110
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
100
ClickUpで始める進捗管理 / ClickUp
howyi
0
500
Other Decks in Programming
See All in Programming
CloudflareのSandbox SDKを試してみた
syumai
0
180
「10分以内に機能を消せる状態」 の実現のためにやっていること
togishima
1
540
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
5
1k
CSC509 Lecture 11
javiergs
PRO
0
310
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
190
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
190
例外処理を理解して、設計段階からエラーを見つけやすく、起こりにくく #phpconfuk
kajitack
12
6.4k
AI時代もSEOを頑張っている話
shirahama_x
0
160
Module Harmony
petamoriken
2
550
AWS CDKの推しポイントN選
akihisaikeda
1
170
「文字列→日付」の落とし穴 〜Ruby Date.parseの意外な挙動〜
sg4k0
0
270
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
340
Featured
See All Featured
Side Projects
sachag
455
43k
Practical Orchestrator
shlominoach
190
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Embracing the Ebb and Flow
colly
88
4.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The Pragmatic Product Professional
lauravandoore
36
7k
Optimizing for Happiness
mojombo
379
70k
Bash Introduction
62gerente
615
210k
The Cult of Friendly URLs
andyhume
79
6.7k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Done Done
chrislema
186
16k
Transcript
αʔόϨεΞʔΩςΫνϟͰ SlackBotΛ࡞Δ
ͳͥ࡞͔ͬͨ • Slackͷ࿈ܞػೳΛ࡞Δ্ͰɺͲͷΑ͏ͳ࣮͕ཁΔ͔Λখ͍͞BotΛ࡞Δ͜ ͱͰݕূ͔ͨͬͨ͠ • ͱΓ͋͑ͣAmplifyͰͳΜ͔Γ͔ͨͬͨ
ػೳ SlackͰɺͷReactionΛΒͬͨΛϒϥβ ͔ΒϥϯΩϯάܗࣜͰදࣔ͢Δ
ػೳ SlackBotͰΑ͋͘Δ ʮtokenΛίίʹهࡌ͠·͠ΐ͏ʂʯͱ͍͏ܗ ࣜͷBotͰͳ͘ɺSlackͷ࿈ܞը໘͕ग़ΔλΠ ϓͷSlackBot
ϩάΠϯը໘ aws-amplifyϥΠϒϥϦͷσϑΥϧτ͔Βશ͘มߋͳ͠
ϥϯΩϯάը໘
ϥϯΩϯάը໘ ొͨ͠SlackνʔϜ ϥϯΩϯά ΫϦοΫͰSlack࿈ܞը໘
ٕज़
ٕज़
ٕज़ SlackBotͷ client_idΛ֨ೲ Workspaceใ ϥϯΫใΛ֨ೲ ϥϯΩϯάϖʔδͷ ϗεςΟϯά Slack࿈ܞपΓAPI Gateway +
Lambda
ײ • Reactionɺͳ͔ͥଟॏͰདྷΔ͜ͱ͕͋ͬͯࠔΔ • ҰճͷReactionͰ+2͞ΕͨΓ͢Δ • AmplifyͰ৭ʑͰ͖Δ͜ͱ͕Θ͔ͬͨ
ιʔείʔυެ։ͯ͠·͢ https://github.com/howyi/futon