
6/22/2018 · Rita Kozlov
What this post added
This post details the creation of a serverless Slack bot using Cloudflare Workers to fetch stock prices. It demonstrates how Workers can function as standalone web applications beyond traditional HTTP middleware. The bot leverages the Alpha Vantage API, caches responses for improved performance and reduced API load, and handles Slack webhook authentication. The technical implementation covers handling POST requests, parsing user messages, making API requests with caching (`cacheTtl: 60`), and constructing Slack-compatible responses.