Overview
The Social Content Pipeline is a Trigger.dev background pipeline that generates Professor High social media content from your strain database, blog articles, and terpene data. It produces ready-to-review drafts for TikTok, Instagram, X/Twitter, YouTube, and LinkedIn — covering everything from strain breakdowns to myth-busting threads to carousel posts. All generated content saves as drafts for manual review. Nothing is auto-posted. You control what goes live and when.This pipeline generates content text and images. Actual posting to social platforms is a manual step — the pipeline produces a queue of reviewed, approved drafts ready to publish.
Content Strategy
The pipeline follows 6 content pillars with target distribution percentages to maintain a balanced social presence:| Pillar | Weight | Description | Example Formats |
|---|---|---|---|
| Strain Intel | 30% | Deep dives into specific strains | Strain breakdowns, terpene spotlights, comparison posts |
| Science Drops | 20% | Cannabis science made accessible | Terpene explainers, entourage effect, research highlights |
| Myth Busting | 15% | Correcting common misconceptions | ”Indica vs Sativa is outdated” threads, fact-check posts |
| Lifestyle | 15% | Cannabis culture and experiences | Activity pairings, consumption tips, vibe guides |
| App Features | 10% | High IQ product highlights | Label Scanner demos, stash tips, feature walkthroughs |
| Community | 10% | Engagement and conversation starters | Polls, “what’s in your stash” prompts, user stories |
Supported Platforms
TikTok
Short-form video scripts with hooks, captions, and hashtag sets optimized for discovery.
Feed posts, carousels (up to 10 slides), Reels scripts, and Stories sequences with visual direction.
X / Twitter
Single tweets, threads (up to 10 posts), and quote-tweet-ready takes with character-count awareness.
YouTube
Shorts scripts and long-form video outlines with chapter markers and thumbnail concepts.
Professional-tone posts covering cannabis industry trends, data insights, and platform updates.
How It Works
The pipeline has 4 stages that transform source data into ready-to-review social media drafts:Fetch Source Data
The pipeline pulls source material based on the content type. For strain breakdowns, it fetches the full strain profile (terpenes, effects, genetics, High Family). For science explainers, it pulls terpene data and research. For blog-based content, it fetches the full article text. All source data is assembled into a structured context package for the AI.
Generate Text
Claude Sonnet generates the post text using the source data, target platform, content type, and Professor High’s brand voice. The output is platform-native — threads for X, carousel slide text for Instagram, hook-first scripts for TikTok. Each generation includes the post body, hashtags, caption, and any platform-specific metadata (slide count, character counts, etc.).
Generate Images
Google Gemini generates visual assets with the Professor High reference image for character consistency. Instagram carousels get individual slide images. TikTok and YouTube get thumbnail concepts. X posts get optional companion images. Image prompts are derived from the text content to ensure visual-text alignment.
Save Draft
The complete draft — text, images, metadata, and source references — is saved to the
social_content_drafts table in Supabase with status draft. Images are uploaded to the social-content Supabase Storage bucket. The draft is now ready for review in the Draft Queue.Pipeline Architecture
Location
Task Summary
| Task ID | Stage | Model / Tool | Purpose |
|---|---|---|---|
social-content-01-fetch-source | 1 | Supabase + API | Fetch strain, blog, or terpene source data |
social-content-02-generate-text | 2 | Claude Sonnet | Generate platform-native post text |
social-content-03-generate-images | 3 | Gemini | Generate visuals with Professor High |
social-content-04-save-draft | 4 | Supabase | Save draft and upload images |
social-content-pipeline | — | Orchestrator | Coordinate all 4 stages for a single post |
social-content-batch | — | Batch | Generate a full day or week of content |
social-content-weekly-generation | — | Cron | Scheduled weekly generation (disabled by default) |
Running the Pipeline
Single Post (Dashboard)
Go to the Trigger.dev dashboard and run thesocial-content-pipeline task:
Batch Generation
Runsocial-content-batch to generate a full day or week of content across all platforms:
Scheduled Generation
Thesocial-content-weekly-generation task is a cron-triggered job that runs every Sunday at 6 PM Central to generate the following week’s content. It is disabled by default — activate it from the Trigger.dev dashboard when you are ready for automated weekly generation.
Content Types
| Content Type | Platforms | Description |
|---|---|---|
strain-breakdown | All | Deep dive into a single strain’s profile, effects, and terpenes |
science-explainer | All | Educational post about cannabis science (terpenes, cannabinoids, entourage effect) |
myth-bust | X, Instagram, TikTok | Debunking a common cannabis misconception |
carousel | Multi-slide visual story (up to 10 slides) | |
thread | X | Multi-post thread (up to 10 tweets) |
tweet | X | Single tweet with optional image |
terpene-spotlight | All | Focus on a single terpene and its effects |
strain-comparison | Instagram, X | Side-by-side comparison of two strains |
activity-pairing | TikTok, Instagram | Strain recommendation for a specific activity |
app-feature | All | Highlight of a High IQ feature with Professor High |
Professor High Brand Voice
All generated content uses Professor High’s established voice:- Knowledgeable but approachable — explains complex science in plain language
- Playful and witty — uses humor without being unprofessional
- Data-driven — always cites specific terpene percentages, effects, and strain data
- Community-focused — speaks to the cannabis community, not at them
- Education-first — every post teaches something, even entertainment content
Draft-First Workflow
The pipeline is designed around a review-before-publish model:Approve or Reject
Approve drafts that are ready. Reject or edit those that need changes. Add review notes.
Storage
Supabase Storage
Bucket:social-content
| Path Pattern | Content |
|---|---|
{draft_id}/image_{index}.png | Generated images for a draft |
{draft_id}/thumbnail.png | Video thumbnail concepts |
{draft_id}/carousel/slide_{index}.png | Individual carousel slide images |
Database
Table:social_content_drafts in Supabase. See Draft Queue Management for the full schema and lifecycle.
Cost Model
Content generation costs vary by type and platform:| Component | Model | Cost per Post |
|---|---|---|
| Source fetch | Supabase + API | ~$0.00 |
| Text generation | Claude Sonnet | ~$0.02-0.05 |
| Image generation | Gemini | ~$0.04-0.12 |
| Storage | Supabase | ~$0.001 |
| Single post total | ~$0.06-0.17 | |
| Full week batch (~35 posts) | ~$2.00-6.00 |
Carousel posts cost more due to multiple image generations (up to 10 slides). Single-image posts are at the low end of the range.
Related Features
- Draft Queue Management — Review, approve, and schedule generated content
- Ask AI (Professor High) — The AI persona behind all generated content
- Strain Music Videos — AI-generated music videos that can be cross-promoted via social content
- Strain Discovery — The strain database that powers strain-based content
