A Warm Welcome to Erna

Insights into our Slack bot for lunch dates

Felix Heck
Dec 10, 2018 · 4 min read
Exemplary Sign-Up

Erna’s Origin

Erna’s Anatomy

Interaction Flows

interaction flows within erna

Request Verification

Storage Adapters

Configuration

TOKEN=xoxb-123456-7890
SECRET=oursupersecretslacksecret
DB=mongodb://username:password@one.myinstance.com:27017
LOCATIONS=#America/Chicago:Austin#Europe/Berlin:Berlin,Munich
MATCH_TIME=10:00
MATCH_DAY=TUE
MATCH_SIZE=3
MATCH_INTERVAL=1,3
DB: {
name: 'db',
default: undefined,
props: {
url (x) {
return x
},
type (x) {
if (!x) {
return x
}
const url = new URL(x.split(',')[0])
return url.protocol.slice(0, -1)
}
}
}

Erna’s Role at car2go


sharenowTech

SHARE NOW TECH Blog

Felix Heck

Written by

backend engineer & developer advocate at @sharenowTech • ex @brandwatch • author at @daheqcom

sharenowTech

SHARE NOW TECH Blog