Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Building a serverless Slack bot using Cloudflare Workers

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Rita Kozlov
Word Count
2,377
Language
English
Hacker News Points
-
Summary

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.