Slack Content Assistant

Slack Content Assistant

A custom Slack application built with Bolt.js and TypeScript that centralizes content operations. It runs in Socket Mode, connecting Slack directly to our Supabase database and Trigger.dev task queues, so team members can queue source URLs, approve or edit drafts through interactive UI blocks, run real-time cost reports, and trigger developer workflows.

Slack Curation Channel

Slack Curation Channel

Editorial admin lives in the chat channels the team already works in, so approvals happen inline instead of in a separate tool.

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: Uses Slack Block Kit elements for inline action responses. Users click Approve or Reject on a generated draft, and the Supabase database state updates 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 a 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