gas-slack-bot

Create and configure a Google Apps Script Slack Events API bot using a logged-in Chrome session.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Sunwood-ai-labs/gas-slack-bot-skill --skill gas-slack-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gas-slack-bot
Source: https://github.com/Sunwood-ai-labs/gas-slack-bot-skill/tree/main
Command: npx skills add https://github.com/Sunwood-ai-labs/gas-slack-bot-skill --skill gas-slack-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Setting up a Slack Events API bot on Google Apps Script is error-prone and slow because it requires coordinating cross-platform IDs, tokens, deployment URLs, and event subscription verification across both consoles.

Core Features & Use Cases

  • Creates a full GAS+Slack bot repo scaffold: generates the Apps Script runtime files plus Slack manifest and safe local configuration templates for a working baseline.
  • Guides browser-driven admin setup using an already logged-in Chrome session: uses CDP-attached logged-in browser workflow to create the Apps Script project, configure Slack scopes and event subscriptions, and install the Slack App.
  • Deploys and verifies end-to-end messaging: deploys the Apps Script Web App, wires the request_url for Slack events, and confirms bot replies with a live message test.

Quick Start

Use the logged-in Chrome workflow to attach Playwright over CDP, scaffold a target bot repo with the provided PowerShell script, then follow the SKILL.md workflow to deploy the GAS Web App and wire the Slack App manifest/event subscriptions before sending a live test message in your target channel.

Frequently Asked Questions about gas-slack-bot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Slack Events API bot on Google Apps Script end to end?

Setting up a Slack Events API bot on Google Apps Script involves scaffolding a deployable Web App, configuring Slack scopes and event subscriptions, and verifying the request_url with a live message test.

What is the best way to automate Slack App creation and Google Apps Script deployment?

Automating Slack App creation and Google Apps Script deployment is best handled by using a CDP-attached logged-in browser workflow to create projects, configure scopes, and deploy the Web App.

Why does Slack request_url verification fail when using Google Apps Script?

Slack request_url verification fails when the Google Apps Script Web App is not deployed correctly or lacks proper token handling via Script Properties to respond to the verification challenge.

Do I need a logged-in Chrome session to configure a Google Apps Script Slack bot?

Yes, you need a logged-in Chrome session because the workflow uses CDP browser automation to attach Playwright and perform the required Google and Slack console administrative tasks.

Can I handle Slack bot tokens and duplicate event protection in Google Apps Script?

Yes, you can handle Slack bot tokens securely using Script Properties and implement duplicate event protection by filtering events for message.channels and optional file_shared actions within the script.

What are the limitations of using Google Apps Script for Slack event subscriptions?

Limitations of using Google Apps Script for Slack event subscriptions include the need to coordinate cross-platform IDs, tokens, and deployment URLs across both Google and Slack consoles.