const DIRECTUS_URL = "https://spark.jumpstartscaling.com"; const DIRECTUS_TOKEN = process.env.DIRECTUS_ADMIN_TOKEN || "YOUR_TOKEN_HERE"; async function request(endpoint, method = 'GET', body = null) { const headers = { 'Content-Type': 'application/json', 'Authorization': `Bearer ${DIRECTUS_TOKEN}` }; const options = { method, headers, body: body ? JSON.stringify(body) : undefined }; const response = await fetch(`${DIRECTUS_URL}${endpoint}`, options); if (!response.ok) { const text = await response.text(); throw new Error(`Directus Error ${response.status}: ${text}`); } const json = await response.json(); return json.data; } async function createItem(collection, data) { return request(`/items/${collection}`, 'POST', data); } const LONG_FORM_STRUCTURE = [ "headline_variations", "content_headlines", "avatar_engagement", "sales_letter_core", "brunson_bullets", "feature_benefit_meaning", "feature_benefit_meaning", "content_headlines", "sales_letter_core", "sales_letter_core", "how_to_scripts", "how_to_scripts", "framework_teaching", "framework_teaching", "brunson_bullets", "brunson_bullets", "content_headlines", "sales_letter_core", "feature_benefit_meaning", "feature_benefit_meaning", "framework_teaching", "bio_section", "offer_stack", "how_to_scripts", "avatar_engagement" ]; const rawJson = { "fragments": [{ "fragment_type": "sales_letter_core", "content_body": "

Attention {Avatar}: The Game Has Changed

If you have been struggling to get {Result}, I have bad news and good news. The bad news is that everything you thought you knew about {Niche} is wrong. The 'gurus' have been feeding you outdated strategies that only work for them, not for regular people in {City}. But here is the good news: I have developed a proprietary system called {Product} that levels the playing field. It allows you to bypass the hard work and jump straight to the {Benefit} without ever having to deal with {Fear}. Let me explain how...

", "word_count": 110 }, { "fragment_type": "sales_letter_core", "content_body": "

Why Most {Avatar}s Fail (And How To Avoid It)

Did you know that 90% of people in {Niche} give up within the first year? It is tragic. They give up because they hit the 'Wall of {Pain_Point}'. I hit that wall too. I was ready to quit. I was broke, frustrated, and embarrassed. But then I discovered a little-known secret about {Result}. It wasn't about working harder; it was about changing the mechanism. Once I applied this change, I saw {Benefit} almost overnight. Now, I am handing you the keys to that same kingdom.

", "word_count": 115 }, { "fragment_type": "sales_letter_core", "content_body": "

From {Fear} to {Result}: My Story

I remember staring at my bank account and feeling a pit in my stomach. I had tried everything to succeed in {Niche}. I bought the courses, I attended the seminars in {City}, but nothing stuck. I felt like a failure. But then, I met a mentor who asked me one simple question: 'Why are you trying to do it the hard way?' He showed me the {Product} method. It was so simple, I almost didn't believe it. But I tried it. And within 30 days, I had achieved {Benefit}. Now, I want to do the same for you.

", "word_count": 120 }, { "fragment_type": "sales_letter_core", "content_body": "

The 3 Lies You Have Been Told About {Niche}

Lie #1: You need a lot of money to start. Lie #2: It takes years to master. Lie #3: You have to be a tech wizard. These lies are keeping you stuck in {Pain_Point}. The truth is, with the {Product}, you can start today with zero experience and very little capital. We have stripped away the complexity to give you a straight path to {Result}. Imagine waking up tomorrow knowing exactly what to do to get {Benefit}. That is the power of this system.

", "word_count": 118 }, { "fragment_type": "sales_letter_core", "content_body": "

Stop Letting {Fear} Control Your Life

Every day you wait is a day you miss out on {Benefit}. I know it is scary to try something new. I know you are skeptical. You should be! There is a lot of junk out there. But ask yourself: can you afford to stay where you are? Can you afford another year of {Pain_Point}? If the answer is no, then you need {Product}. It is the only solution in {City} designed specifically for {Avatar}s who are serious about {Result}. Take the leap.

", "word_count": 105 }, { "fragment_type": "sales_letter_core", "content_body": "

A Personal Letter To My Fellow {Avatar}s

Dear Friend, I wrote this because I am tired of seeing good people get chewed up by the {Niche} industry. You deserve better. You deserve a system that actually works. That is why I spent the last 5 years perfecting {Product}. It is not just a course; it is a movement. A movement of people who refuse to settle for {Fear} and instead demand {Benefit}. Join us inside and let's change your life together.

", "word_count": 95 }, { "fragment_type": "sales_letter_core", "content_body": "

What If You Could {Result} In Half The Time?

Time is our most valuable asset. Yet, most {Avatar}s waste hundreds of hours trying to figure out {Niche} on their own. Why reinvent the wheel? We have already done the heavy lifting. We have made the mistakes so you don't have to. With {Product}, you are essentially buying speed. You are buying a shortcut to {Benefit} that bypasses all the frustration of {Pain_Point}. Don't spend another second guessing. Get the blueprint today.

", "word_count": 98 }, { "fragment_type": "sales_letter_core", "content_body": "

The Secret Weapon of Top {Avatar}s

Ever wonder how the top 1% in {Niche} make it look so easy? It's not because they are smarter than you. It's because they have a system. They have automation. They have {Product}. While you are struggling with {Fear}, they are leveraging tools to get {Benefit} on autopilot. It is time you joined them. We are opening the doors to our exclusive program for a limited time in {City}. This is your chance to steal their secrets.

", "word_count": 100 }, { "fragment_type": "sales_letter_core", "content_body": "

Is {Pain_Point} Ruining Your Life?

It sounds dramatic, but it is true. Stress kills. And the stress of failing in {Niche} is enough to bring anyone down. But imagine a life where that stress is gone. Replaced by the confidence of knowing you can {Result} whenever you want. That is not a pipe dream. It is the reality for hundreds of our students. They used {Product} to break free from the chains of {Fear} and finally claim the {Benefit} they deserve.

", "word_count": 102 }, { "fragment_type": "sales_letter_core", "content_body": "

Do Not Buy Another Course Until You Read This

Seriously. Put your wallet away. Most courses are filled with fluff and theory. You don't need theory; you need action. You need a step-by-step implementation plan for {Result}. That is what {Product} is. It is a tactical manual for dominating {Niche}. We don't just tell you 'what' to do; we show you 'how' to do it, specifically for the {City} market. If you want real {Benefit}, you need real instruction.

", "word_count": 99 }, { "fragment_type": "sales_letter_core", "content_body": "

The {Niche} Revolution Is Here

The old gatekeepers are gone. The internet has democratized success, but only if you know how to navigate it. {Product} is your GPS. It guides you through the noise and straight to the money. Whether you are a beginner or a pro, this system will help you {Result} faster. Don't be left behind while other {Avatar}s scoop up all the {Benefit}. The window of opportunity is open, but it won't stay open forever.

", "word_count": 96 }, { "fragment_type": "sales_letter_core", "content_body": "

Imagine Your Life 30 Days From Now

Close your eyes. Imagine waking up without the weight of {Pain_Point} on your shoulders. Imagine logging into your account and seeing {Benefit}. Imagine telling your friends and family that you finally cracked the code to {Niche}. This feeling is priceless, but the cost to get there is incredibly low. {Product} is the bridge. Walk across it and claim your new life. You have nothing to lose and a world of {Result} to gain.

", "word_count": 97 }, { "fragment_type": "sales_letter_core", "content_body": "

Warning: This Is Not For Everyone

If you are looking for a 'get rich quick' scheme, please close this page. We don't want you. But if you are a dedicated {Avatar} willing to put in a little effort to build a real business in {Niche}, then welcome home. {Product} works, but it requires you to follow the steps. If you can follow instructions, you can {Result}. We have removed the risk of {Fear} so you can focus entirely on growth.

", "word_count": 101 }, { "fragment_type": "sales_letter_core", "content_body": "

How To {Result} Even If You Have Failed Before

Failure is not the end; it is feedback. If you have failed in {Niche} before, it wasn't your fault. You were given a broken system. You were trying to drive a car with no wheels. {Product} is the Ferrari of the industry. It is engineered for speed and performance. When you switch to our method, your past failures become irrelevant. All that matters is your future {Benefit}. Let's build it together.

", "word_count": 98 }, { "fragment_type": "sales_letter_core", "content_body": "

The Math of Success in {Niche}

Let's look at the numbers. To get {Benefit}, you need X amount of traffic and Y amount of conversions. Most {Avatar}s mess this up. They focus on the wrong metrics. {Product} simplifies the math. We give you the calculator. We give you the formula. All you have to do is plug in your numbers and watch the {Result} pour out. It is scientific, predictable, and repeatable in any {City} market.

", "word_count": 94 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 50 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 52 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 48 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 45 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 49 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 47 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 46 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 44 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 43 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 42 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 41 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 40 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 39 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 38 }, { "fragment_type": "brunson_bullets", "content_body": "", "word_count": 37 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Cloud-Based Access.
Benefit: So you can access your {Niche} data from any device, anywhere.
Meaning: Which means you are never tied to a desk and can enjoy true freedom.

", "word_count": 40 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Step-by-Step Video Training.
Benefit: So you can watch over my shoulder and see exactly how to {Result}.
Meaning: Which means you will never be confused or unsure of your next move.

", "word_count": 42 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Pre-Built Templates.
Benefit: So you don't have to create anything from scratch.
Meaning: Which means you save hundreds of hours and get to {Benefit} faster.

", "word_count": 39 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Weekly Coaching Calls.
Benefit: So you can get your specific {Niche} questions answered live.
Meaning: Which means you have a safety net preventing you from failing.

", "word_count": 38 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Private Community Access.
Benefit: So you can network with other successful {Avatar}s in {City}.
Meaning: Which means you are surrounded by winners who pull you up to their level.

", "word_count": 41 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Lifetime Updates.
Benefit: So you always have the latest strategies for {Niche}.
Meaning: Which means your investment never expires and keeps paying dividends.

", "word_count": 37 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: One-Click Installation.
Benefit: So you don't need to hire expensive tech guys.
Meaning: Which means you keep more money in your pocket while getting {Result}.

", "word_count": 40 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: The {Product} Algorithm.
Benefit: So the system does the hard thinking for you.
Meaning: Which means you can avoid {Fear} and focus on spending your {Benefit}.

", "word_count": 39 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: 60-Day Money Back Guarantee.
Benefit: So you can try it completely risk-free.
Meaning: Which means the pressure is on us to deliver {Result}, not on you.

", "word_count": 38 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Mobile App Integration.
Benefit: So you receive notifications whenever you get {Result}.
Meaning: Which means you get a dopamine hit of success right on your phone.

", "word_count": 39 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Advanced Analytics.
Benefit: So you can spot trends in {City} before anyone else.
Meaning: Which means you stay ahead of the curve and dominate your market.

", "word_count": 38 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Drag-and-Drop Editor.
Benefit: So you can customize your {Niche} assets easily.
Meaning: Which means your business looks professional without the design cost.

", "word_count": 37 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Automated Follow-Up.
Benefit: So no lead ever falls through the cracks.
Meaning: Which means you maximize every opportunity for {Benefit}.

", "word_count": 35 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Competitor Analysis Tool.
Benefit: So you can spy on what works in {Niche}.
Meaning: Which means you never have to guess; you just execute what works.

", "word_count": 38 }, { "fragment_type": "feature_benefit_meaning", "content_body": "

Feature: Fast-Track Modules.
Benefit: So you can skip the basics if you are advanced.
Meaning: Which means you respect your own time and get to {Result} faster.

", "word_count": 39 }, { "fragment_type": "avatar_engagement", "content_body": "

Hey {Avatar}, Quick Question...

When was the last time you felt truly in control of your {Niche} journey? If you can't remember, we need to talk.

", "word_count": 35 }, { "fragment_type": "avatar_engagement", "content_body": "

Raise Your Hand If...

Raise your hand if you are sick of {Pain_Point}. Put your hand down and click the button below to fix it forever.

", "word_count": 36 }, { "fragment_type": "avatar_engagement", "content_body": "

Are You A Real {Avatar}?

Real {Avatar}s don't make excuses; they make progress. Are you ready to stop making excuses and start getting {Result}?

", "word_count": 34 }, { "fragment_type": "avatar_engagement", "content_body": "

To The {Avatar} In {City}...

I see you working late. I see you stressing over {Fear}. I am here to tell you there is a better way.

", "word_count": 35 }, { "fragment_type": "avatar_engagement", "content_body": "

Confession Time

Admit it: you are intimidated by {Niche}. That is okay. {Product} is designed to turn that intimidation into confidence.

", "word_count": 33 }, { "fragment_type": "avatar_engagement", "content_body": "

Who Wants {Benefit}?

If you want {Benefit}, say 'I Do'. Now, let's make it happen with the proven strategies inside {Product}.

", "word_count": 31 }, { "fragment_type": "avatar_engagement", "content_body": "

Pop Quiz for {Avatar}s

What is the #1 killer of success in {Niche}? Answer: {Fear}. We have the antidote.

", "word_count": 30 }, { "fragment_type": "avatar_engagement", "content_body": "

Don't Be A Statistic

Most {Avatar}s fail. Be the outlier. Be the success story in {City} that everyone talks about.

", "word_count": 32 }, { "fragment_type": "avatar_engagement", "content_body": "

Let's Get Real About {Niche}

It is hard. But it is harder if you don't have a map. We have the map to {Result}.

", "word_count": 34 }, { "fragment_type": "avatar_engagement", "content_body": "

Attention: Busy {Avatar}s

No time? No problem. Our system is built for the busy {Avatar} who needs {Benefit} on the go.

", "word_count": 33 }, { "fragment_type": "avatar_engagement", "content_body": "

Your Future Self Is Calling

Your future self is begging you to take action today. Don't let them down. Secure your {Result} now.

", "word_count": 33 }, { "fragment_type": "avatar_engagement", "content_body": "

One Decision

You are one decision away from a completely different life in {City}. Choose {Product}. Choose {Benefit}.

", "word_count": 32 }, { "fragment_type": "avatar_engagement", "content_body": "

Stop The Madness

Stop doing the same thing and expecting different results. That is insanity. Try the {Niche} method that works.

", "word_count": 33 }, { "fragment_type": "avatar_engagement", "content_body": "

For The Skeptics

I know you doubt this. But check the testimonials. Real {Avatar}s getting real {Result}. You can be next.

", "word_count": 33 }, { "fragment_type": "avatar_engagement", "content_body": "

Last Chance for {Avatar}s

We are closing the doors soon. If you want to master {Niche}, this is your moment.

", "word_count": 31 }, { "fragment_type": "framework_teaching", "content_body": "

The 5-Step {Niche} Ladder

Imagine a ladder. Rung 1: Understanding the basics. Rung 2: Setting up {Product}. Rung 3: Generating Traffic. Rung 4: Converting leads. Rung 5: Enjoying {Benefit}. Most people skip steps and fall. We hold the ladder for you.

", "word_count": 55 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Circle of Safety'

In {Niche}, you need protection. Our framework builds a 'Circle of Safety' around your business. Inside the circle, you get {Result}. Outside the circle is chaos and {Fear}. Stay inside the circle with {Product}.

", "word_count": 53 }, { "fragment_type": "framework_teaching", "content_body": "

The A.B.C. Method

A = Action. B = Belief. C = Consistency. Most {Avatar}s have the Action but lack the Belief. Or they have Belief but lack Consistency. {Product} automates the Consistency so you just need Action and Belief to get {Benefit}.

", "word_count": 58 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Pipeline' Metaphor

Think of your {Niche} business like a pipeline. If it is clogged with {Pain_Point}, nothing flows. We act as the plumber. We unclog the pipes so {Result} can flow freely into your life. It is plumbing, not magic.

", "word_count": 56 }, { "fragment_type": "framework_teaching", "content_body": "

Phase 1: Diagnosis

We look at your current situation in {City}.

Phase 2: Prescription

We prescribe the exact {Product} module you need.

Phase 3: Cure

You implement the fix and cure your lack of {Benefit}. This medical approach ensures health in your business.

", "word_count": 60 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Domino' Strategy

You have a big goal: {Result}. But it seems far away. We line up small dominoes. Knock over the first one (sign up), and the rest fall automatically, leading straight to the big {Result}.

", "word_count": 52 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Flywheel' Concept

Getting started in {Niche} is hard. Like pushing a heavy flywheel. But once it spins, its own momentum keeps it going. {Product} provides the initial push so you can enjoy the momentum of {Benefit}.

", "word_count": 54 }, { "fragment_type": "framework_teaching", "content_body": "

The 4 Seasons of {Niche}

Winter: Planning. Spring: Planting seeds with {Product}. Summer: Growing. Autumn: Harvesting {Benefit}. Don't try to harvest in Winter. Follow the seasons and you will succeed.

", "word_count": 50 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Bridge' Visualization

You are on Island A (Pain). You want to go to Island B (Pleasure). The water is full of sharks ({Fear}). {Product} is the bridge. Don't swim. Walk across the bridge to get {Result}.

", "word_count": 52 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Architect' Model

Don't build a house without blueprints. Don't build a {Niche} business without a plan. We are the architects. We give you the blueprints. You just hire the contractors (or use our tools) to build {Benefit}.

", "word_count": 53 }, { "fragment_type": "framework_teaching", "content_body": "

The 80/20 Rule for {Avatar}s

20% of your activities produce 80% of your {Result}. We identify that 20% and automate it. The other 80%? We eliminate it. This is extreme efficiency for {City}.

", "word_count": 51 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Key and Lock' Analogy

{Niche} is a locked door. You have been using a hammer to try and open it. {Product} is the key. It slides in effortlessly and unlocks {Benefit}. Stop banging on the door.

", "word_count": 51 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Pilot' Checklist

Pilots don't fly without a checklist. Why do you run your business without one? We give you the Pre-Flight Checklist for {Result}. Check the boxes, take off, and land safely in {Benefit}.

", "word_count": 53 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Compound Interest' of Skills

Learn one skill in {Product} today. Learn another tomorrow. They stack. Soon, you have an exponential advantage over every other {Avatar} in {City}.

", "word_count": 48 }, { "fragment_type": "framework_teaching", "content_body": "

The 'Oxygen Mask' Principle

Secure your own {Benefit} first before helping others. Once you are successful with {Product}, you can help everyone around you. But you have to succeed first.

", "word_count": 49 }, { "fragment_type": "content_headlines", "content_body": "

The Roadmap To {Benefit}

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Stop Ignoring {Niche} Trends

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

The Last Guide You Need

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Inside The {Product} System

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Why {City} Loves This

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Mastering {Result} Made Easy

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

The Death of Old {Niche}

", "word_count": 6 }, { "fragment_type": "content_headlines", "content_body": "

Your New Secret Weapon

", "word_count": 4 }, { "fragment_type": "content_headlines", "content_body": "

Escape The {Pain_Point} Trap

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Unlocking Massive {Benefit}

", "word_count": 4 }, { "fragment_type": "content_headlines", "content_body": "

The {Avatar} Advantage

", "word_count": 4 }, { "fragment_type": "content_headlines", "content_body": "

30 Days To Glory

", "word_count": 4 }, { "fragment_type": "content_headlines", "content_body": "

The Truth About {Fear}

", "word_count": 5 }, { "fragment_type": "content_headlines", "content_body": "

Automating Your Success

", "word_count": 3 }, { "fragment_type": "content_headlines", "content_body": "

The Million Dollar Tweak

", "word_count": 4 }, { "fragment_type": "headline_variations", "content_body": "

WARNING: Do Not Attempt {Niche} Without This Blueprint

", "word_count": 9 }, { "fragment_type": "headline_variations", "content_body": "

How To Explode Your {Result} In A Weekend

", "word_count": 9 }, { "fragment_type": "headline_variations", "content_body": "

The {City} {Niche} Summit: Digital Access

", "word_count": 7 }, { "fragment_type": "headline_variations", "content_body": "

Give Me 5 Minutes And I Will Give You {Benefit}

", "word_count": 11 }, { "fragment_type": "headline_variations", "content_body": "

The 'Lazy' Man's Way To {Result} In {Niche}

", "word_count": 10 }, { "fragment_type": "headline_variations", "content_body": "

Revealed: The #1 Secret To Avoiding {Fear}

", "word_count": 8 }, { "fragment_type": "headline_variations", "content_body": "

Can You Really {Result} Without Hard Work? Yes.

", "word_count": 9 }, { "fragment_type": "headline_variations", "content_body": "

The {Product} Phenomenon Sweeping {City}

", "word_count": 6 }, { "fragment_type": "headline_variations", "content_body": "

Stop Dreaming About {Benefit} And Start Living It

", "word_count": 9 }, { "fragment_type": "headline_variations", "content_body": "

If You Can Point And Click, You Can {Result}

", "word_count": 10 }, { "fragment_type": "headline_variations", "content_body": "

The End Of {Pain_Point} Is Finally Here

", "word_count": 8 }, { "fragment_type": "headline_variations", "content_body": "

Why 10,000 {Avatar}s Trust This System

", "word_count": 7 }, { "fragment_type": "headline_variations", "content_body": "

Get {Result} Or We Pay You $100

", "word_count": 8 }, { "fragment_type": "headline_variations", "content_body": "

The Ultimate Guide To {Niche} Domination

", "word_count": 7 }, { "fragment_type": "headline_variations", "content_body": "

Don't Envy The Rich. Join Them With {Product}

", "word_count": 9 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Start In 24 Hours

Step 1: Download {Product}. Step 2: Watch the 'Fast Start' video. Step 3: Launch your first campaign. It is designed to be fast because speed kills fear.

", "word_count": 45 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Fix {Pain_Point} Forever

  1. Identify the root cause (we help you do this).
  2. Apply the {Niche} patch.
  3. Monitor results.

Most problems in {City} are solved in these three steps.

", "word_count": 48 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Scale To 6-Figures

Once you have {Result}, do not stop. Double down. Reinvest your profits into {Product} upgrades. Scaling is just doing more of what already works.

", "word_count": 44 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Automate The Boring Stuff

Use our 'Robot' tool. Set the rules. Let it run. You should only be doing high-value work in {Niche}. Let the bots do the rest.

", "word_count": 46 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Network In {City}

Don't be a ghost. Use our templates to reach out to influencers. Offer value first. Then ask for help. This is how you build a {Niche} empire.

", "word_count": 48 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Recover From Failure

Did you mess up? Good. Dust yourself off. Open {Product} module 4. Follow the recovery protocol. You will be back to generating {Benefit} in no time.

", "word_count": 47 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Stay Motivated

Motivation fades. Discipline lasts. But results fuel both. Use {Product} to get a quick win. That win will motivate you to get the next {Result}.

", "word_count": 46 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Price Your Services

Don't guess. Use our {Niche} pricing calculator. It tells you exactly what to charge in {City} to maximize profit and {Benefit}.

", "word_count": 43 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Deal With Haters

If you get {Result}, people will hate on you. Ignore them. Or better yet, send them a link to {Product} and make an affiliate commission.

", "word_count": 46 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Outsource

You can't do it all. Use our Rolodex of vetted VAs. Hand off the grunt work. Focus on strategy and {Benefit}.

", "word_count": 42 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Use Social Media

Don't post aimlessly. Use our content calendar. Post with purpose. Drive traffic to your {Niche} funnel. Get {Result}.

", "word_count": 40 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Get Leads Cheap

Stop paying premium prices. Use the 'Backdoor' method inside {Product} to get leads for pennies. This is the secret to high margin {Benefit}.

", "word_count": 44 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Close The Deal

Don't be pushy. Be helpful. Use our 'Consultative Selling' script. It works like magic on {Avatar}s in {City}.

", "word_count": 40 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Manage Time

Use the Pomodoro technique. 25 minutes of focus on {Niche}. 5 minutes break. Repeat. You will be amazed at how much {Result} you get.

", "word_count": 44 }, { "fragment_type": "how_to_scripts", "content_body": "

How To Track Progress

If you don't measure it, you can't improve it. Use our Dashboard. Watch the green line go up. That green line is your {Benefit}.

", "word_count": 45 }, { "fragment_type": "bio_section", "content_body": "

Who Is {Author}?

I am just a regular guy from {City} who stumbled upon a goldmine. I didn't go to Ivy League schools. I learned {Niche} the hard way. Now, I teach it the easy way.

", "word_count": 46 }, { "fragment_type": "bio_section", "content_body": "

The Man Behind The Method

{Author} has been featured in major publications for his innovative approach to {Niche}. He is on a mission to help 1 million {Avatar}s get {Result}.

", "word_count": 44 }, { "fragment_type": "bio_section", "content_body": "

My 'Why'

Why do I do this? Because I hate seeing people struggle with {Pain_Point}. I have the solution in {Product}, and it feels selfish not to share it.

", "word_count": 45 }, { "fragment_type": "bio_section", "content_body": "

Credentials That Matter

I don't have a PhD. I have results. Millions in sales. Thousands of students. Verified {Benefit}. That is the only credential you should care about.

", "word_count": 42 }, { "fragment_type": "bio_section", "content_body": "

A Note From The Founder

Building {Product} was a labor of love. It took blood, sweat, and tears. But seeing you get {Result} makes it all worth it. Welcome to the family.

", "word_count": 45 }, { "fragment_type": "bio_section", "content_body": "

Real Talk

I am not going to sugarcoat it. {Niche} is tough. But with me in your corner, it is beatable. I am your coach, your mentor, and your biggest fan.

", "word_count": 47 }, { "fragment_type": "bio_section", "content_body": "

The {City} Native

Born and raised in {City}, I know the local market better than anyone. I have tailored {Product} to work specifically in this environment.

", "word_count": 43 }, { "fragment_type": "bio_section", "content_body": "

Results Over Hype

I don't drive a Lambo. I don't rent mansions for videos. I just deliver {Result}. If you want hype, go elsewhere. If you want {Benefit}, stay here.

", "word_count": 45 }, { "fragment_type": "bio_section", "content_body": "

Your Guide

Think of me as your Sherpa. I have climbed the mountain of {Niche} many times. I know the crevices are. Follow my footsteps to the top.

", "word_count": 44 }, { "fragment_type": "bio_section", "content_body": "

Trust The Process

I have refined this process over 10 years. It is not a guess. It is a machine. Trust {Product}, and it will take care of you.

", "word_count": 43 }, { "fragment_type": "bio_section", "content_body": "

The Vision

My vision is a world where no {Avatar} has to fear {Pain_Point}. We are building that world one success story at a time. Be the next one.

", "word_count": 45 }, { "fragment_type": "bio_section", "content_body": "

Open Door Policy

I am active in our community. I answer questions. I am real. You are not buying a faceless corporation; you are partnering with {Author}.

", "word_count": 43 }, { "fragment_type": "bio_section", "content_body": "

Legacy

I want to be remembered as the person who helped you break free. That is my legacy. Your {Benefit} is my trophy.

", "word_count": 41 }, { "fragment_type": "bio_section", "content_body": "

Join Me

I can't do it for you, but I can do it with you. Take my hand. Let's conquer {Niche} together.

", "word_count": 40 }, { "fragment_type": "bio_section", "content_body": "

Final Word

You have two choices: go it alone and risk failure, or join {Author} and guarantee success. Choose wisely.

", "word_count": 40 }, { "fragment_type": "offer_stack", "content_body": "

The 'No Brainer' Bundle

Total Value: $991

Your Price: $67

", "word_count": 40 }, { "fragment_type": "offer_stack", "content_body": "

The 'All In' Package

For the {Avatar} who wants guaranteed {Result}.

", "word_count": 42 }, { "fragment_type": "offer_stack", "content_body": "

Flash Sale Alert

Get {Product} for 80% off. This offer expires when the timer hits zero. Don't let {Benefit} slip through your fingers. Buy now!

", "word_count": 41 }, { "fragment_type": "offer_stack", "content_body": "

The 'Starter' Kit

Perfect for beginners. Includes the eBook, the Checklist, and the Video Intro. Everything you need to dip your toes into {Niche}. Only $27.

", "word_count": 43 }, { "fragment_type": "offer_stack", "content_body": "

The 'Enterprise' Edition

For serious players. Includes source code, white-label rights, and bulk licenses. Dominate {City} with this package. Price: $997.

", "word_count": 40 }, { "fragment_type": "offer_stack", "content_body": "

Bonus Blowout

Order today and we add: 1. The Traffic Masterclass. 2. The Conversion Bible. 3. The Email Swipes. These bonuses alone are worth more than the cost of {Product}.

", "word_count": 47 }, { "fragment_type": "offer_stack", "content_body": "

Membership Special

Join the {Niche} Club. $1 trial for 14 days. Then just $47/month. Cancel anytime. Get new {Result} strategies every month.

", "word_count": 43 }, { "fragment_type": "offer_stack", "content_body": "

One Time Offer

This page is the only time you will see this price. If you leave, it goes up to $197. Lock in your discount now.

", "word_count": 44 }, { "fragment_type": "offer_stack", "content_body": "

The 'Done For You' Service

We build your funnel. We write your ads. We set up {Product}. You just handle the leads. Limited spots available in {City}.

", "word_count": 44 }, { "fragment_type": "offer_stack", "content_body": "

Student Discount

Are you a student? Email us for 50% off. We believe education should be affordable. Learn {Niche} without the debt.

", "word_count": 41 }, { "fragment_type": "offer_stack", "content_body": "

Partner Program

Buy {Product} and get approved as an affiliate instantly. Sell it to 2 friends and yours is free. The ultimate win-win.

", "word_count": 43 }, { "fragment_type": "offer_stack", "content_body": "

The 'Toolkit' Box

Physical copy shipped to your door. Workbook, DVD set, and {Product} flash drive. For those who like to hold their {Benefit} in their hands.

", "word_count": 46 }, { "fragment_type": "offer_stack", "content_body": "

Upgrade Option

Already bought the book? Upgrade to the video course for just $37. Learn faster and get {Result} easier.

", "word_count": 41 }, { "fragment_type": "offer_stack", "content_body": "

The 'Results' Guarantee

If you don't make your money back in 30 days, we refund you + $50 for your time. That is how confident we are.

", "word_count": 45 }, { "fragment_type": "offer_stack", "content_body": "

Early Bird Access

Be the first in {City} to get {Product}. Pre-order now and save 40%. Launching next week.

", "word_count": 39 }] }; async function setupSchema() { console.log("Checking Schema..."); // 1. Create article_templates collection try { await request('/collections', 'POST', { collection: 'article_templates', schema: {}, meta: { icon: 'newspaper', note: 'Blueprint Templates' } }); console.log("Created collection: article_templates"); } catch (e) { // Ignore if exists console.log("Collection article_templates likely exists."); } // 2. Add 'name' field try { await request('/fields/article_templates', 'POST', { field: 'name', type: 'string', meta: { interface: 'input', special: null } }); } catch (e) { } // 3. Add 'structure_json' field try { await request('/fields/article_templates', 'POST', { field: 'structure_json', type: 'json', meta: { interface: 'input-code', special: 'cast-json' } }); } catch (e) { } // 4. Add 'article_template' to campaign_masters try { await request('/fields/campaign_masters', 'POST', { field: 'article_template', type: 'string', // Storing UUID as string for simplicity meta: { interface: 'input', note: 'ID of the Article Template to use' } }); console.log("Added article_template field to campaign_masters"); } catch (e) { console.log("Field article_template likely exists on campaign_masters."); } } (async () => { try { await setupSchema(); console.log("Creating/Fetching Master Campaign..."); // 1. Create/Get Campaign // We'll create one. const campaignMaster = await createItem('campaign_masters', { name: 'Master Content Library', headline_spintax_root: 'Master Library', location_mode: 'none', status: 'active' }); const CAMPAIGN_ID = campaignMaster.id; console.log("Using Campaign ID:", CAMPAIGN_ID); // 2. Create Template console.log("Creating Template..."); const template = await createItem('article_templates', { name: 'Long Form Sales Letter (Master Blueprint)', structure_json: LONG_FORM_STRUCTURE }); console.log("Template Created:", template.id); // 3. Import Fragments console.log(`Importing ${rawJson.fragments.length} fragments...`); let count = 0; for (const fragment of rawJson.fragments) { await createItem('content_fragments', { campaign: CAMPAIGN_ID, fragment_type: fragment.fragment_type, content_body: fragment.content_body, word_count: fragment.word_count }); count++; if (count % 10 === 0) console.log(`Imported ${count}...`); } console.log("Import Complete!"); } catch (e) { console.error("Script Failed:", e); } })();