Slack Content Assistant

Slack Content Assistant

A custom Slack application built with Bolt.js and TypeScript that centralizes content operations. Operating securely via Socket Mode, the bot integrates Slack directly with our Supabase database and Trigger.dev task queues—enabling team members to queue source URLs, approve or edit drafts via interactive UI blocks, run real-time cost reports, and trigger developer workflows.

Slack Curation Channel

Slack Curation Channel

By centralizing the administrative overhead of editorial workflows into team chat channels, the bot minimizes context switching and streamlines the editorial approval process.

Overview

The Trending Society Slack Bot is an operational control plane built with @slack/bolt and TypeScript. Running in Socket Mode, it connects Slack directly to the platform's Supabase database and Trigger.dev task queues.

It provides an interactive, chat-based workflow for content operations, allowing team members to queue source links, audit pipeline expenses, review drafts, and trigger social media repurposing scripts using simple slash commands.

Bolt & Pipeline Integration

The bot registers multiple command and event handlers to orchestrate content pipelines:

  • URL Detection: Automatically listens for URLs posted in the designated curation channel and routes them to the content pipeline.
  • Interactive Blocks: Utilizes Slack Block Kit elements for inline action responses—enabling users to click Approve or Reject on generated drafts, which updates the Supabase database state in real-time.
  • Trigger.dev Integration: Directly schedules and monitors runs, linking Slack users to their specific Trigger.dev logs.

Slash Commands Reference

  • /ingest <url> — Triggers the queueing and processing tasks for a given URL.
  • /drafts [category] — Lists recent draft articles awaiting review.
  • /approve <id> — Approves a draft and pushes it live to the blog.
  • /costs — Retrieves detailed breakdown of pipeline spending and API usage.
  • /pipeline <url> — Runs the entire content pipeline (ingest, rewrite, image gen, publish) in one shot.
  • /create-skill — Scaffolds file templates for new agent skills.

Project stack

More projects