/plushcap/analysis/cloudflare/building-a-serverless-slack-bot-using-cloudflare-workers

Building a serverless Slack bot using Cloudflare Workers

What's this blog post about?

The text discusses building a Slack bot using Cloudflare Workers for fetching stock prices. It explains how to create and configure the worker, handle incoming webhooks from Slack, parse user messages, make API requests, and respond to Slack in its expected format. The bot uses Alpha Vantage Open Stock API to fetch stock prices and leverages Cloudflare's cache to minimize redundant calls to the API. The text also provides instructions on how to configure Slack to communicate with the bot and test it before installation.

Company
Cloudflare

Date published
June 22, 2018

Author(s)
Rita Kozlov

Word count
2377

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.