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.
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 issue lookups via slash commands using Cloudflare Workers.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-build-a-slackbot-workflow-guide.md | A step-by-step tutorial for building a Slackbot using Cloudflare Workers, Hono, and TypeScript that responds to GitHub webhooks. | Questions about a step-by-step tutorial for building a Slackbot using Cloudflare Workers, Hono, and TypeScript that responds to GitHu... |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-setup-command.text | The npm command used to initialize a new Slackbot project using the Cloudflare Workers starter template. | Exact payloads, commands, or snippets shown in The npm command used to initialize a new Slackbot project using the Cloudflare Workers starter template. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-project-initializat.text | The shell command used to scaffold a new Slackbot project using the Cloudflare Workers create command. | Exact payloads, commands, or snippets shown in The shell command used to scaffold a new Slackbot project using the Cloudflare Workers create command. |
examples/workers-build-a-slackbot-pnpm-create-command.text | The 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-cli-setup-commands.text | Terminal commands for creating the slack-bot directory and navigating into it. | Exact payloads, commands, or snippets shown in Terminal commands for creating the slack-bot directory and navigating into it. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa.text | A 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-cloudflare-workers-slackbot-dev-dependencies-in.text | The shell command to install development dependencies required for the Cloudflare Workers Slackbot tutorial. | Exact payloads, commands, or snippets shown in The shell command to install development dependencies required for the Cloudflare Workers Slackbot tutorial. |
examples/workers-build-a-slackbot-yarn-add-dev-command.text | The terminal command used to add development dependencies for the Slackbot project. | Exact payloads, commands, or snippets shown in The terminal command used to add development dependencies for the Slackbot project. |
examples/workers-build-a-slackbot-pnpm-install-command.text | The shell command used to install the necessary development dependencies for the Slackbot project using pnpm. | Exact payloads, commands, or snippets shown in The shell command used to install the necessary development dependencies for the Slackbot project using pnpm. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-bun-install-command.text | The shell command used to add development dependencies to the project using the Bun package manager. | Exact payloads, commands, or snippets shown in The shell command used to add development dependencies to the project using the Bun package manager. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa-2.text | A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. | Exact payloads, commands, or snippets shown in A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa-3.text | A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. | Exact payloads, commands, or snippets shown in A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. |
examples/workers-build-a-slackbot-project-structure-setup.text | Shell commands to create the directory structure and initial TypeScript files for the Slackbot project. | Exact payloads, commands, or snippets shown in Shell commands to create the directory structure and initial TypeScript files for the Slackbot project. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-entrypoint.text | The main entrypoint script for a Cloudflare Workers Slackbot using the Hono web framework. | Exact payloads, commands, or snippets shown in The main entrypoint script for a Cloudflare Workers Slackbot using the Hono web framework. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-typescript-bindings.text | TypeScript type definitions for the Slackbot project including Bindings and Issue interfaces. | Exact payloads, commands, or snippets shown in TypeScript type definitions for the Slackbot project including Bindings and Issue interfaces. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa-4.text | A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. | Exact payloads, commands, or snippets shown in A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-slash-command-paylo.text | A sample text payload representing a Slack slash command request sent to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A sample text payload representing a Slack slash command request sent to a Cloudflare Worker. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa-5.text | A Hono-based Cloudflare Worker application implementation designed to handle Slackbot interactions. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation designed to handle Slackbot interactions. |
examples/workers-build-a-slackbot-github-issue-regex-parser.text | A TypeScript function and regular expression used to parse GitHub issue strings within a Cloudflare Workers Slackbot tutorial. | 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-cloudflare-workers-slackbot-hono-app-implementa-6.text | A Hono-based Cloudflare Worker application implementation that parses Slack messages to interact with GitHub issues. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation that parses Slack messages to interact with GitHub issues. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-github-issue-parser.text | A 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-cloudflare-workers-slackbot-hono-app-implementa-7.text | A Hono-based Cloudflare Worker application implementation that parses Slack messages to fetch GitHub issue details. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation that parses Slack messages to fetch GitHub issue details. |
examples/workers-build-a-slackbot-github-issue-message-constructor.text | A TypeScript function that formats GitHub issue data into a Slack-compatible message string. | Exact payloads, commands, or snippets shown in A TypeScript function that formats GitHub issue data into a Slack-compatible message string. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-github-issue-messag.text | A 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-cloudflare-workers-slackbot-hono-implementation.text | A Hono-based Cloudflare Workers implementation that parses GitHub issue strings and constructs Slack messages. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Workers implementation that parses GitHub issue strings and constructs Slack messages. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-implementation-2.text | A 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-cloudflare-workers-slackbot-hono-app-implementa-8.text | A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. | Exact payloads, commands, or snippets shown in A Hono-based JavaScript application implementation for a Cloudflare Workers Slackbot. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-logic.text | A Hono application implementation for handling Slackbot interactions within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A Hono application implementation for handling Slackbot interactions within a Cloudflare Worker. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-logic-2.text | A Hono application implementation for a Cloudflare Worker that processes Slackbot interactions and constructs GitHub issue messages. | Exact payloads, commands, or snippets shown in A Hono application implementation for a Cloudflare Worker that processes Slackbot interactions and constructs GitHub... |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-github-issue-messag-2.text | A TypeScript function that formats GitHub issue data into a Slack-compatible message string using Markdown links. | Exact payloads, commands, or snippets shown in A TypeScript function that formats GitHub issue data into a Slack-compatible message string using Markdown links. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-implementation-3.text | A Hono-based Cloudflare Workers implementation that processes Slack incoming webhooks to format GitHub issue notifications. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Workers implementation that processes Slack incoming webhooks to format GitHub issue notifica... |
examples/workers-build-a-slackbot-wrangler-secret-command.text | A command line instruction for setting the SLACK_WEBHOOK_URL secret using Wrangler. | Exact payloads, commands, or snippets shown in A command line instruction for setting the SLACKWEBHOOKURL secret using Wrangler. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-tutorial-secret-val.text | A text representation of the secret value input prompt used during the Slackbot tutorial setup. | Exact payloads, commands, or snippets shown in A text representation of the secret value input prompt used during the Slackbot tutorial setup. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-hono-app-implementa-9.text | A Hono-based Cloudflare Worker application implementation that processes Slackbot interactions and constructs GitHub issue messages. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker application implementation that processes Slackbot interactions and constructs GitHub... |
examples/workers-build-a-slackbot-deploy-command.text | The npm install and deploy command used to initialize and deploy the Slackbot project. | Exact payloads, commands, or snippets shown in The npm install and deploy command used to initialize and deploy the Slackbot project. |
examples/workers-build-a-slackbot-yarn-add-deploy-command.text | The terminal command used to add the deploy package via yarn for the Slackbot tutorial. | Exact payloads, commands, or snippets shown in The terminal command used to add the deploy package via yarn for the Slackbot tutorial. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-pnpm-deploy-command.text | The pnpm command used to add the deploy dependency for the Slackbot tutorial. | Exact payloads, commands, or snippets shown in The pnpm command used to add the deploy dependency for the Slackbot tutorial. |
examples/workers-build-a-slackbot-cloudflare-workers-slackbot-tutorial-bun-instal.text | The shell command used to add the deploy package via the Bun package manager for the Slackbot tutorial. | Exact payloads, commands, or snippets shown in The shell command used to add the deploy package via the Bun package manager for the Slackbot tutorial. |
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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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
