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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
lielran
February 27, 2017
Technology
1
260
Serverless Slack bot
Serverless slack bot @Hibob
lielran
February 27, 2017
Tweet
Share
More Decks by lielran
See All by lielran
aws-sageMaker
lielran
0
21
All-In-On-Serverless
lielran
1
49
the future of development environment
lielran
0
46
Other Decks in Technology
See All in Technology
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
140
Webhook best practices for rock solid and resilient deployments
glaforge
1
270
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
800
Cosmos World Foundation Model Platform for Physical AI
takmin
0
420
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
180
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
220
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
190
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
440
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
Context Engineeringの取り組み
nutslove
0
290
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.9k
Unsuck your backbone
ammeep
671
58k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Side Projects
sachag
455
43k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
55
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
930
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?