slack-approval

Post Slack Block Kit approval prompts and return approve or deny decisions.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Daisuke134/paywall-ab-skill --skill slack-approval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-approval
Source: https://github.com/Daisuke134/paywall-ab-skill/tree/main/slack-approval
Command: npx skills add https://github.com/Daisuke134/paywall-ab-skill --skill slack-approval

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @slack/web-api, @slack/socket-mode, and includes scripts (resource) components.

What problem does it solve?

Post a Slack Block Kit approval prompt and waits for an authorized user to click approve or deny.

Core Features & Use Cases

  • Slack Block Kit approval message with approve/deny buttons
  • Waits for authorized user response and prevents unauthorized approvals
  • Returns 'approved' or 'denied' to the caller; supports ephemeral notices and message updates
  • Optional approver whitelist via environment variable

Quick Start

Call requestApproval with a channel, title, and detail to prompt for confirmation and wait for a user to approve or deny.

Frequently Asked Questions about slack-approval

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

FAQPage Schema
How do I add Slack approval prompts to an automated workflow?

To add Slack approval prompts to automated workflows, post a Block Kit message with approve or deny buttons to a channel using the Slack Web API, then use Socket Mode to wait for an authorized user to click and return 'approved' or 'denied'.

Do I need Socket Mode to wait for Slack Block Kit button responses?

Yes, Socket Mode is required to wait for Slack Block Kit button responses. It listens for interactive payloads, captures the approve or deny action, and updates the UI while preventing unauthorized users from completing the approval.

How do I restrict Slack workflow approvals to specific users?

You can restrict Slack workflow approvals to specific users by setting the optional SLACK_APPROVER_USER_IDS environment variable. Anyone not on this whitelist who clicks a button receives ephemeral feedback and cannot approve or deny the request.

What Slack tokens are required to build an approval automation flow?

Building a Slack approval automation flow requires SLACK_BOT_TOKEN and SLACK_APP_TOKEN environment variables. The bot token renders the Block Kit UI via the Web API, while the app token connects Socket Mode to capture button interactions.

Can I use Slack approval prompts for destructive changes or external calls?

You can use Slack approval prompts for destructive changes or external calls. Any skill requiring user consent can call the prompt, wait for an authorized user to approve or deny, and then proceed with or halt the action based on the response.