.../articles/
Sending XaaS Updates to Slack with IFTTT and Twitter

Sending XaaS Updates to Slack with IFTTT and Twitter

2020.02.06

Preface

Do you use PaaS, SaaS, IaaS, and the like? (I'll refer to these collectively as XaaS below.)

If you're an engineer, you probably write code, push it to GitHub, run tests on CircleCI, and deploy to AWS. Combining XaaS services like this is just a normal part of daily work, I'd think. (The combination of services varies, and this isn't limited to engineers, either.)

Don't you know people who jokingly say, "Well, I guess I can't work today," whenever GitHub has an outage? Or maybe you've had the experience of investigating a bug in your system, only to find out it was actually an outage or scheduled maintenance on some XaaS.

When an outage occurs in an XaaS you rely on, it obviously disrupts your work, but if you're not aware of it, you might also end up chasing the wrong root cause entirely.

For example, this blog manages its articles with Contentful, so something like "The blog is down!" → "Maybe something's wrong with the code?" → "Nothing looks wrong..." → "Oh, it was a Contentful outage" could happen.

In other words, I think being able to quickly and accurately grasp information about outages or upcoming maintenance for the XaaS you use is an important concern for system administrators and developers.


What I did

As a prerequisite, the XaaS needs to run a Twitter account (official, or unofficial if trustworthy) that shares outage and maintenance information, and you need to have IFTTT and Slack available.

Also, the approach introduced here is a simplified one, so if you want to do this properly, please consider other methods.

Adding an Applet in IFTTT

First, connect your Twitter and Slack accounts in IFTTT beforehand.

From the Applet creation screen, choose Twitter's "New tweet by a specific user" as This, and enter the account of the XaaS you're interested in.

For example, for GitHub there's @githubstatus, so enter githubstatus.

Next, choose Slack's "Post to channel" as That, and specify the channel where you want notifications sent. You can customize the notification content, but leaving it as-is for now is fine, too.

Once you've finished the settings above, save it.

Receiving notifications

After that, whenever the account you're following tweets, a notification will arrive in Slack.

When an outage occurred the other day, this is the kind of notification that came through.


Summary

With this, even though it's a simplified approach, we're now able to keep track of XaaS outages via Slack.

If IFTTT, Twitter, or Slack itself is down, this method won't work, so if you want stricter monitoring, I'd recommend other methods.

Also, feel free to use other events for This, and That doesn't have to be Slack either—mix and match as you like.

written by

.../article/

Articles

All articles

From Firebase to Vercel, Contentful to microCMS — a migration log written with Claude Code

From Firebase to Vercel, Contentful to microCMS — a migration log written with Claude Code

We moved our corporate site's hosting and CMS, and made it bilingual along the way. The constraints we only found by running against real data were more useful than the migration itself, so this post focuses on where we got stuck.

Can't Read POST Data with Firebase Functions × Remix?

Can't Read POST Data with Firebase Functions × Remix?

How to read POST data from a Remix action when running on Firebase Functions.

Generative AI for Executives and Leaders: An Approach to Self-Driven DX

Generative AI for Executives and Leaders: An Approach to Self-Driven DX

Building a structure where executives and leaders themselves can identify issues and evaluate solutions using generative AI. We introduce how combining this with our hands-on support dramatically improves both the quality and speed of digital transformation.

Deploying a Monorepo Next.js App (App Router) to AWS Amplify

Deploying a Monorepo Next.js App (App Router) to AWS Amplify

Notes on the obstacles we hit while deploying a Next.js app managed in a monorepo to AWS Amplify.

Keeping Production Running Smoothly with Remote Work and Online Meetings [Documentation]

Keeping Production Running Smoothly with Remote Work and Online Meetings [Documentation]

Many production companies have adopted remote work as a result of the pandemic, and we are one of them.

Designing an E-Commerce Site That Sells: How to Find Great Reference Examples

Designing an E-Commerce Site That Sells: How to Find Great Reference Examples

There is no single formula for e-commerce design that sells. Driving revenue requires a solid concept, and getting to that concept requires thorough research.

Productivity Tools We Recommend as a Production Company, Including Services That Work Well Solo

Productivity Tools We Recommend as a Production Company, Including Services That Work Well Solo

With remote work becoming the norm during the COVID-19 pandemic, our team now works from home most days of the week.

We Released Thought Recorder, a Figma Plugin for Keeping a Commit History of Your Designs

We Released Thought Recorder, a Figma Plugin for Keeping a Commit History of Your Designs

We hope this helps web designers who work in Figma. Read on for how to use it.

How to Build an E-Commerce Site, and Which Platforms We Recommend

How to Build an E-Commerce Site, and Which Platforms We Recommend

Shopping online for fashion, appliances, and even groceries is now routine. With the pandemic accelerating the shift, we receive a steady stream of questions about which platform to use and how much it costs.

Generating FastAPI Schema Classes from OpenAPI

Generating FastAPI Schema Classes from OpenAPI

We chose FastAPI, a relatively modern framework, for a Python API project. FastAPI can generate an OpenAPI definition from your backend code, but here we do the opposite: generating FastAPI schema classes from an OpenAPI definition prepared in advance.

View all articles

Contact us