/slack-integrations

A few Slack integrations to make members' digital lives easier

Primary LanguageJavaScriptMIT LicenseMIT

RPI Ambulance's Slack integrations

There are a number of integrations included in this Node.js file, intended to ease logistics and information-sharing of RPI Ambulance members. Read on to find out more.

AmIResponding?

This integration was the origin on this entire project. AIR provides IamResponding-type functionality for free and within a Slack team. It utilizes Slack's bot users API to post an interactive message when a call is dispatched.

This interactive message posts some information about the call and queries channel members if they're responding or not. It the posts for the channel to see each person's status.

Here's how a dispatch looks in Slack—with a few people who responded to the call:


/whoson slash command

This integration provides the RPI Ambulance crew schedule for:

  • The current crew, between 1800 and 0600 hours
  • The previous night's crew and tonight's crew, between 0600 and 0900 hours
  • Tonight's crew, between 0900 and 1800 hours

These differences provide a logical and grammatically accurate description of the status of night crews. The time between 0600 and 0900 hours was specifically selected because the previous night's crew will often still respond to emergency calls—even after their "shift" ended.


RPIAlert

The RPIAlert system provides audible, SMS, and email notifications to the RPI campus during high-priority, critical, rapidly changing events. Several systems have been set up to work with RPIAlert, including Concerto Emergency, most of which utilize RPIAlert's public RSS feed.

This Slack integration uses the RSS feed, as well, and forwards the alert to everybody on the #alerts channel, a specific channel intended to never be muted.

For good measure, here's how an alert looks in the channel:


Credits

Developers

License

RPI Ambulance's Slack integrations are provided under the MIT license.