🧠 HeyCMO
Workflows

Workflows Overview

17 automated multi-step pipelines that chain agents and tools together.

Workflows

HeyCMO includes 17 automated workflows — multi-step pipelines built with Mastra's createWorkflow and createStep primitives. Each workflow chains agents and tools together into a reliable, resumable execution pipeline.

Workflow Architecture

Every workflow is built with:

  • Typed schemas — Zod schemas for inputs, outputs, and intermediate step data
  • Step-by-step execution — Each step has clear input/output contracts
  • Error recovery — Built-in progress tracking and step-level retry
  • Agent delegation — Steps call specialist agents with focused prompts
  • Eval gates — Content workflows include quality scoring before output

All Workflows

WorkflowPurposeKey Agents
Research PipelineDiscover content ideas, SEO quick wins, trending topicsResearcher
Content CreationMulti-channel content from a single ideaSEO Writer, Social Manager, Email Marketer
Brand InterviewOnboarding — build brand profile from 8 questionsCMO
Analytics ReportCross-channel performance analysisAnalyst
CRO PipelineAudit pages and generate optimization experimentsCRO Specialist
Sales EnablementGenerate battle cards, one-pagers, case studiesSales, Researcher
Cross-Channel PublishPublish content to multiple platformsSocial Manager
Engagement ResponseMonitor and respond to comments/DMsEngagement Manager
Self-OptimizationAnalyze telemetry and adjust agent behaviorAnalyst
Launch PipelinePlan and execute product launchesGrowth Engineer
Podcast PipelineRepurpose podcast transcripts into multi-format contentSEO Writer, Social Manager
Content RepurposeTurn one published asset into 5+ derivative pieces across channelsSocial Manager, Email Marketer
Morning BriefingDaily executive briefing — yesterday's wins, today's priorities, blockersCMO, Analyst
Product ContentGenerate launch-ready product copy from a feature briefSEO Writer, Social Manager, Email Marketer
Performance SnapshotCapture KPI snapshot for trend tracking and learning insightsAnalyst
Post-Publish AnalyticsPull analytics for a freshly published post and feed it back into self-optimizationAnalyst
Events CleanupClean up old events and maintenance tasksSystem

Workflow Execution

Workflows are triggered via the API or scheduled via Inngest cron jobs:

# Manual trigger via API
curl -X POST https://api.heycmo.ai/api/workflows/research-pipeline \
  -H "Authorization: Bearer hcmo_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "date": "2025-01-15", "type": "daily" }'

Inngest Integration

Durable workflow execution with:

  • Cron scheduling — Research runs daily, analytics runs weekly
  • Step-level durability — If a step fails, execution resumes from the last successful step
  • Observability — Full execution logs and timing data

On this page