Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Build a Slackbot

A step-by-step tutorial for building a Slackbot using Cloudflare Workers, Hono, and TypeScript that integrates GitHub webhooks for issue notifications and slash commands for issue lookups.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Build a Slackbot

A step-by-step tutorial for building a Slackbot using Cloudflare Workers, Hono, and TypeScript that integrates GitHub webhooks for issue notifications and slash commands for issue lookups.

When To Use

Use when you need to implement a Slackbot that automates GitHub issue notifications via webhooks and provides interactive slash commands using Cloudflare Workers and Hono.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-build-a-slackbot-index-workflow-guide.mdA step-by-step tutorial guide for building a Slackbot using Cloudflare Workers, Hono, and TypeScript.Questions about a step-by-step tutorial guide for building a Slackbot using Cloudflare Workers, Hono, and TypeScript.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-setu.textThe terminal commands required to initialize a new Slackbot project using the Cloudflare Workers create command.Exact payloads, commands, or snippets shown in The terminal commands required to initialize a new Slackbot project using the Cloudflare Workers create command.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-project-initi.textThe terminal command used to scaffold a new Slackbot project using the Cloudflare Workers create command.Exact payloads, commands, or snippets shown in The terminal command used to scaffold a new Slackbot project using the Cloudflare Workers create command.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-pnpm-create-c.textThe pnpm command used to initialize a new Slackbot project using the Cloudflare Workers create template.Exact payloads, commands, or snippets shown in The pnpm command used to initialize a new Slackbot project using the Cloudflare Workers create template.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-inde.textThe introductory index page for the Cloudflare Workers tutorial on building a Slackbot.Exact payloads, commands, or snippets shown in The introductory index page for the Cloudflare Workers tutorial on building a Slackbot.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl.textA TypeScript implementation of a Slackbot using the Hono web framework for Cloudflare Workers.Exact payloads, commands, or snippets shown in A TypeScript implementation of a Slackbot using the Hono web framework for Cloudflare Workers.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-dev-dependenc.textThe shell command to install the necessary development dependencies for the Cloudflare Workers Slackbot tutorial.Exact payloads, commands, or snippets shown in The shell command to install the necessary development dependencies for the Cloudflare Workers Slackbot tutorial.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-yarn-install-.textThe shell command used to install the necessary development dependencies for the Slackbot tutorial.Exact payloads, commands, or snippets shown in The shell command used to install the necessary development dependencies for the Slackbot tutorial.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-pnpm-install-.textThe shell command used to install the necessary development dependencies for the Slackbot tutorial using pnpm.Exact payloads, commands, or snippets shown in The shell command used to install the necessary development dependencies for the Slackbot tutorial using pnpm.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-bun-.textThe shell command used to add development dependencies via Bun for the Cloudflare Workers Slackbot tutorial.Exact payloads, commands, or snippets shown in The shell command used to add development dependencies via Bun for the Cloudflare Workers Slackbot tutorial.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-2.textA Hono-based JavaScript application structure used to handle incoming requests for a Cloudflare Workers Slackbot.Exact payloads, commands, or snippets shown in A Hono-based JavaScript application structure used to handle incoming requests for a Cloudflare Workers Slackbot.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-3.textA Hono-based Cloudflare Workers application implementation for building a Slackbot.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Workers application implementation for building a Slackbot.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-project-setup.textShell commands to create the directory structure and initial TypeScript files for a Cloudflare Workers Slackbot project.Exact payloads, commands, or snippets shown in Shell commands to create the directory structure and initial TypeScript files for a Cloudflare Workers Slackbot project.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-4.textA Hono application implementation for a Cloudflare Worker that handles Slackbot routing for lookup and webhook endpoints.Exact payloads, commands, or snippets shown in A Hono application implementation for a Cloudflare Worker that handles Slackbot routing for lookup and webhook endpoi...
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-bindings-type.textTypeScript type definitions for the Slackbot worker bindings and issue data structures.Exact payloads, commands, or snippets shown in TypeScript type definitions for the Slackbot worker bindings and issue data structures.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-5.textA Hono-based JavaScript application implementation for building a Slackbot using Cloudflare Workers.Exact payloads, commands, or snippets shown in A Hono-based JavaScript application implementation for building a Slackbot using Cloudflare Workers.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-slash-command.textA text representation of a Slack slash command payload containing parameters like token, team ID, and command text.Exact payloads, commands, or snippets shown in A text representation of a Slack slash command payload containing parameters like token, team ID, and command text.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-6.textA Hono-based Cloudflare Worker application implementation for handling Slackbot interactions.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation for handling Slackbot interactions.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-typescript-is.textA TypeScript function and regular expression used to parse GitHub issue strings within a Cloudflare Workers Slackbot implementation.Exact payloads, commands, or snippets shown in A TypeScript function and regular expression used to parse GitHub issue strings within a Cloudflare Workers Slackbot...
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen.textA Hono-based Cloudflare Worker implementation that parses Slack messages to interact with GitHub issues.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that parses Slack messages to interact with GitHub issues.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-github-issue-.textA TypeScript implementation of a regex-based GitHub issue parser and a function to fetch issue details from the GitHub API.Exact payloads, commands, or snippets shown in A TypeScript implementation of a regex-based GitHub issue parser and a function to fetch issue details from the GitHu...
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen-2.textA Hono-based Cloudflare Worker implementation that parses Slack messages to fetch GitHub issue details.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that parses Slack messages to fetch GitHub issue details.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-github-issue--2.textA TypeScript function that formats GitHub issue data into a Slack message string using interactive link syntax.Exact payloads, commands, or snippets shown in A TypeScript function that formats GitHub issue data into a Slack message string using interactive link syntax.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-github-issue--3.textA TypeScript function that formats GitHub issue data into a Slack message string using interactive link syntax.Exact payloads, commands, or snippets shown in A TypeScript function that formats GitHub issue data into a Slack message string using interactive link syntax.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen-3.textA Hono-based Cloudflare Worker implementation that parses GitHub issue strings and constructs Slack messages.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that parses GitHub issue strings and constructs Slack messages.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen-4.textA Hono-based Cloudflare Worker implementation that parses GitHub issue strings and constructs Slack messages.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that parses GitHub issue strings and constructs Slack messages.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-7.textA Hono-based Cloudflare Workers application implementation for building a Slackbot.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Workers application implementation for building a Slackbot.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-logi.textA Hono application implementation for a Cloudflare Worker that processes Slackbot incoming webhooks.Exact payloads, commands, or snippets shown in A Hono application implementation for a Cloudflare Worker that processes Slackbot incoming webhooks.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-app-impl-8.textA Hono-based Cloudflare Worker application implementation that processes Slack incoming webhooks to construct GitHub issue messages.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation that processes Slack incoming webhooks to construct GitHub...
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-github-issue--4.textA TypeScript function that formats GitHub issue data into a Slack message string using Markdown links.Exact payloads, commands, or snippets shown in A TypeScript function that formats GitHub issue data into a Slack message string using Markdown links.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen-5.textA Hono-based Cloudflare Worker implementation that processes Slackbot interactions and constructs GitHub issue messages.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that processes Slackbot interactions and constructs GitHub issue messages.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-secret-setup-.textA command line instruction for setting the SLACK_WEBHOOK_URL secret using Wrangler in a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in A command line instruction for setting the SLACKWEBHOOKURL secret using Wrangler in a Cloudflare Workers environment.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-webhook-secre.textInstructions for configuring a Slack webhook URL as a secret value within a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in Instructions for configuring a Slack webhook URL as a secret value within a Cloudflare Workers environment.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-hono-implemen-6.textA Hono-based Cloudflare Worker implementation that processes Slackbot interactions and constructs GitHub issue messages.Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that processes Slackbot interactions and constructs GitHub issue messages.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-deployment-co.textThe terminal commands required to install dependencies and deploy the Slackbot using npm.Exact payloads, commands, or snippets shown in The terminal commands required to install dependencies and deploy the Slackbot using npm.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-setu-2.textThe terminal commands required to initialize the project and install the deploy dependency for the Slackbot tutorial.Exact payloads, commands, or snippets shown in The terminal commands required to initialize the project and install the deploy dependency for the Slackbot tutorial.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-pnpm.textThe pnpm command used to add the deploy dependency for the Cloudflare Workers Slackbot tutorial.Exact payloads, commands, or snippets shown in The pnpm command used to add the deploy dependency for the Cloudflare Workers Slackbot tutorial.
examples/workers-build-a-slackbot-index-cloudflare-workers-slackbot-tutorial-inde-2.textAn introductory guide and overview for building a Slackbot using Cloudflare Workers.Exact payloads, commands, or snippets shown in An introductory guide and overview for building a Slackbot using Cloudflare Workers.

What This Skill Covers

  • In this tutorial, you will build a Slack ↗ bot using Cloudflare Workers. Your bot will make use of GitHub webhooks to send messages to a Slack channel when i...
  • Main sections: Tags, Before you start, Set up Slack, Configure a Slack application, Incoming Webhook.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/tutorials/build-a-slackbot/index.md