Skip to content

Commit 71ef6bb

Browse files
committed
wfh bot blog post
1 parent 93bbb5a commit 71ef6bb

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: post
3+
title: Working From Home Slack Bot
4+
author: Mike James
5+
categories: [hacks,javascript,node, slack]
6+
---
7+
So back in June we had a hackday and produced an initial release of what we call WFH (working from home) bot (see [original post](/blog/hack-day-wfh-bot)). We have a remote working policy, so rather than having a long WFH email chain being sent individually everyday we've built a system to help. Slack is core to all internal chat communications and everyone uses it. It also provides a flexible API which makes it good place to interact with WFH.
8+
9+
The first version of WFH was private on Github, today we're releasing it as OpenSource. As we figured this might be useful to other people working remotely. This post documents the recent changes and features. Its here for you to play with and [host your own](https://github.com/pebblecode/wfh-api).
10+
11+
###What's changed?
12+
We've had a play around with the api and had some interations, we've also experimented with one version in Erlang. We've settled at the moment for a node.js version, as most of us devs here at pebble write JavaScript. But we're going to continue playing with Erlang as its an interesting platform.
13+
14+
#### Parameters
15+
We now have parameters in the slash commands.
16+
17+
`default: (wfh,wfo)`
18+
Allows you to change your default status. Say for example you change; to working from home by default and come to the office less frequently.
19+
20+
`message: I'm at a conference`
21+
messages allow you to give some description.
22+
23+
####Statuses
24+
We have InOffice, OutOfOffice, Sick and Holiday. All statuses last for a full working day. Say you want to set the status for your next day at work to another status you can do that after 8pm as we figured most people won't be updating their status for the current working day at 8pm.
25+
26+
27+
###Architecture
28+
![image of architecture](/img/posts/2015-11-03-wfh-slack/diagram.png)
29+
30+
###Integrations
31+
The api has full CRUD functionality, see the docs for more details. So this is open for your own integrations. We've used this to integrate with [Tribe HR](https://github.com/pebblecode/tribehr-holiday-fetcher) and [send Emails at 10am](https://github.com/pebblecode/wfh-email-cron)
32+
33+
###We'd love to hear from you
34+
Let us know what you do with WFH bot.
35+
36+
127 KB
Loading

0 commit comments

Comments
 (0)