Pipeline Reference

Detailed documentation of each pipeline step

Overview

The Madly pipeline transforms your topic into publish-ready content through 5 structured steps. Each step has defined inputs, outputs, and quality checks.

Brief → Hook → Script → Shotlist → Publish Pack

Step 1: Brief

The Brief captures your content intent and constraints.

Inputs

FieldRequiredDescription
topicYesWhat your video is about
audienceYesWho you're creating for
goalYesDesired viewer action: comment, follow, dm, traffic
key_pointsNo3-5 points to cover
constraintsNoThings to avoid or requirements
referencesNoLinks or assets for context

Output

A validated brief object that feeds into subsequent steps.

Tips

  • Be specific about your audience: "startup founders with 10-50 employees" beats "entrepreneurs"
  • Key points should be concrete talking points, not vague themes
  • Constraints help avoid clichés: "no 'game-changer' or 'revolutionary'"

Step 2: Hook

Generate attention-grabbing openings for your video.

Inputs

FieldRequiredDescription
hook_styleYesThe hook technique to use
intensityYessoft or strong

Hook Styles

StyleDescriptionExample
contrastBefore/after or unexpected comparison"I used to spend 3 hours on emails. Now it's 15 minutes."
questionProvocative question that demands attention"Why do 90% of startups fail at email marketing?"
result_firstLead with the outcome"This one change doubled my email open rate."
pitfallCommon mistake or warning"Stop using these 3 subject lines immediately."
controversy_softMild contrarian take"Email newsletters are dead. Here's what's replacing them."

Output

3 distinct hooks using your chosen style. Each hook is:

  • Optimized for the first 3 seconds
  • Differentiated from the others
  • Aligned with your brief

Step 3: Script

Generate a complete oral script for your video.

Inputs

FieldRequiredDescription
duration_target_sYesTarget length: 30, 45, or 60 seconds

Output

FieldDescription
one_big_promiseThe core promise of your video
linesArray of script lines for teleprompter
cta_lineCall-to-action at the end
duration_estimate_sEstimated read time

Quality Checks

The script must pass these validations:

  • one_big_promise is present and clear
  • cta_line is present
  • ✅ Duration estimate is within ±20% of target

Script Structure

A well-structured script follows this flow:

  1. Hook — Grab attention (selected from Step 2)
  2. Promise — State the one big promise
  3. Content — Deliver on the promise
  4. CTA — Tell viewers what to do next

Step 4: Shotlist

Convert your script into actionable shooting instructions.

Inputs

FieldRequiredDescription
visual_styleYesproduct, talking_head, narrative, mixed
broll_densityYeslow, medium, high

Visual Styles

StyleBest For
productProduct demos, unboxings
talking_headCommentary, opinions, tutorials
narrativeStorytelling, vlogs
mixedCombination of styles

Output

Array of 6+ shots, each containing:

FieldDescription
shot_numberSequential number
descriptionWhat to capture
duration_sSuggested duration
onscreen_textText overlay for this shot
notesAdditional direction

Step 5: Publish Pack

Generate platform-optimized content for distribution.

Output Structure

The Publish Pack contains 4 platform-specific packs:

Video Platform (YouTube, TikTok, etc.)

FieldDescription
titles5 title options
captionVideo description
pinned_comments2 comments to pin
hashtags12 relevant hashtags
ctaCall-to-action text

XiaoHongShu (小红书)

FieldDescription
titles3 title options
cover_texts0-3 cover text options
body_paragraphsUp to 6 paragraphs
checklist3-5 item checklist (required)
tags8-15 tags
comment_prompts3 prompts to drive comments
ctaCall-to-action (required)

X (Twitter)

FieldDescription
single_tweetStandalone tweet (≤280 chars)
thread5-tweet thread
pinned_replyReply to pin
ctaCall-to-action text

LinkedIn

FieldDescription
opening_options3 opening line options
bodyStructured post (Observation → Method → Example → Summary)
ctaCall-to-action text

Quality Checks

  • ✅ All required fields present
  • ✅ XiaoHongShu has ≤6 paragraphs
  • ✅ XiaoHongShu has checklist
  • ✅ All packs have CTA
  • ✅ No sensitive terms flagged

Rewriting Sections

After generation, you can rewrite any section:

  1. Select the text you want to change
  2. Describe your intent (e.g., "make it more casual", "add urgency")
  3. Review 3 candidate rewrites
  4. Apply or save as a branch

Each rewrite creates a new version, preserving history.


Version Management

  • Every generation creates a version
  • View the last 3 versions; expand to see history
  • Mark any version as Final for sharing
  • Branch from any version to try alternatives