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
Serverless Slack bot
Search
lielran
February 27, 2017
Technology
260
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Slack bot
Serverless slack bot @Hibob
lielran
February 27, 2017
More Decks by lielran
See All by lielran
aws-sageMaker
lielran
0
22
All-In-On-Serverless
lielran
1
52
the future of development environment
lielran
0
48
Other Decks in Technology
See All in Technology
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
270
FPC(フレキシブル)基板にZephyr実装してみた。
iotengineer22
0
180
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
340
気軽に使える"情報のハブ"としてのNotion活用 〜フロー情報の集積点 と、 Claude Code × Notion AI〜
syucream
1
210
AI時代における最適なQA組織の作り方
ymty
3
120
感情と身体を置き去りにしない、エンジニアの生きのこり方 ──いまから、ここから「自分の状態」を扱うという選択
saorimurooka
0
360
IaC コードを資産へ:AWS CDK 社内ライブラリと横断展開 / aws-summit-japan-2026
gotok365
10
1.6k
起点・思考・出力で分解する 〜PM業務の自動化設計〜
kazu_kichi_67
2
1.1k
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
330
AWS Security Agent といっしょに脅威モデリングをやってみよう
amarelo_n24
1
210
iOS アプリの「これって不具合ですか?」を AI に調べてもらう
miichan
0
150
2026-06-24_人とAIの責務分離に基づく開発プロセスの提案.pdf
takahiromatsui
0
240
Featured
See All Featured
HDC tutorial
michielstock
2
720
Paper Plane (Part 1)
katiecoart
PRO
0
9.3k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
WCS-LA-2024
lcolladotor
0
660
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.8k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
260
Scaling GitHub
holman
464
140k
It's Worth the Effort
3n
188
29k
Tell your own story through comics
letsgokoyo
1
980
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Transcript
None
Private & Confidential 2 HIBOB.COM SORTING THE PEOPLE STUFF
Private & Confidential 3 HR Bob in a nutshell Digital
Broker & All in one cloud-based platform for SMEs
Private & Confidential 4 Employee Engagement . Leveraging the platforms
Buying power. Up-selling private insurance. Bob in a nutshell
The mission Slack service @hibob Serverless framework Benefits Challenges The
Agenda
Build a Slack Service Simple setup Fast development Easy to
onboard new team members The Mission
Slack service @hibob
The Serverless framework Cli tool(Nodejs) Cloudformation based Supports multiple regions
Supports multiple Stages per region Can deploy all(function) or only one of them Versioning and Rollback supported. Support environments variables for each environment
Serverless 101 Serverless.yml file (config) Function Handlers (code)
Serverless.yml(config) file service: hello-lambda provider: name: aws runtime: nodejs4.3 #
(Support LTS versions) functions: hello: handler: handler.hello memorySize: 1524 # optional, default is 1024 timeout: 10 # timeout in secs events: - http: #other events: S3, schedule, sns, DynamoDbStream, alexaSkill, IOT path: users/create method: get custom: FOO: BAR resources: … # CloudFormation resource templates
The function • Event - event data to the handler
• Context - runtime information • Callback - optional callback to return information to the caller
The Serverless framework - deployment $ serverless deploy Serverless.yml Zip
Cloudformation update Update Lambda
Other frameworks Apex Aws SAM And many more!
None
Slack - OAuth
Slack - Scopes 1. Webhook - url that you can
post messages to 2. Command - invoke request for data (e.g /giphy ) 3. Bot - read your channel data
Slack Service - OAuth
Slack Service - Webhooks(Cron)
Slack Service - Command
Slack Service - Command
Serverless Slack Service - Benefits Cost effective Fast development Infinite
scale Easy setup Easy onboarding new team members
Pitfalls
Pitfall #1 - Submit request only after long live token
Pitfall #2 - Use Lambda Proxy integration
Pitfall #3 - Node.Js On lambda Aws Lambda support only
LTS version Keep the setup simple - avoid babel/webpack if you can
Challenges Unit / Integration testing Debug Development flow in teams
Service discovery Architecture Communication with other lambdas Cold starts Monitoring/Health checks
Questions?