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
88
0
Share
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
June 07, 2019
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.7k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
110
GraphQLの紹介 / graphql-introduction
howyi
0
86
Amplifyの紹介/amplify-introduction
howyi
0
100
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
89
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
120
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
120
ClickUpで始める進捗管理 / ClickUp
howyi
0
520
Other Decks in Programming
See All in Programming
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
970
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.6k
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
340
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
200
3Dシーンの圧縮
fadis
1
600
dRuby over BLE
makicamel
2
300
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
710
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
610
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
17
5.8k
Oxlintのカスタムルールの現況
syumai
5
990
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.5k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Agile that works and the tools we love
rasmusluckow
331
21k
Documentation Writing (for coders)
carmenintech
77
5.4k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
AI: The stuff that nobody shows you
jnunemaker
PRO
8
690
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
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