<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>E-commerce &#038; Retail &#8211; Flowpast.com &#8211; Your Workflow Automation Library</title>
	<atom:link href="https://flowpast.com/industry/e-commerce-and-retail/feed/" rel="self" type="application/rss+xml" />
	<link>https://flowpast.com</link>
	<description>Flowpast.com - Pre-Built n8n, Make &#38; Zapier Workflow Templates</description>
	<lastBuildDate>Fri, 23 Jan 2026 02:56:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://flowpast.com/wp-content/uploads/2025/12/cropped-icon-32x32.png</url>
	<title>E-commerce &#038; Retail &#8211; Flowpast.com &#8211; Your Workflow Automation Library</title>
	<link>https://flowpast.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Write Mission and Vision Statements with this AI Prompt</title>
		<link>https://flowpast.com/prompts/write-mission-and-vision-statements-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:56:22 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001757</guid>

					<description><![CDATA[Mission and vision feel vague - this AI Prompt crafts crisp, credible statements with differentiators and a quick rationale. Explore thousands of AI prompts by function and industry.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: mission vision AI prompt -->
<div class="hook-introduction">

<p>Your mission and vision shouldn’t read like a poster from a corporate lobby. But that’s what happens when you try to “sound professional” and end up vague, puffy, and interchangeable. Then you avoid using them at all, because they don’t feel true.</p>



<p>This <strong>mission vision AI prompt</strong> is built for <strong>founders</strong> who need language that finally matches what they actually do, <strong>marketing managers</strong> updating a website or pitch deck on a deadline, and <strong>consultants</strong> running client discovery sessions that need a clear “north star” fast. The output is a matched Mission + Vision pair (two items only), each 1–3 sentences, plus a short pre-analysis that reflects your customers, differentiators, and values.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It restates your business back to you in a quick pre-analysis, including who you serve, what you uniquely do, and the change you want to create.</li>
          <li>It extracts clear “building blocks” (primary customer, need, advantage, value themes, and industry context) before writing anything.</li>
          <li>It drafts a Mission statement in plain language that covers present purpose plus how you serve customers.</li>
          <li>It drafts a Vision statement that describes a future state and broader impact, without drifting into buzzwords.</li>
          <li>It enforces tight constraints (two items only, 1–3 sentences each) so you don’t end up with an essay nobody remembers.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re launching or relaunching a small business and the “About” page feels unfinished without credible positioning.</li>
          <li>Your team keeps debating priorities because there’s no shared language for what the company is building.</li>
          <li>You’re preparing a pitch deck, grant application, or partnership proposal and you need crisp purpose statements that don’t sound made up.</li>
          <li>Your brand sounds too similar to competitors, and the current mission/vision could belong to anyone in the category.</li>
          <li>You’re scaling hiring and onboarding, and you want a sturdy message that holds up even as tactics change.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>One Mission statement (1–3 sentences) written in modern, non-fluffy language.</li>
           <li>One Vision statement (1–3 sentences) that describes the future you’re aiming to create.</li>
           <li>A short pre-analysis summary that reflects your customers, differentiators, values, and intended impact.</li>
           <li>A “building blocks” breakdown (Primary Customer, Primary Need, Distinct Advantage, Value Themes, Industry Context).</li>
           <li>Copy you can paste directly into a website, deck, brand brief, or onboarding doc with minimal editing.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Mission &amp; Vision Statement Generator (Plain-Language)</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    This placeholder demonstrates the format for user inputs in uppercase with underscores, which must be followed for all variables provided.                                    <div class="var-example">For example: "[INDUSTRY], [CORE_VALUES], [UNIQUE_SELLING_PROPOSITIONS], [TARGET_AUDIENCE_AND_THEIR_NEEDS]"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or market in which the business operates. Include details to clarify the sector and scope.                                    <div class="var-example">For example: "Health and Wellness Technology"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CORE_VALUES]</code></td>
                                <td class="var-desc">
                                    List the fundamental beliefs or principles that guide the business, typically 3-5 values that are central to its identity and operations.                                    <div class="var-example">For example: "Integrity, Sustainability, Innovation, Customer-Centricity"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CORE_VALUES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UNIQUE_SELLING_PROPOSITIONS]</code></td>
                                <td class="var-desc">
                                    Describe what sets the business apart from competitors, focusing on key differentiators that provide value to customers.                                    <div class="var-example">For example: "Proprietary AI-driven nutrition plans tailored to individual health metrics, supported by 24/7 expert coaching."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[UNIQUE_SELLING_PROPOSITIONS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TARGET_AUDIENCE_AND_THEIR_NEEDS]</code></td>
                                <td class="var-desc">
                                    Define the primary customer group and their specific needs or challenges that the business addresses.                                    <div class="var-example">For example: "Busy professionals aged 30-45 looking for convenient, personalized solutions to improve their health and fitness."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TARGET_AUDIENCE_AND_THEIR_NEEDS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="prompt-header-visible subheader">1) Pre-Analysis (required)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Extract the building blocks</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">3) Draft the Mission (today → action)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">4) Draft the Vision (tomorrow → outcome)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">5) Tighten for recall</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">6) Edge-case handling</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT (scope boundaries)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a matched pair of mission and vision statements for a small business that clearly express why the company exists today and what future it is aiming to build—distinctive to the business, easy to remember, and sturdy enough to remain useful even if strategy or market conditions shift.

## PERSONA
You are an experienced multi-business founder and operator who has helped early-stage companies clarify positioning, culture, and direction. You write in a crisp, modern style that avoids corporate fluff while still sounding credible and motivating.

## CONSTRAINTS
- Produce **two items only**: one Mission and one Vision.
- Each statement must be **1–3 sentences** and **plain-language memorable**.
- Mission must describe **present purpose + how it serves customers**.
- Vision must describe an **aspirational future state + broader impact**.
- Both must reflect the company’s **values** and **differentiators**.
- Avoid vague filler (e.g., “world-class,” “best-in-class,” “innovative solutions,” “synergy,” “cutting-edge,” “leverage,” “disrupt”).
- **Variable format compliance:** user inputs must appear as **[UPPERCASE_WITH_UNDERSCORES]**; AI-filled placeholders must use **{Title Case}** if needed.

## PROCESS
### 1) Pre-Analysis (required)
Briefly restate your understanding of the business using the provided inputs, including:
- who it serves,
- what it uniquely does,
- what it believes (values),
- the key change it wants to create.

### 2) Extract the building blocks
From the inputs, identify:
- {Primary Customer}
- {Primary Need}
- {Distinct Advantage}
- {Value Themes}
- {Industry Context}

### 3) Draft the Mission (today → action)
- Start with a strong action verb (choose one that fits the industry and voice).
- Specify what the business delivers and for whom.
- Keep it broad enough to allow adjacent expansion without becoming generic.

### 4) Draft the Vision (tomorrow → outcome)
- Describe the future after the company succeeds at scale.
- Show the impact on customers, the market, or society in concrete terms.
- Make it ambitious but believable.

### 5) Tighten for recall
- Remove jargon, extra clauses, and “we will strive to” phrasing.
- Prefer active voice and concrete nouns/verbs.

### 6) Edge-case handling
If any inputs are missing, contradictory, or overly broad:
- Make the smallest reasonable assumptions and label them as {Assumptions}.
- Provide 1–2 quick clarification questions at the end that would improve accuracy.

### What This Is NOT (scope boundaries)
- Not a full brand strategy, positioning doc, tagline set, or marketing campaign.
- Not a legal statement of services or compliance claims.
- Not a competitor analysis or market research report.

## INPUTS
- **Industry:** [INDUSTRY]
- **Core values:** [CORE_VALUES]
- **Unique selling propositions:** [UNIQUE_SELLING_PROPOSITIONS]
- **Target audience and their needs:** [TARGET_AUDIENCE_AND_THEIR_NEEDS]

## OUTPUT SPECIFICATION
Provide the deliverable in this exact structure:

- **Mission:** {Mission Statement}
- **Vision:** {Vision Statement}
- **If assumptions were required:** {Assumptions (Bullets)}
- **Optional clarification questions (only if needed):** {Questions (Bullets)}

## QUALITY CHECKS
Before finalizing, verify:
- The Mission names a clear customer and present-day purpose.
- The Vision paints a specific future impact, not just growth.
- Values and differentiators are visible (not implied).
- Each statement is short, readable aloud, and free of banned filler.
- The pair feels coherent: Mission = what you do now; Vision = what changes if you win.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a matched pair of mission and vision statements for a small business that clearly express why the company exists today and what future it is aiming to build\u2014distinctive to the business, easy to remember, and sturdy enough to remain useful even if strategy or market conditions shift.\r\n\r\n## PERSONA\r\nYou are an experienced multi-business founder and operator who has helped early-stage companies clarify positioning, culture, and direction. You write in a crisp, modern style that avoids corporate fluff while still sounding credible and motivating.\r\n\r\n## CONSTRAINTS\r\n- Produce **two items only**: one Mission and one Vision.\r\n- Each statement must be **1\u20133 sentences** and **plain-language memorable**.\r\n- Mission must describe **present purpose + how it serves customers**.\r\n- Vision must describe an **aspirational future state + broader impact**.\r\n- Both must reflect the company\u2019s **values** and **differentiators**.\r\n- Avoid vague filler (e.g., \u201cworld-class,\u201d \u201cbest-in-class,\u201d \u201cinnovative solutions,\u201d \u201csynergy,\u201d \u201ccutting-edge,\u201d \u201cleverage,\u201d \u201cdisrupt\u201d).\r\n- **Variable format compliance:** user inputs must appear as **[UPPERCASE_WITH_UNDERSCORES]**; AI-filled placeholders must use **{Title Case}** if needed.\r\n\r\n## PROCESS\r\n### 1) Pre-Analysis (required)\r\nBriefly restate your understanding of the business using the provided inputs, including:\r\n- who it serves,\r\n- what it uniquely does,\r\n- what it believes (values),\r\n- the key change it wants to create.\r\n\r\n### 2) Extract the building blocks\r\nFrom the inputs, identify:\r\n- {Primary Customer}\r\n- {Primary Need}\r\n- {Distinct Advantage}\r\n- {Value Themes}\r\n- {Industry Context}\r\n\r\n### 3) Draft the Mission (today \u2192 action)\r\n- Start with a strong action verb (choose one that fits the industry and voice).\r\n- Specify what the business delivers and for whom.\r\n- Keep it broad enough to allow adjacent expansion without becoming generic.\r\n\r\n### 4) Draft the Vision (tomorrow \u2192 outcome)\r\n- Describe the future after the company succeeds at scale.\r\n- Show the impact on customers, the market, or society in concrete terms.\r\n- Make it ambitious but believable.\r\n\r\n### 5) Tighten for recall\r\n- Remove jargon, extra clauses, and \u201cwe will strive to\u201d phrasing.\r\n- Prefer active voice and concrete nouns\/verbs.\r\n\r\n### 6) Edge-case handling\r\nIf any inputs are missing, contradictory, or overly broad:\r\n- Make the smallest reasonable assumptions and label them as {Assumptions}.\r\n- Provide 1\u20132 quick clarification questions at the end that would improve accuracy.\r\n\r\n### What This Is NOT (scope boundaries)\r\n- Not a full brand strategy, positioning doc, tagline set, or marketing campaign.\r\n- Not a legal statement of services or compliance claims.\r\n- Not a competitor analysis or market research report.\r\n\r\n## INPUTS\r\n- **Industry:** [INDUSTRY]\r\n- **Core values:** [CORE_VALUES]\r\n- **Unique selling propositions:** [UNIQUE_SELLING_PROPOSITIONS]\r\n- **Target audience and their needs:** [TARGET_AUDIENCE_AND_THEIR_NEEDS]\r\n\r\n## OUTPUT SPECIFICATION\r\nProvide the deliverable in this exact structure:\r\n\r\n- **Mission:** {Mission Statement}\r\n- **Vision:** {Vision Statement}\r\n- **If assumptions were required:** {Assumptions (Bullets)}\r\n- **Optional clarification questions (only if needed):** {Questions (Bullets)}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The Mission names a clear customer and present-day purpose.\r\n- The Vision paints a specific future impact, not just growth.\r\n- Values and differentiators are visible (not implied).\r\n- Each statement is short, readable aloud, and free of banned filler.\r\n- The pair feels coherent: Mission = what you do now; Vision = what changes if you win.";
    const variables = ["[UPPERCASE_WITH_UNDERSCORES]","[INDUSTRY]","[CORE_VALUES]","[UNIQUE_SELLING_PROPOSITIONS]","[TARGET_AUDIENCE_AND_THEIR_NEEDS]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Feed it real specifics, not categories.</strong> Don’t say “we help small businesses.” Say something like: “We help independent gyms with 2–3 locations reduce churn with simple member engagement automations.” If you give sharp inputs, the mission will come out sharp too.</li>


<li><strong>Write your differentiator as a tradeoff.</strong> “High quality” is not a differentiator. Try a sentence like: “We win because we’re fast and practical, even if it means fewer custom options.” Then ask a follow-up: “Rewrite the Mission to reflect that tradeoff clearly, without sounding negative.”</li>


<li><strong>Pick 3–5 value themes and keep them human.</strong> Values like “integrity” are fine, but they’re weak alone. Combine them with how you behave: “straight talk,” “craft,” “follow-through,” “measured growth,” “customers before scale.” If the output still feels generic, ask: “Make the values more observable in day-to-day decisions.”</li>


<li><strong>Iterate with polarity on purpose.</strong> After the first output, try asking: “Now make the Vision more ambitious but keep the Mission grounded and practical.” Then do the opposite: “Make the Mission bolder and the Vision more concrete.” You’ll quickly find a version that fits.</li>


<li><strong>Stress-test for memorability and reuse.</strong> Read both statements out loud. If you stumble, it’s too complex. Then prompt: “Rewrite both statements at an 8th-grade reading level, keep meaning, keep it credible, and avoid any buzzwords like ‘innovative’ or ‘world-class.’” Honestly, this single tweak often fixes 80% of the problem.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once your mission and vision are clear, these prompts help you turn that direction into execution across marketing, measurement, and campaigns:</p>



<p>If you also need to translate the mission into a consistent publishing rhythm, <a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a> helps you map themes, pages, and topics that support the promise you just articulated. It’s especially useful when your new positioning creates “content debt” and your team needs a plan they can follow.</p>



<p>When you want your mission and vision reflected in measurable growth work, <a href="https://flowpast.com/prompts/set-up-ga4-for-seo-insights-ai-prompt/">Set Up GA4 for SEO Insights AI Prompt</a> pairs well. A strong purpose statement is great, but you still need to see what content is pulling in the right audience and which pages are leaking attention.</p>



<p>For teams doing acquisition pushes or testing new offers, <a href="https://flowpast.com/prompts/create-10-google-search-ad-sets-ai-prompt/">Create 10 Google Search Ad Sets AI Prompt</a> gives you campaign structure and ad-group angles that can stay consistent with your mission language. It’s a practical next step when you need the market to actually hear what you stand for.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a>: Plan themes and posts aligned to positioning.</li>


<li><a href="https://flowpast.com/prompts/set-up-ga4-for-seo-insights-ai-prompt/">Set Up GA4 for SEO Insights AI Prompt</a>: Measure SEO impact with clean tracking.</li>


<li><a href="https://flowpast.com/prompts/create-10-google-search-ad-sets-ai-prompt/">Create 10 Google Search Ad Sets AI Prompt</a>: Build campaigns from focused search intent.</li>

<li><a href="https://flowpast.com/prompts/create-a-search-ready-blog-post-with-this-ai-prompt/">Create a Search-Ready Blog Post with this AI Prompt</a>: Turn strategy into a ranking-ready article.</li>

<li><a href="https://flowpast.com/prompts/create-a-job-search-follow-up-playbook-with-this-ai-prompt/">Create a Job Search Follow-Up Playbook with this AI Prompt</a>: Follow-up system for professional outreach.</li>
<!-- /wp:post-content -->
</ul>
<!-- /wp:list -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this mission vision AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Founders and co-founders</strong> use this to get out of the “we do a bit of everything” trap and land on language that’s stable enough to guide decisions. <strong>Brand strategists</strong> rely on it to generate a clean first draft after discovery, then refine the tone to match the brand voice. <strong>Marketing managers</strong> use it when updating homepages, decks, and campaigns so messaging stays consistent across channels. <strong>People ops and hiring leads</strong> apply it to onboarding and job pages, where a real mission helps attract candidates who fit the values.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this mission vision AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Local service businesses</strong> (clinics, studios, home services) get immediate value because customers compare providers fast, and clear differentiation reduces “price shopping.” <strong>SaaS and tech-enabled services</strong> use it to avoid feature-soup messaging and instead communicate the problem they exist to solve, even as the product evolves. <strong>E-commerce and product brands</strong> benefit when they want a credible purpose beyond “selling products,” like sustainability, craftsmanship, or customer identity. <strong>Consulting and professional services</strong> teams use it to articulate a point of view, which makes proposals and retainers feel more intentional.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for writing mission and vision statements produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “<em>Write me a mission and vision statement for my business</em>” fails because it: lacks any requirement to restate who you serve and what’s distinctive, provides no structure separating “today” (mission) from “future impact” (vision), ignores values entirely or treats them as generic virtues, produces corporate filler instead of plain-language statements you can remember, and misses the constraint that forces clarity (two items only, 1–3 sentences each). This prompt is stricter, which is the point.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this mission vision AI prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, but the customization happens in the business description you provide before running the prompt, since the prompt itself has no variables. You’ll get better output if you include: your primary customer, the primary need you solve, your distinct advantage, 3–5 value themes, and the industry context you operate in. After it generates the Mission and Vision, ask a targeted follow-up like: “Keep the meaning, but make the Mission more action-oriented and the Vision more concrete with a visible outcome.” If you have brand voice rules, paste 2–3 examples of existing copy and request the same tone.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this mission vision AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving the primary customer too vague; instead of “small business owners,” try “solo tax professionals serving freelancers earning $80–200K/year.” Another common error is describing the distinct advantage as a slogan (“great service”) rather than a mechanism, like “we deliver in 48 hours using standardized workflows and senior review.” People also paste value words without behaviors; “integrity, excellence” becomes stronger as “clear pricing, no surprise fees, fix mistakes fast.” Finally, some teams blur mission and vision; the fix is simple: keep mission about what you do today for customers, and vision about what the world looks like when you win at scale.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this mission vision AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for teams that want a long brand manifesto, a full narrative positioning document, or a one-and-done template with no iteration. It’s also a poor fit if you haven’t clarified what you sell and to whom, because the prompt can’t invent a real strategy for you. If that’s where you are, do a short discovery exercise first (offer, audience, differentiator), then come back and generate statements you can actually stand behind.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this mission vision AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Founders and co-founders use this to get out of the “we do a bit of everything” trap and land on language that’s stable enough to guide decisions. Brand strategists rely on it to generate a clean first draft after discovery, then refine the tone to match the brand voice. Marketing managers use it when updating homepages, decks, and campaigns so messaging stays consistent across channels. People ops and hiring leads apply it to onboarding and job pages, where a real mission helps attract candidates who fit the values."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this mission vision AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Local service businesses (clinics, studios, home services) get immediate value because customers compare providers fast, and clear differentiation reduces “price shopping.” SaaS and tech-enabled services use it to avoid feature-soup messaging and instead communicate the problem they exist to solve, even as the product evolves. E-commerce and product brands benefit when they want a credible purpose beyond “selling products,” like sustainability, craftsmanship, or customer identity. Consulting and professional services teams use it to articulate a point of view, which makes proposals and retainers feel more intentional."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for writing mission and vision statements produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a mission and vision statement for my business” fails because it: lacks any requirement to restate who you serve and what’s distinctive, provides no structure separating “today” (mission) from “future impact” (vision), ignores values entirely or treats them as generic virtues, produces corporate filler instead of plain-language statements you can remember, and misses the constraint that forces clarity (two items only, 1–3 sentences each). This prompt is stricter, which is the point."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this mission vision AI prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but the customization happens in the business description you provide before running the prompt, since the prompt itself has no variables. You’ll get better output if you include: your primary customer, the primary need you solve, your distinct advantage, 3–5 value themes, and the industry context you operate in. After it generates the Mission and Vision, ask a targeted follow-up like: “Keep the meaning, but make the Mission more action-oriented and the Vision more concrete with a visible outcome.” If you have brand voice rules, paste 2–3 examples of existing copy and request the same tone."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this mission vision AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving the primary customer too vague; instead of “small business owners,” try “solo tax professionals serving freelancers earning $80–200K/year.” Another common error is describing the distinct advantage as a slogan (“great service”) rather than a mechanism, like “we deliver in 48 hours using standardized workflows and senior review.” People also paste value words without behaviors; “integrity, excellence” becomes stronger as “clear pricing, no surprise fees, fix mistakes fast.” Finally, some teams blur mission and vision; the fix is simple: keep mission about what you do today for customers, and vision about what the world looks like when you win at scale."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this mission vision AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams that want a long brand manifesto, a full narrative positioning document, or a one-and-done template with no iteration. It’s also a poor fit if you haven’t clarified what you sell and to whom, because the prompt can’t invent a real strategy for you. If that’s where you are, do a short discovery exercise first (offer, audience, differentiator), then come back and generate statements you can actually stand behind."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Clear mission and vision statements make marketing, hiring, and product decisions easier because you’re not reinventing “who we are” every week. Paste the prompt into ChatGPT, give it specific inputs, and keep iterating until the words feel like something you’d actually say.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001757.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Small-Business Marketing Game Plan AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-small-business-marketing-game-plan-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:55:27 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001756</guid>

					<description><![CDATA[Leads feel inconsistent - the ultimate AI Prompt that builds an execution-ready marketing plan mixing online and offline tactics. Access our full AI prompt library for every model.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: marketing game plan -->
<div class="hook-introduction">

<p>Most small-business marketing “plans” fall apart in week two. You start strong, then the to-do list gets messy, leads come in sporadically, and you can’t tell what’s actually working. Meanwhile, offline efforts and online tactics run in parallel, not together.</p>



<p>This <strong>marketing game plan</strong> is built for <strong>local business owners</strong> who need more consistent bookings without hiring a full-time marketer, <strong>marketing managers</strong> juggling limited budget and limited time, and <strong>consultants</strong> who need a credible first-pass plan they can refine with client input. The output is an execution-ready blueprint that covers acquisition, conversion, and retention, combining digital channels with practical local/offline moves you can run immediately.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>Restates your business context and target customer in a short pre-analysis to make sure the plan is aimed correctly.</li>
          <li>Runs a “situation scan” that summarizes market conditions, audience realities, and competitive pressure using your inputs.</li>
          <li>Builds a connected strategy across acquisition, conversion, and retention, split into digital and offline tactics that reinforce each other.</li>
          <li>Prioritizes actions by measurability and plausible ROI, while calling out tradeoffs instead of pretending every channel works.</li>
          <li>Flags missing info, labels assumptions, and asks a small set of high-impact questions to improve accuracy without stalling progress.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You have “random acts of marketing” happening, but no single plan that tells you what to do next week.</li>
          <li>Leads feel inconsistent, and you suspect the issue is the system, not your effort.</li>
          <li>You are deciding where to put a limited budget (and you need a rationale, not a guess).</li>
          <li>A competitor is showing up everywhere (ads, local partnerships, reviews), and you need a coordinated response.</li>
          <li>You’re about to scale what’s working, but you want to tighten conversion and retention before spending more on acquisition.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A structured marketing blueprint covering acquisition, conversion, and retention with channel-by-channel actions.</li>
           <li>A list of 3–6 clarifying questions plus clearly labeled assumptions so you know what to verify first.</li>
           <li>A set of online/offline tactics that explicitly link together (for example, local events feeding email and retargeting).</li>
           <li>A prioritized execution plan with measurable outcomes and suggested tracking signals to watch.</li>
           <li>Plain-language guidance you can hand to a teammate or vendor without needing to “translate marketing speak.”</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Small-Business Marketing Game Plan Blueprint</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[COMPANY_NAME]</code></td>
                                <td class="var-desc">
                                    Enter the full name of the business for which the marketing blueprint is being created.                                    <div class="var-example">For example: "GreenTech Solutions Inc."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[COMPANY_NAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Specify the total budget allocated for marketing efforts. Include the currency and any constraints if applicable.                                    <div class="var-example">For example: "$10,000 per quarter, with a focus on maximizing ROI."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[BUDGET]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Provide the industry or niche the business operates in, including any specific subcategories.                                    <div class="var-example">For example: "Sustainable home goods and eco-friendly products."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    State the main objective of the marketing plan, such as increasing leads, bookings, or subscriptions.                                    <div class="var-example">For example: "Generate 500 new leads per month through digital campaigns."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide any relevant background information, challenges, or constraints impacting the business&#039;s marketing efforts.                                    <div class="var-example">For example: "The business is expanding into a new region with limited brand awareness and no existing customer base."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the ideal customer, including demographics, preferences, and key characteristics.                                    <div class="var-example">For example: "Millennial homeowners aged 25-40 who value sustainability and are willing to pay a premium for eco-friendly products."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TARGET_AUDIENCE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[DIGITAL_PLATFORMS]</code></td>
                                <td class="var-desc">
                                    List the online platforms where the business currently has a presence or plans to focus its efforts.                                    <div class="var-example">For example: "Instagram, Facebook, LinkedIn, and Shopify."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[DIGITAL_PLATFORMS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRODUCT_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Provide a detailed description of what the business sells, including the target customer, pricing, and location.                                    <div class="var-example">For example: "Handcrafted bamboo furniture for eco-conscious homeowners, priced between $300-$1,500, available nationwide through e-commerce."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRODUCT_DESCRIPTION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[COMPETITOR_LIST]</code></td>
                                <td class="var-desc">
                                    List the main competitors in the business&#039;s industry, including their strengths and weaknesses if known.                                    <div class="var-example">For example: "EcoLiving Furniture, GreenHome Designs, and Sustainable Spaces Co."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[COMPETITOR_LIST]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[USP]</code></td>
                                <td class="var-desc">
                                    Define what makes the business stand out from competitors, such as product features, pricing, or values.                                    <div class="var-example">For example: "Our furniture is 100% made from renewable bamboo and handcrafted by local artisans, ensuring sustainability and quality."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[USP]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PREVIOUS_MARKETING_RESULTS]</code></td>
                                <td class="var-desc">
                                    Summarize the outcomes of past marketing efforts, including metrics like ROI, engagement, or revenue impact.                                    <div class="var-example">For example: "Last quarter’s Facebook ad campaign generated 200 leads with a 5% conversion rate, resulting in $15,000 in revenue."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PREVIOUS_MARKETING_RESULTS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Specify the duration for implementing the marketing plan, including short-term and long-term goals.                                    <div class="var-example">For example: "3 months for initial rollout, with a review at 6 months to assess effectiveness."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BRAND_VOICE]</code></td>
                                <td class="var-desc">
                                    Describe the tone and style of communication that reflects the business&#039;s identity and values.                                    <div class="var-example">For example: "Friendly, approachable, and sustainability-focused, with an emphasis on educating customers."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BRAND_VOICE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Scope Boundaries — What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a practical, end-to-end marketing blueprint for [COMPANY_NAME] that increases visibility, attracts more of the right customers, and improves revenue. The plan must balance online and offline tactics, reflect current market conditions, and translate into actions the business can implement immediately while staying flexible as results and customer feedback come in.

## PERSONA
Act as a senior small-business growth strategist with deep hands-on experience across multiple industries. Communicate in a clear, structured, “do-this-next” style: direct, specific, and realistic about tradeoffs.

## CONSTRAINTS
- Ground recommendations in the reality of [BUDGET], [INDUSTRY], and the business’s current capabilities.
- Integrate digital and local/traditional methods so they reinforce each other.
- Prioritize tactics with measurable outcomes and a plausible path to ROI.
- Use plain language; avoid vague advice (e.g., “post more,” “go viral”).
- If information is missing, make minimal assumptions and label them clearly.

### Scope Boundaries — What This Is NOT
- Not legal, tax, or compliance guidance.
- Not a promise of specific revenue results.
- Not a full brand redesign (unless explicitly requested in [PRIMARY_GOAL] or [CONTEXT]).
- Not a one-size-fits-all template; everything must connect back to [COMPANY_NAME] and [TARGET_AUDIENCE].

## PROCESS
1. **Pre-analysis (required):** Briefly restate your understanding of the business, the ideal recipient/customer, and the main growth goal in 4–6 bullets. List any assumptions and 3–6 questions that would most improve accuracy (only if needed to proceed).
2. **Situation scan:** Summarize the market environment, audience, and competition using the provided inputs. Highlight the biggest opportunities and the biggest constraints.
3. **Strategy design:** Build a cohesive plan across acquisition, conversion, and retention—split into digital and offline efforts that connect to each other.
4. **Execution plan:** Provide a staged rollout (near-term and mid-term), including owners/roles, estimated effort level, and a workable cadence.
5. **Measurement &amp; iteration:** Define KPIs, reporting rhythm, and decision rules for doubling down, pausing, or pivoting.
6. **Edge case handling:**  
   - If [BUDGET] is very small, emphasize high-leverage, low-cost channels and partnerships.  
   - If competitors are unknown, propose a lightweight competitor discovery method.  
   - If [DIGITAL_PLATFORMS] is empty, start with a minimal viable stack and explain why.

## INPUTS
- **Company/business name:** [COMPANY_NAME]  
- **Business description (what you sell, to whom, where, price point if relevant):** [PRODUCT_DESCRIPTION]  
- **Industry/niche:** [INDUSTRY]  
- **Primary goal (e.g., leads, bookings, foot traffic, subscriptions, upsells):** [PRIMARY_GOAL]  
- **Target audience definition:** [TARGET_AUDIENCE]  
- **Key competitors:** [COMPETITOR_LIST]  
- **USP / differentiation:** [USP]  
- **Marketing budget available:** [BUDGET]  
- **Current digital channels/platforms used:** [DIGITAL_PLATFORMS]  
- **Previous marketing actions + outcomes:** [PREVIOUS_MARKETING_RESULTS]  
- **Any additional context/constraints (location, seasonality, team size, constraints):** [CONTEXT]  
- **Timeline or deadline for results (if any):** [TIMEFRAME]  
- **Preferred tone/brand style (optional):** [BRAND_VOICE]  

## OUTPUT SPECIFICATION
Deliver a structured strategy document with the following sections and placeholders:

1. **Pre-Analysis Summary**
   - {Business Snapshot}
   - {Goal Definition}
   - {Key Assumptions}
   - {Clarifying Questions}

2. **Market &amp; Customer Analysis**
   - {Ideal Recipient Profiles} (include demographics, motivations, buying triggers, objections)
   - {Customer Journey Notes} (awareness → consideration → purchase → repeat)
   - {Competitive Landscape} (include {Competitor Strengths}, {Competitor Gaps})
   - {SWOT Summary}
   - {Market Trends &amp; Implications}

3. **Positioning &amp; Messaging**
   - {Core Value Proposition}
   - {Proof Points} (reviews, guarantees, credentials, case studies)
   - {Messaging Angles} (3–5 angles tailored to the audience)

4. **Digital Growth Plan**
   - {SEO Priorities} (technical, on-page, local if relevant)
   - {Content Strategy} (themes, formats, distribution)
   - {Social Plan by Platform} (what to post, cadence, engagement routines)
   - {Email/SMS Lifecycle} (welcome, nurture, promo, winback)
   - {Paid Media Approach} (if applicable) with {Targeting}, {Offers}, {Landing Flow}

5. **Offline / Local Marketing Plan**
   - {Partnerships &amp; Referrals}
   - {Events / Sponsorship Ideas}
   - {Print / Signage / Community Tactics}
   - {Digital-Offline Integration} (how offline drives online and vice versa)

6. **Engagement &amp; Retention System**
   - {Loyalty or Repeat-Purchase Mechanism}
   - {Personalization Tactics}
   - {Review/Referral Engine}
   - {Feedback Loop} (collection + how it changes marketing)

7. **Budget Plan**
   - {Budget Breakdown Table} by channel with ranges and rationale
   - {Cost-Control Notes} and “start small / scale” guidance

8. **Content Calendar (Starter)**
   - Provide a {4–6 Week Calendar} with:
     - {Topic}
     - {Format}
     - {Channel}
     - {CTA}
     - {Success Metric}

9. **Implementation Roadmap**
   - {Phase 1 (Weeks 1–3)} priorities
   - {Phase 2 (Weeks 4–8)} build/scale activities
   - {Phase 3 (Weeks 9–12)} optimization and expansion
   - Include {Owner/Role}, {Effort Level}, and {Dependencies}

10. **Measurement, Reporting, and Adaptation**
   - {KPI Set} (acquisition, conversion, retention, unit economics where possible)
   - {Tracking Setup}
   - {Weekly/Monthly Review Routine}
   - {Decision Rules} (what triggers changes)

## QUALITY CHECKS
Before finalizing, verify:
- The plan clearly matches [TARGET_AUDIENCE], [USP], and [PRIMARY_GOAL] (no generic filler).
- Every major tactic has a metric and a way to execute it with the given [BUDGET].
- Digital and offline activities are connected (shared offers, shared tracking, consistent messaging).
- The roadmap includes realistic sequencing and dependencies.
- Any assumptions caused by missing inputs are explicitly labeled and kept minimal.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a practical, end-to-end marketing blueprint for [COMPANY_NAME] that increases visibility, attracts more of the right customers, and improves revenue. The plan must balance online and offline tactics, reflect current market conditions, and translate into actions the business can implement immediately while staying flexible as results and customer feedback come in.\r\n\r\n## PERSONA\r\nAct as a senior small-business growth strategist with deep hands-on experience across multiple industries. Communicate in a clear, structured, \u201cdo-this-next\u201d style: direct, specific, and realistic about tradeoffs.\r\n\r\n## CONSTRAINTS\r\n- Ground recommendations in the reality of [BUDGET], [INDUSTRY], and the business\u2019s current capabilities.\r\n- Integrate digital and local\/traditional methods so they reinforce each other.\r\n- Prioritize tactics with measurable outcomes and a plausible path to ROI.\r\n- Use plain language; avoid vague advice (e.g., \u201cpost more,\u201d \u201cgo viral\u201d).\r\n- If information is missing, make minimal assumptions and label them clearly.\r\n\r\n### Scope Boundaries \u2014 What This Is NOT\r\n- Not legal, tax, or compliance guidance.\r\n- Not a promise of specific revenue results.\r\n- Not a full brand redesign (unless explicitly requested in [PRIMARY_GOAL] or [CONTEXT]).\r\n- Not a one-size-fits-all template; everything must connect back to [COMPANY_NAME] and [TARGET_AUDIENCE].\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Briefly restate your understanding of the business, the ideal recipient\/customer, and the main growth goal in 4\u20136 bullets. List any assumptions and 3\u20136 questions that would most improve accuracy (only if needed to proceed).\r\n2. **Situation scan:** Summarize the market environment, audience, and competition using the provided inputs. Highlight the biggest opportunities and the biggest constraints.\r\n3. **Strategy design:** Build a cohesive plan across acquisition, conversion, and retention\u2014split into digital and offline efforts that connect to each other.\r\n4. **Execution plan:** Provide a staged rollout (near-term and mid-term), including owners\/roles, estimated effort level, and a workable cadence.\r\n5. **Measurement & iteration:** Define KPIs, reporting rhythm, and decision rules for doubling down, pausing, or pivoting.\r\n6. **Edge case handling:**  \r\n   - If [BUDGET] is very small, emphasize high-leverage, low-cost channels and partnerships.  \r\n   - If competitors are unknown, propose a lightweight competitor discovery method.  \r\n   - If [DIGITAL_PLATFORMS] is empty, start with a minimal viable stack and explain why.\r\n\r\n## INPUTS\r\n- **Company\/business name:** [COMPANY_NAME]  \r\n- **Business description (what you sell, to whom, where, price point if relevant):** [PRODUCT_DESCRIPTION]  \r\n- **Industry\/niche:** [INDUSTRY]  \r\n- **Primary goal (e.g., leads, bookings, foot traffic, subscriptions, upsells):** [PRIMARY_GOAL]  \r\n- **Target audience definition:** [TARGET_AUDIENCE]  \r\n- **Key competitors:** [COMPETITOR_LIST]  \r\n- **USP \/ differentiation:** [USP]  \r\n- **Marketing budget available:** [BUDGET]  \r\n- **Current digital channels\/platforms used:** [DIGITAL_PLATFORMS]  \r\n- **Previous marketing actions + outcomes:** [PREVIOUS_MARKETING_RESULTS]  \r\n- **Any additional context\/constraints (location, seasonality, team size, constraints):** [CONTEXT]  \r\n- **Timeline or deadline for results (if any):** [TIMEFRAME]  \r\n- **Preferred tone\/brand style (optional):** [BRAND_VOICE]  \r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a structured strategy document with the following sections and placeholders:\r\n\r\n1. **Pre-Analysis Summary**\r\n   - {Business Snapshot}\r\n   - {Goal Definition}\r\n   - {Key Assumptions}\r\n   - {Clarifying Questions}\r\n\r\n2. **Market & Customer Analysis**\r\n   - {Ideal Recipient Profiles} (include demographics, motivations, buying triggers, objections)\r\n   - {Customer Journey Notes} (awareness \u2192 consideration \u2192 purchase \u2192 repeat)\r\n   - {Competitive Landscape} (include {Competitor Strengths}, {Competitor Gaps})\r\n   - {SWOT Summary}\r\n   - {Market Trends & Implications}\r\n\r\n3. **Positioning & Messaging**\r\n   - {Core Value Proposition}\r\n   - {Proof Points} (reviews, guarantees, credentials, case studies)\r\n   - {Messaging Angles} (3\u20135 angles tailored to the audience)\r\n\r\n4. **Digital Growth Plan**\r\n   - {SEO Priorities} (technical, on-page, local if relevant)\r\n   - {Content Strategy} (themes, formats, distribution)\r\n   - {Social Plan by Platform} (what to post, cadence, engagement routines)\r\n   - {Email\/SMS Lifecycle} (welcome, nurture, promo, winback)\r\n   - {Paid Media Approach} (if applicable) with {Targeting}, {Offers}, {Landing Flow}\r\n\r\n5. **Offline \/ Local Marketing Plan**\r\n   - {Partnerships & Referrals}\r\n   - {Events \/ Sponsorship Ideas}\r\n   - {Print \/ Signage \/ Community Tactics}\r\n   - {Digital-Offline Integration} (how offline drives online and vice versa)\r\n\r\n6. **Engagement & Retention System**\r\n   - {Loyalty or Repeat-Purchase Mechanism}\r\n   - {Personalization Tactics}\r\n   - {Review\/Referral Engine}\r\n   - {Feedback Loop} (collection + how it changes marketing)\r\n\r\n7. **Budget Plan**\r\n   - {Budget Breakdown Table} by channel with ranges and rationale\r\n   - {Cost-Control Notes} and \u201cstart small \/ scale\u201d guidance\r\n\r\n8. **Content Calendar (Starter)**\r\n   - Provide a {4\u20136 Week Calendar} with:\r\n     - {Topic}\r\n     - {Format}\r\n     - {Channel}\r\n     - {CTA}\r\n     - {Success Metric}\r\n\r\n9. **Implementation Roadmap**\r\n   - {Phase 1 (Weeks 1\u20133)} priorities\r\n   - {Phase 2 (Weeks 4\u20138)} build\/scale activities\r\n   - {Phase 3 (Weeks 9\u201312)} optimization and expansion\r\n   - Include {Owner\/Role}, {Effort Level}, and {Dependencies}\r\n\r\n10. **Measurement, Reporting, and Adaptation**\r\n   - {KPI Set} (acquisition, conversion, retention, unit economics where possible)\r\n   - {Tracking Setup}\r\n   - {Weekly\/Monthly Review Routine}\r\n   - {Decision Rules} (what triggers changes)\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The plan clearly matches [TARGET_AUDIENCE], [USP], and [PRIMARY_GOAL] (no generic filler).\r\n- Every major tactic has a metric and a way to execute it with the given [BUDGET].\r\n- Digital and offline activities are connected (shared offers, shared tracking, consistent messaging).\r\n- The roadmap includes realistic sequencing and dependencies.\r\n- Any assumptions caused by missing inputs are explicitly labeled and kept minimal.";
    const variables = ["[COMPANY_NAME]","[BUDGET]","[INDUSTRY]","[PRIMARY_GOAL]","[CONTEXT]","[TARGET_AUDIENCE]","[DIGITAL_PLATFORMS]","[PRODUCT_DESCRIPTION]","[COMPETITOR_LIST]","[USP]","[PREVIOUS_MARKETING_RESULTS]","[TIMEFRAME]","[BRAND_VOICE]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Give the prompt real constraints.</strong> Plans get sharper when you state what you can’t do. For example: “Budget is $1,500/month, no video team, and the owner can only spend 3 hours/week on marketing.” Honestly, limitations help the strategy land in reality.</li>


<li><strong>Define the target audience in a way you can recognize in the wild.</strong> Avoid vague segments like “small business owners.” Try: “Homeowners within 10 miles, ages 30–60, who need service within 7 days and compare 2–3 providers.” Follow-up prompt: “Rewrite the plan if the target audience is price-sensitive and distrusts long contracts.”</li>


<li><strong>Ask for the digital/offline connection explicitly.</strong> The prompt is designed to integrate tactics, but you will get even better output if you request linkages. Add: “For each offline tactic, specify the digital follow-through (email capture, retargeting, review request, or referral loop).”</li>


<li><strong>Force prioritization after the first draft.</strong> After you receive the plan, refine it with: “Now cut this down to the top 5 actions for the next 14 days, then the next 5 actions for days 15–45.” If you want a more aggressive version, ask: “Make option 2 more aggressive and option 4 more conservative, keeping the same budget.”</li>


<li><strong>Turn the plan into channel assets fast.</strong> Once the blueprint names the channels, generate the actual ad and creative components immediately so you don’t stall. For example, if it recommends paid search, use <a href="https://flowpast.com/prompts/create-google-ads-assets-with-this-ai-prompt/">Create Google Ads Assets with this AI Prompt</a> to produce headlines, descriptions, and sitelinks in the same session.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once your marketing plan is set, these prompts help you execute the paid and creative pieces faster (without losing the strategy).</p>



<p>If your game plan includes Google Search for high-intent capture, <a href="https://flowpast.com/prompts/create-10-google-search-ad-sets-ai-prompt/">Create 10 Google Search Ad Sets AI Prompt</a> is the clean next step. Use it when you already know the core services/products you want to promote and need tightly themed ad groups, keyword directions, and a structure that’s easy to build inside Google Ads.</p>



<p>When the strategy calls for stronger messaging across channels (Search, landing pages, even flyers), <a href="https://flowpast.com/prompts/create-high-converting-ad-copy-with-this-ai-prompt/">Create High-Converting Ad Copy with this AI Prompt</a> pairs well. It’s especially helpful when you have several offers and you need each one framed with a clear benefit, proof, and call to action.</p>



<p>For teams running paid traffic where learning speed matters, <a href="https://flowpast.com/prompts/create-a-b-ad-copy-variations-with-this-ai-prompt/">Create A/B Ad Copy Variations with this AI Prompt</a> helps you test quickly without drifting off-brand. Use it right after your plan sets a hypothesis (for example, “speed matters more than price”) and you want multiple variations that isolate the message angle.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/create-google-ads-assets-with-this-ai-prompt/">Create Google Ads Assets with this AI Prompt</a>: Generate complete Google Ads asset sets.</li>


<li><a href="https://flowpast.com/prompts/create-10-google-search-ad-sets-ai-prompt/">Create 10 Google Search Ad Sets AI Prompt</a>: Build themed ad groups and structure.</li>


<li><a href="https://flowpast.com/prompts/create-high-converting-ad-copy-with-this-ai-prompt/">Create High-Converting Ad Copy with this AI Prompt</a>: Turn offers into persuasive copy.</li>


<li><a href="https://flowpast.com/prompts/create-a-b-ad-copy-variations-with-this-ai-prompt/">Create A/B Ad Copy Variations with this AI Prompt</a>: Produce testable variations for experiments.</li>


<li><a href="https://flowpast.com/prompts/create-tiktok-ad-copy-with-this-ai-prompt/">Create TikTok Ad Copy with this AI Prompt</a>: Write TikTok-ready hooks and scripts.</li>

</ul>

</div>

<div class="faq-section">

<h2 class="wp-block-heading">Common Questions</h2>


<div class="faq-item">
<span class="question">Which roles benefit most from this marketing game plan AI prompt?</span>

<p class="answer"><strong>Small-business owners</strong> use this to turn scattered ideas into a week-by-week plan they can actually run while juggling operations. <strong>Marketing managers</strong> rely on it to prioritize channels, set measurable outcomes, and explain the “why” behind the budget allocation. <strong>Growth consultants</strong> use it to produce a structured first deliverable, then tighten it after client answers the clarifying questions. <strong>Operations managers</strong> benefit when the plan includes retention and follow-up systems that require internal process changes, not just more ads.</p>

</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this marketing game plan AI prompt?</span>

<p class="answer"><strong>Home services</strong> businesses (plumbing, HVAC, cleaning) get value because the prompt naturally combines local/offline trust-builders with high-intent digital capture like search and review generation. <strong>Professional services</strong> firms (law, accounting, clinics) use it to map the path from visibility to consultation booking, including retention touchpoints that drive referrals. <strong>Retail and hospitality</strong> teams benefit when they need foot traffic, repeat visits, and local partnerships that can be tracked with simple offers and redemption metrics. <strong>B2B service providers</strong> (IT support, facilities, staffing) apply it to build an acquisition + nurture system that’s realistic for long sales cycles and limited content capacity.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a small-business marketing plan produce weak results?</span>

<p class="answer">A typical prompt like “Write me a marketing plan for my business” fails because it: lacks grounded inputs like budget, industry constraints, and current capabilities; provides no structure across acquisition, conversion, and retention; ignores the need to connect offline activity to digital follow-through; produces generic channel advice instead of measurable actions; and misses the built-in pre-analysis step that surfaces assumptions and high-impact clarifying questions. The result is a document that sounds good but doesn’t tell you what to do Monday morning.</p>

</div>

<div class="faq-item">
<span class="question">Can I customize this marketing game plan prompt for my specific situation?</span>

<p class="answer">Yes. Customize it by being precise with variables like [COMPANY_NAME], [INDUSTRY], [BUDGET], [TARGET_AUDIENCE], plus any [PRIMARY_GOAL] and [CONTEXT] you want reflected in priorities. If your capacity is limited, say so directly (for example, “no salesperson, owner answers the phone, 5 hours/week available”). A useful follow-up prompt is: “Rewrite the execution plan for a 30-day sprint with only two channels, and list the exact success metrics and weekly tasks.” This keeps the strategy intact while fitting your reality.</p>

</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this marketing game plan prompt?</span>

<p class="answer">The biggest mistake is leaving [TARGET_AUDIENCE] too vague — instead of “local families,” try “two-income parents within 8 miles who book online and value weekend availability.” Another common error is making [BUDGET] unrealistic or undefined; “small budget” is unclear, while “$800/month total, no long-term contracts” forces smart prioritization. People also skip [CONTEXT], which leads to mismatched tactics (bad: “we’re new,” good: “new location, strong reviews from old city, need awareness in ZIP codes 12345/12346”). Finally, some users under-specify [INDUSTRY] and offer details, so the plan can’t choose the right channels (bad: “fitness,” good: “personal training for postnatal moms, premium pricing, limited spots”).</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this marketing game plan prompt?</span>

<p class="answer">This prompt isn&#8217;t ideal for one-off campaigns where you only need a single asset (like one flyer or one ad) and won’t iterate. It’s also not a fit if you have not validated your core offer at all, because the plan assumes you can articulate who you serve and why you’re different. And if your team wants a generic template with no discovery questions, you may find this too strategic. In those cases, start by clarifying the offer and customer first, then come back to build the full plan.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this marketing game plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Small-business owners use this to turn scattered ideas into a week-by-week plan they can actually run while juggling operations. Marketing managers rely on it to prioritize channels, set measurable outcomes, and explain the “why” behind the budget allocation. Growth consultants use it to produce a structured first deliverable, then tighten it after client answers the clarifying questions. Operations managers benefit when the plan includes retention and follow-up systems that require internal process changes, not just more ads."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this marketing game plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Home services businesses (plumbing, HVAC, cleaning) get value because the prompt naturally combines local/offline trust-builders with high-intent digital capture like search and review generation. Professional services firms (law, accounting, clinics) use it to map the path from visibility to consultation booking, including retention touchpoints that drive referrals. Retail and hospitality teams benefit when they need foot traffic, repeat visits, and local partnerships that can be tracked with simple offers and redemption metrics. B2B service providers (IT support, facilities, staffing) apply it to build an acquisition + nurture system that’s realistic for long sales cycles and limited content capacity."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a small-business marketing plan produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a marketing plan for my business” fails because it: lacks grounded inputs like budget, industry constraints, and current capabilities; provides no structure across acquisition, conversion, and retention; ignores the need to connect offline activity to digital follow-through; produces generic channel advice instead of measurable actions; and misses the built-in pre-analysis step that surfaces assumptions and high-impact clarifying questions. The result is a document that sounds good but doesn’t tell you what to do Monday morning."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this marketing game plan prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Customize it by being precise with variables like [COMPANY_NAME], [INDUSTRY], [BUDGET], [TARGET_AUDIENCE], plus any [PRIMARY_GOAL] and [CONTEXT] you want reflected in priorities. If your capacity is limited, say so directly (for example, “no salesperson, owner answers the phone, 5 hours/week available”). A useful follow-up prompt is: “Rewrite the execution plan for a 30-day sprint with only two channels, and list the exact success metrics and weekly tasks.” This keeps the strategy intact while fitting your reality."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this marketing game plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving [TARGET_AUDIENCE] too vague — instead of “local families,” try “two-income parents within 8 miles who book online and value weekend availability.” Another common error is making [BUDGET] unrealistic or undefined; “small budget” is unclear, while “$800/month total, no long-term contracts” forces smart prioritization. People also skip [CONTEXT], which leads to mismatched tactics (bad: “we’re new,” good: “new location, strong reviews from old city, need awareness in ZIP codes 12345/12346”). Finally, some users under-specify [INDUSTRY] and offer details, so the plan can’t choose the right channels (bad: “fitness,” good: “personal training for postnatal moms, premium pricing, limited spots”)."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this marketing game plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn't ideal for one-off campaigns where you only need a single asset (like one flyer or one ad) and won’t iterate. It’s also not a fit if you have not validated your core offer at all, because the plan assumes you can articulate who you serve and why you’re different. And if your team wants a generic template with no discovery questions, you may find this too strategic. In those cases, start by clarifying the offer and customer first, then come back to build the full plan."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>A marketing plan should reduce stress, not create more tabs and sticky notes. Paste this prompt into your AI tool, fill in the details, and walk away with a game plan you can execute this week.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001756.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Small Business Ops Improvement Plan AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-small-business-ops-improvement-plan-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:54:29 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001755</guid>

					<description><![CDATA[Ops costs rising and work slipping - a proven AI Prompt that builds an end-to-end improvement plan with KPIs, staffing, vendors, and risks. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: small business ops plan -->

<div class="hook-introduction">

<p>Ops gets expensive in quiet ways. One extra handoff here, one “quick fix” spreadsheet there, and suddenly work takes longer, errors creep in, and nobody can explain why margins keep shrinking. You don’t need another vague “optimize operations” checklist. You need a plan you can actually run.</p>



<p>This <strong>small business ops plan</strong> is built for <strong>operators</strong> who inherited messy workflows and need to stabilize delivery fast, <strong>owners</strong> who feel overhead rising without better output, and <strong>consultants</strong> who must translate a client’s chaos into an actionable 30–90 day roadmap. The output is a practical, end-to-end operations improvement plan with a baseline snapshot, prioritized initiatives, KPIs, staffing and vendor implications, and a risk register you can manage weekly.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It restates your situation first (a pre-analysis confirmation) so the plan reflects the business you described, not a generic template.</li>
          <li>It maps your current “workflow reality” across core flows like order-to-cash, procure-to-pay, and service delivery, including handoffs and known tools.</li>
          <li>It diagnoses friction points and likely root causes, such as rework loops, approval bottlenecks, unclear ownership, and system gaps.</li>
          <li>It prioritizes improvements using a high-impact, low-complexity bias, and it clearly flags items that require investment or real change management.</li>
          <li>It translates recommendations into measurable operating systems with KPIs, owners, timelines, and practical check-ins your small team can maintain.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re dealing with late orders, missed deadlines, or inconsistent service quality and you can’t pin down where work is getting stuck.</li>
          <li>Costs are rising (labor, vendors, fulfillment, software), but throughput hasn’t improved, and the P&amp;L is starting to feel tight.</li>
          <li>You are about to hire, outsource, or switch tools and you want an ops-first view before you spend money in the wrong place.</li>
          <li>A competitor is delivering faster or cheaper, and you need to cut cycle time without triggering a quality collapse.</li>
          <li>You’ve grown past “everyone remembers everything,” and now you need repeatable processes that survive vacations, turnover, and busy seasons.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A full improvement plan organized by phases (often 30/60/90 days) with owners and dependencies.</li>
           <li>An operational baseline snapshot covering core functions, handoffs, and current-state assumptions.</li>
           <li>A prioritized initiative backlog with effort/impact notes, including quick wins and bigger bets.</li>
           <li>A KPI set with definitions and targets (for example: cycle time, error rate, cost per order, and on-time delivery).</li>
           <li>A practical risk register with mitigations, plus staffing and vendor implications for each major change.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Small Business Ops Improvement Plan Builder</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[PRODUCT_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Provide a concise description of the main product or service the business offers, including its key features and target customers.                                    <div class="var-example">For example: "A subscription-based meal delivery service offering pre-portioned, healthy, and ready-to-cook meal kits for busy professionals."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRODUCT_DESCRIPTION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[KEY_OPERATIONAL_PROCESSES]</code></td>
                                <td class="var-desc">
                                    List the critical workflows or processes that drive the business, such as production, distribution, customer service, or procurement.                                    <div class="var-example">For example: "Order fulfillment, supplier management, inventory tracking, and customer support ticket resolution."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[KEY_OPERATIONAL_PROCESSES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CURRENT_SOFTWARE_AND_TOOLS]</code></td>
                                <td class="var-desc">
                                    List the software, tools, or systems currently used to manage operations, including their primary purpose.                                    <div class="var-example">For example: "Shopify for e-commerce, QuickBooks for accounting, and Trello for project management."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CURRENT_SOFTWARE_AND_TOOLS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[IDENTIFIED_INEFFICIENCIES]</code></td>
                                <td class="var-desc">
                                    Describe known bottlenecks, delays, or issues in the current workflows that hinder productivity or profitability.                                    <div class="var-example">For example: "Frequent stockouts due to inconsistent supplier deliveries and manual data entry errors causing order delays."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[IDENTIFIED_INEFFICIENCIES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    State the main objective for the operations improvement plan, such as increasing efficiency, reducing costs, or improving customer satisfaction.                                    <div class="var-example">For example: "Reduce order processing time by 30% while maintaining customer satisfaction ratings above 90%."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or sector in which the business operates to provide relevant context for the operations improvement plan.                                    <div class="var-example">For example: "E-commerce retail specializing in sustainable home goods."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Provide the financial budget allocated for implementing the operations improvement plan, if applicable.                                    <div class="var-example">For example: "$50,000 for tools, training, and process redesign."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[BUDGET]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Indicate the desired timeline for implementing the operations improvement plan, including key milestones if relevant.                                    <div class="var-example">For example: "6 months with quarterly progress reviews."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Enter any additional input required for the operations improvement plan, formatted as uppercase words separated by underscores.                                    <div class="var-example">For example: "ADDITIONAL_REQUIREMENTS or SPECIAL_CONSIDERATIONS."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Scope Boundaries — What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge Case Handling (inputs incomplete/ambiguous)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a practical, end-to-end operations improvement plan for a small business that increases throughput and profitability by redesigning workflows, reallocating resources, and lowering operating costs—while keeping quality stable or improving it.

## PERSONA
Act as a senior small-business operations lead who specializes in simplifying messy processes, removing blockers, and turning day-to-day work into measurable, repeatable systems. Communicate with clear, no-nonsense business language and prioritize actions that are realistic for a small team.

## CONSTRAINTS
- Recommendations must be implementable for the business described in the inputs (no generic advice-only plans).
- Favor high-impact, low-complexity changes first; flag items that require larger investment or change management.
- Use “plain English + light structure”: short paragraphs, scannable bullets, and concrete actions.
- When suggesting tools/tech, keep them optional and explain the operational purpose (not vendor hype).
- If any input is missing or unclear, follow the edge-case rules in **PROCESS**.

### Scope Boundaries — What This Is NOT
- Not a legal, tax, or compliance opinion.
- Not a full IT architecture design or security penetration test.
- Not a promise of specific financial outcomes.
- Not a replacement for on-site time-and-motion studies; you can propose them, but don’t pretend they were performed.

## PROCESS
1. **Pre-Analysis Confirmation (mandatory):** Briefly restate your understanding of the business, its operational landscape, and the main improvement intent based on the inputs.
2. **Operational Baseline Snapshot:** Summarize how work currently flows across core functions (e.g., order-to-cash, procure-to-pay, service delivery). Note known tools and handoffs.
3. **Workflow Diagnosis:** Identify friction points and constraints (delays, rework, excessive approvals, unclear ownership, system gaps, inventory issues). Call out root-cause hypotheses.
4. **Improvement Opportunities (prioritized):** Produce a ranked list of changes using an impact/effort lens. Include quick wins and medium-term initiatives.
5. **Optimization Playbook:** For each priority area, propose specific interventions such as waste removal, standard work, lightweight automation, better scheduling, clearer SLAs, reduced handoffs, and process redesign.
6. **Resource &amp; Cost Realignment:** Recommend staffing/time allocation shifts, role clarity, capacity planning, outsourcing/offshoring considerations (only if sensible), and cost controls.
7. **Supply &amp; Inventory Resilience:** Propose ways to reduce stockouts/overstock, improve supplier reliability, and harden logistics against disruption.
8. **Measurement System:** Define KPIs, targets, reporting cadence, and ownership. Include leading indicators (process health) and lagging indicators (outcomes).
9. **Risk Controls:** Identify major operational risks (vendor dependency, quality escapes, cybersecurity exposure via tools, compliance-adjacent operational risks) and propose mitigations.
10. **Scalability Path:** Explain how the redesigned processes handle higher volume without proportional cost increases; note capacity triggers that require the next “layer” of process/tooling.

### Edge Case Handling (inputs incomplete/ambiguous)
- If a key input is missing, ask up to **5** focused questions first.
- If details are partial, proceed with reasonable assumptions labeled clearly as **Assumptions**, and provide options that work across likely scenarios.
- If the “identified inefficiencies” conflict with “goals,” highlight the mismatch and propose a reconciliation approach.

## INPUTS
- **Business overview:** [PRODUCT_DESCRIPTION]
- **Key operational processes:** [KEY_OPERATIONAL_PROCESSES]
- **Current software and tools:** [CURRENT_SOFTWARE_AND_TOOLS]
- **Known inefficiencies / issues:** [IDENTIFIED_INEFFICIENCIES]
- **Operational improvement goals:** [PRIMARY_GOAL]
- **Industry (if relevant):** [INDUSTRY]
- **Budget or investment limits (if any):** [BUDGET]
- **Time horizon / deadline:** [TIMEFRAME]

## OUTPUT SPECIFICATION
Deliver the plan with the following sections and placeholders:

1. **Pre-Analysis Confirmation**
   - {Business Understanding}
   - {Primary Constraints Noted}

2. **Current-State Map (high level)**
   - {Core Workflows}
   - {Key Handoffs &amp; Systems}
   - {Observed Bottlenecks}

3. **Priority Improvement Backlog (ranked)**
   For each item:
   - {Initiative Name}
   - {Problem It Solves}
   - {Likely Root Cause}
   - {Impact Level}
   - {Effort Level}
   - {Dependencies}
   - {First Step This Week}

4. **Action Plans (by function/process)**
   For each process area:
   - {Proposed Changes}
   - {Standard Operating Changes}
   - {Automation / Tooling Options}
   - {Owner &amp; Roles}
   - {Expected Cost Effects}
   - {Quality/Service Safeguards}

5. **Resource Allocation &amp; Cost Strategy**
   - {Capacity &amp; Utilization Findings}
   - {Reallocation Recommendations}
   - {Outsourcing Candidates (if any)}
   - {Cost-Reduction Levers}

6. **Supply Chain &amp; Inventory Enhancements**
   - {Supplier Strategy}
   - {Inventory Policy Suggestions}
   - {Logistics Improvements}

7. **Measurement &amp; Continuous Improvement System**
   - {KPI Set}
   - {Targets}
   - {Cadence &amp; Dashboard Outline}
   - {Feedback Loop Mechanism}

8. **Risk Register (operations-focused)**
   For each risk:
   - {Risk}
   - {Likelihood}
   - {Impact}
   - {Mitigation}
   - {Early Warning Signal}
   - {Owner}

9. **Scalability Roadmap**
   - {Scale Triggers}
   - {Phase 1 (0–35 days)}
   - {Phase 2 (35–90 days)}
   - {Phase 3 (90–150 days)}

## QUALITY CHECKS
Before finalizing, verify:
- The plan directly addresses the stated inefficiencies and goals (no filler).
- Every major recommendation has an owner, a first action, and a measurement method.
- Quick wins are clearly separated from larger initiatives with dependencies.
- KPIs include both operational drivers (cycle time, rework, WIP) and outcomes (cost, margin, on-time delivery).
- All user-provided variables use **[UPPERCASE_WITH_UNDERSCORES]**, and all AI-filled fields use **{Title Case}**.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a practical, end-to-end operations improvement plan for a small business that increases throughput and profitability by redesigning workflows, reallocating resources, and lowering operating costs\u2014while keeping quality stable or improving it.\r\n\r\n## PERSONA\r\nAct as a senior small-business operations lead who specializes in simplifying messy processes, removing blockers, and turning day-to-day work into measurable, repeatable systems. Communicate with clear, no-nonsense business language and prioritize actions that are realistic for a small team.\r\n\r\n## CONSTRAINTS\r\n- Recommendations must be implementable for the business described in the inputs (no generic advice-only plans).\r\n- Favor high-impact, low-complexity changes first; flag items that require larger investment or change management.\r\n- Use \u201cplain English + light structure\u201d: short paragraphs, scannable bullets, and concrete actions.\r\n- When suggesting tools\/tech, keep them optional and explain the operational purpose (not vendor hype).\r\n- If any input is missing or unclear, follow the edge-case rules in **PROCESS**.\r\n\r\n### Scope Boundaries \u2014 What This Is NOT\r\n- Not a legal, tax, or compliance opinion.\r\n- Not a full IT architecture design or security penetration test.\r\n- Not a promise of specific financial outcomes.\r\n- Not a replacement for on-site time-and-motion studies; you can propose them, but don\u2019t pretend they were performed.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis Confirmation (mandatory):** Briefly restate your understanding of the business, its operational landscape, and the main improvement intent based on the inputs.\r\n2. **Operational Baseline Snapshot:** Summarize how work currently flows across core functions (e.g., order-to-cash, procure-to-pay, service delivery). Note known tools and handoffs.\r\n3. **Workflow Diagnosis:** Identify friction points and constraints (delays, rework, excessive approvals, unclear ownership, system gaps, inventory issues). Call out root-cause hypotheses.\r\n4. **Improvement Opportunities (prioritized):** Produce a ranked list of changes using an impact\/effort lens. Include quick wins and medium-term initiatives.\r\n5. **Optimization Playbook:** For each priority area, propose specific interventions such as waste removal, standard work, lightweight automation, better scheduling, clearer SLAs, reduced handoffs, and process redesign.\r\n6. **Resource & Cost Realignment:** Recommend staffing\/time allocation shifts, role clarity, capacity planning, outsourcing\/offshoring considerations (only if sensible), and cost controls.\r\n7. **Supply & Inventory Resilience:** Propose ways to reduce stockouts\/overstock, improve supplier reliability, and harden logistics against disruption.\r\n8. **Measurement System:** Define KPIs, targets, reporting cadence, and ownership. Include leading indicators (process health) and lagging indicators (outcomes).\r\n9. **Risk Controls:** Identify major operational risks (vendor dependency, quality escapes, cybersecurity exposure via tools, compliance-adjacent operational risks) and propose mitigations.\r\n10. **Scalability Path:** Explain how the redesigned processes handle higher volume without proportional cost increases; note capacity triggers that require the next \u201clayer\u201d of process\/tooling.\r\n\r\n### Edge Case Handling (inputs incomplete\/ambiguous)\r\n- If a key input is missing, ask up to **5** focused questions first.\r\n- If details are partial, proceed with reasonable assumptions labeled clearly as **Assumptions**, and provide options that work across likely scenarios.\r\n- If the \u201cidentified inefficiencies\u201d conflict with \u201cgoals,\u201d highlight the mismatch and propose a reconciliation approach.\r\n\r\n## INPUTS\r\n- **Business overview:** [PRODUCT_DESCRIPTION]\r\n- **Key operational processes:** [KEY_OPERATIONAL_PROCESSES]\r\n- **Current software and tools:** [CURRENT_SOFTWARE_AND_TOOLS]\r\n- **Known inefficiencies \/ issues:** [IDENTIFIED_INEFFICIENCIES]\r\n- **Operational improvement goals:** [PRIMARY_GOAL]\r\n- **Industry (if relevant):** [INDUSTRY]\r\n- **Budget or investment limits (if any):** [BUDGET]\r\n- **Time horizon \/ deadline:** [TIMEFRAME]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver the plan with the following sections and placeholders:\r\n\r\n1. **Pre-Analysis Confirmation**\r\n   - {Business Understanding}\r\n   - {Primary Constraints Noted}\r\n\r\n2. **Current-State Map (high level)**\r\n   - {Core Workflows}\r\n   - {Key Handoffs & Systems}\r\n   - {Observed Bottlenecks}\r\n\r\n3. **Priority Improvement Backlog (ranked)**\r\n   For each item:\r\n   - {Initiative Name}\r\n   - {Problem It Solves}\r\n   - {Likely Root Cause}\r\n   - {Impact Level}\r\n   - {Effort Level}\r\n   - {Dependencies}\r\n   - {First Step This Week}\r\n\r\n4. **Action Plans (by function\/process)**\r\n   For each process area:\r\n   - {Proposed Changes}\r\n   - {Standard Operating Changes}\r\n   - {Automation \/ Tooling Options}\r\n   - {Owner & Roles}\r\n   - {Expected Cost Effects}\r\n   - {Quality\/Service Safeguards}\r\n\r\n5. **Resource Allocation & Cost Strategy**\r\n   - {Capacity & Utilization Findings}\r\n   - {Reallocation Recommendations}\r\n   - {Outsourcing Candidates (if any)}\r\n   - {Cost-Reduction Levers}\r\n\r\n6. **Supply Chain & Inventory Enhancements**\r\n   - {Supplier Strategy}\r\n   - {Inventory Policy Suggestions}\r\n   - {Logistics Improvements}\r\n\r\n7. **Measurement & Continuous Improvement System**\r\n   - {KPI Set}\r\n   - {Targets}\r\n   - {Cadence & Dashboard Outline}\r\n   - {Feedback Loop Mechanism}\r\n\r\n8. **Risk Register (operations-focused)**\r\n   For each risk:\r\n   - {Risk}\r\n   - {Likelihood}\r\n   - {Impact}\r\n   - {Mitigation}\r\n   - {Early Warning Signal}\r\n   - {Owner}\r\n\r\n9. **Scalability Roadmap**\r\n   - {Scale Triggers}\r\n   - {Phase 1 (0\u201335 days)}\r\n   - {Phase 2 (35\u201390 days)}\r\n   - {Phase 3 (90\u2013150 days)}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The plan directly addresses the stated inefficiencies and goals (no filler).\r\n- Every major recommendation has an owner, a first action, and a measurement method.\r\n- Quick wins are clearly separated from larger initiatives with dependencies.\r\n- KPIs include both operational drivers (cycle time, rework, WIP) and outcomes (cost, margin, on-time delivery).\r\n- All user-provided variables use **[UPPERCASE_WITH_UNDERSCORES]**, and all AI-filled fields use **{Title Case}**.";
    const variables = ["[PRODUCT_DESCRIPTION]","[KEY_OPERATIONAL_PROCESSES]","[CURRENT_SOFTWARE_AND_TOOLS]","[IDENTIFIED_INEFFICIENCIES]","[PRIMARY_GOAL]","[INDUSTRY]","[BUDGET]","[TIMEFRAME]","[UPPERCASE_WITH_UNDERSCORES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Describe one workflow in plain steps.</strong> Don’t dump a mission statement. Give a simple flow like “Lead comes in → quote sent → invoice → schedule → deliver → collect payment,” then note where it breaks. If you’re not sure, say that honestly and list the symptoms (late delivery, too many refunds, high overtime).</li>


<li><strong>Bring real numbers, even rough ones.</strong> The plan gets sharper when you include volume and timing, like “~40 orders/week, 2-day SLA, 3-person ops team.” After the first output, ask: “Re-rank initiatives assuming we must reduce overtime by 25% in 60 days.”</li>


<li><strong>Call out tools and handoffs, not software wishlists.</strong> Name what you use today (QuickBooks, Google Sheets, Shopify, email) and where information changes hands. A useful follow-up: “Where are we relying on copy/paste or re-entering the same data twice? Suggest 3 fixes that don’t require a new platform.”</li>


<li><strong>Force tradeoffs with constraints.</strong> Small teams can’t do everything. Try: “Assume no new hires this quarter and a $1,000/month tools budget. Now rewrite the plan with only the top 6 initiatives and add weekly checkpoints.”</li>


<li><strong>Use scenario comparisons for hard choices.</strong> If the plan recommends options (hire vs outsource, new vendor vs renegotiate), pair it with a decision prompt like <a href="https://flowpast.com/prompts/choose-the-best-option-with-this-ai-prompt/">Choose the Best Option with this AI Prompt</a> and paste in the top 3 paths. Ask for a scored recommendation using your constraints: cash, speed, risk, and reversibility.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you have an ops plan, these prompts help you pressure-test choices, compare alternatives, and prioritize what to fix first.</p>



<p>If you also need to decide between two operational paths (say, switching fulfillment vendors vs building an in-house station), use <a href="https://flowpast.com/prompts/compare-two-product-offerings-ai-prompt/">Compare Two Product Offerings AI Prompt</a> as a clean comparison framework. It’s surprisingly useful for ops because it forces criteria, tradeoffs, and a bottom-line recommendation instead of “it depends.”</p>



<p>When the improvement plan surfaces multiple initiatives and you can only fund one or two, <a href="https://flowpast.com/prompts/choose-the-best-option-with-this-ai-prompt/">Choose the Best Option with this AI Prompt</a> helps you score options against constraints like cash, time-to-impact, and operational risk. That makes prioritization feel less political and more like a decision record.</p>



<p>If cash flow is the real bottleneck (late invoices, vendor terms, seasonal dips), pair your ops work with <a href="https://flowpast.com/prompts/prevent-loan-default-liquidity-map-ai-prompt/">Prevent Loan Default Liquidity Map AI Prompt</a>. It turns “we’re stressed about cash” into a timeline of obligations and levers, which helps you time operational changes without creating a new crisis.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/compare-two-product-offerings-ai-prompt/">Compare Two Product Offerings AI Prompt</a>: Side-by-side comparison with decision criteria.</li>


<li><a href="https://flowpast.com/prompts/choose-the-best-option-with-this-ai-prompt/">Choose the Best Option with this AI Prompt</a>: Score choices using your constraints.</li>

<li><a href="https://flowpast.com/prompts/prevent-loan-default-liquidity-map-ai-prompt/">Prevent Loan Default Liquidity Map AI Prompt</a>: Cash timing map and prevention levers.</li>

<li><a href="https://flowpast.com/prompts/student-loan-payoff-calculator-ai-prompt/">Student Loan Payoff Calculator AI Prompt</a>: Useful structure for payoff-style scenario math.</li>
<!-- /wp:post-content -->
<li><a href="https://flowpast.com/prompts/pick-the-best-social-platform-with-this-ai-prompt/">Pick the Best Social Platform with this AI Prompt</a>: Channel-pick framework for go-to-market alignment.</li>
<!-- /wp:list-item -->
</ul>
<!-- /wp:list -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this small business ops plan AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Operations Managers</strong> use this to turn scattered complaints (“everything is slow”) into a prioritized plan with owners, timelines, and measurable KPIs. <strong>Small Business Owners</strong> get a clear view of where margin is leaking and which fixes are realistic without overbuilding process. <strong>COOs and Integrators</strong> rely on it to standardize how work flows across functions, especially when growth outpaced informal coordination. <strong>Fractional ops consultants</strong> apply it to create an engagement-ready roadmap, including risks and change-management flags, without pretending they did an on-site study.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this small business ops plan AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>E-commerce and DTC brands</strong> use this to reduce fulfillment cycle time, cut picking/packing errors, and clean up handoffs between storefront, warehouse, and support. <strong>Home and field services</strong> apply it to tighten scheduling, reduce truck-roll waste, and standardize quoting, invoicing, and job closeout so cash comes in faster. <strong>Agencies and studios</strong> leverage it to redesign delivery workflows (intake → scope → production → review), eliminate rework, and improve utilization without burning out the team. <strong>Light manufacturing and wholesale</strong> get value from clearer procure-to-pay and inventory workflows, especially when stockouts, expediting fees, or vendor delays keep disrupting production.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building an operations improvement plan produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me an ops improvement plan for my business” fails because it: lacks a current-state baseline (so the plan doesn’t match your real workflow), provides no diagnosis step (so root causes are guessed), ignores constraints like team size and change-management limits, produces generic “optimize” advice instead of a prioritized backlog with owners and KPIs, and misses risk management (so the plan looks good on paper but breaks during implementation). This prompt forces a confirm-first approach, then turns findings into scannable actions your team can execute.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this small business ops plan prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, customize it by pasting in your business context before you run it: what you sell, order volume or project volume, team roles, tools, and the workflow you want to fix first (order-to-cash, service delivery, procure-to-pay). Also add hard constraints like budget, “no new hires,” or a required SLA, because the prompt prioritizes high-impact, low-complexity work when it has boundaries. After you get the first plan, follow up with: “Rewrite the plan for a 4-person team, prioritize changes that reduce rework, and add KPI definitions plus weekly check-ins.” You can also ask it to generate two versions: conservative (minimal change) and aggressive (bigger restructure) so you can choose the right pace.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this small business ops plan prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is giving a foggy business description; instead of “we’re a small service company,” use something like “we do 25–35 HVAC service calls/week, 2 dispatchers, 6 techs, using ServiceTitan + QuickBooks, and callbacks are rising.” Another common error is skipping the current workflow steps, which leads to generic fixes; write the steps even if they’re messy, like “estimate in email → manual invoice → schedule in shared calendar.” People also forget to include constraints, so recommendations drift into bigger projects; don’t say “we want to grow,” say “no new hires for 90 days and tools budget under $500/month.” Finally, teams omit the main pain metric (late orders, overtime, refunds), and then KPI selection gets weak; give one baseline number, even if it’s an estimate.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this small business ops plan prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for situations where you need legal, tax, or compliance guidance, or where the work depends on a deep technical architecture or security review. It’s also not the best fit if you’re unwilling to provide any operational details, because the plan will only be as grounded as your inputs. And if you need a one-page “quick template” with no intention to measure or iterate, you may find the KPI and risk components heavier than you want. In those cases, start with a lightweight internal checklist, then come back once you can commit to running a real improvement cycle.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this small business ops plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Operations Managers use this to turn scattered complaints (“everything is slow”) into a prioritized plan with owners, timelines, and measurable KPIs. Small Business Owners get a clear view of where margin is leaking and which fixes are realistic without overbuilding process. COOs and Integrators rely on it to standardize how work flows across functions, especially when growth outpaced informal coordination. Fractional ops consultants apply it to create an engagement-ready roadmap, including risks and change-management flags, without pretending they did an on-site study."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this small business ops plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce and DTC brands use this to reduce fulfillment cycle time, cut picking/packing errors, and clean up handoffs between storefront, warehouse, and support. Home and field services apply it to tighten scheduling, reduce truck-roll waste, and standardize quoting, invoicing, and job closeout so cash comes in faster. Agencies and studios leverage it to redesign delivery workflows (intake → scope → production → review), eliminate rework, and improve utilization without burning out the team. Light manufacturing and wholesale get value from clearer procure-to-pay and inventory workflows, especially when stockouts, expediting fees, or vendor delays keep disrupting production."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building an operations improvement plan produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me an ops improvement plan for my business” fails because it: lacks a current-state baseline (so the plan doesn’t match your real workflow), provides no diagnosis step (so root causes are guessed), ignores constraints like team size and change-management limits, produces generic “optimize” advice instead of a prioritized backlog with owners and KPIs, and misses risk management (so the plan looks good on paper but breaks during implementation). This prompt forces a confirm-first approach, then turns findings into scannable actions your team can execute."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this small business ops plan prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, customize it by pasting in your business context before you run it: what you sell, order volume or project volume, team roles, tools, and the workflow you want to fix first (order-to-cash, service delivery, procure-to-pay). Also add hard constraints like budget, “no new hires,” or a required SLA, because the prompt prioritizes high-impact, low-complexity work when it has boundaries. After you get the first plan, follow up with: “Rewrite the plan for a 4-person team, prioritize changes that reduce rework, and add KPI definitions plus weekly check-ins.” You can also ask it to generate two versions: conservative (minimal change) and aggressive (bigger restructure) so you can choose the right pace."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this small business ops plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is giving a foggy business description; instead of “we’re a small service company,” use something like “we do 25–35 HVAC service calls/week, 2 dispatchers, 6 techs, using ServiceTitan + QuickBooks, and callbacks are rising.” Another common error is skipping the current workflow steps, which leads to generic fixes; write the steps even if they’re messy, like “estimate in email → manual invoice → schedule in shared calendar.” People also forget to include constraints, so recommendations drift into bigger projects; don’t say “we want to grow,” say “no new hires for 90 days and tools budget under $500/month.” Finally, teams omit the main pain metric (late orders, overtime, refunds), and then KPI selection gets weak; give one baseline number, even if it’s an estimate."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this small business ops plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for situations where you need legal, tax, or compliance guidance, or where the work depends on a deep technical architecture or security review. It’s also not the best fit if you’re unwilling to provide any operational details, because the plan will only be as grounded as your inputs. And if you need a one-page “quick template” with no intention to measure or iterate, you may find the KPI and risk components heavier than you want. In those cases, start with a lightweight internal checklist, then come back once you can commit to running a real improvement cycle."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Ops doesn’t improve by motivation. It improves with clarity, priorities, and follow-through. Paste this prompt into your AI tool, describe your workflow honestly, and walk away with a plan you can run next week.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001755.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Small Business Risk Strategy with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-small-business-risk-strategy-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:53:32 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001754</guid>

					<description><![CDATA[Disruptions derail growth - this AI Prompt builds a small business risk strategy with scoring, mitigations, playbooks, and KRIs. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: risk strategy prompt -->
<div class="hook-introduction">

<p>Most small businesses don’t “manage risk.” They react to it. A vendor fails, a key employee quits, a chargeback spike hits, or a cyber scare burns a week—and suddenly your growth plan is on pause.</p>



<p>This <strong>risk strategy prompt</strong> is built for <strong>operators</strong> who are trying to scale without adding chaos, <strong>founders</strong> who keep too much in their heads and need a decision-ready plan, and <strong>consultants</strong> who must walk clients through practical controls without turning it into a formal audit. The output is a realistic, end-to-end risk management blueprint with prioritized risks, probability × impact scoring, mitigations, disruption playbooks, and KRIs you can track on a simple cadence.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It scans risk across operations, finance, compliance/legal, technology/cyber, people, supply chain, reputation, and market dynamics.</li>
          <li>It applies SWOT and PESTLE-style lenses to surface second-order risks you might not name on a first pass.</li>
          <li>It ranks risks using a probability × impact scoring model instead of producing an unprioritized list.</li>
          <li>It prescribes feasible controls and mitigations that fit small-business constraints like limited headcount and budget.</li>
          <li>It handles missing context by stating assumptions, asking targeted questions, and still delivering a “best-available” plan.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re growing revenue, but the back office and delivery process are starting to creak.</li>
          <li>A near-miss happened (payment fraud, shipment delay, compliance warning), and you don’t want the next one to be worse.</li>
          <li>You’re about to sign a major vendor contract, hire critical roles, or expand channels and need a clear risk tradeoff.</li>
          <li>Competitors are forcing faster decisions, and you need guardrails so speed doesn’t create avoidable exposure.</li>
          <li>You want a repeatable monthly or quarterly risk cadence instead of “we’ll deal with it later.”</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A categorized risk register with 12–20 risks tailored to your situation.</li>
           <li>A probability × impact scoring model and a ranked top-5 “act now” list.</li>
           <li>Practical mitigation actions, including who owns each control and what “done” looks like.</li>
           <li>A disruption playbook for high-priority scenarios (triggers, first 24 hours, communications, and recovery steps).</li>
           <li>A KRI set (8–15 indicators) with thresholds and a suggested review cadence.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Small Business Risk Management Blueprint</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[PRODUCT_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Provide a clear and concise description of the product or service your business offers, including its main features and purpose.                                    <div class="var-example">For example: "A subscription-based software platform that automates payroll processing for small businesses, ensuring compliance with tax regulations."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRODUCT_DESCRIPTION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the primary audience or customer segment your business serves, including their demographics, needs, and challenges.                                    <div class="var-example">For example: "Small retail business owners aged 30-50 who need affordable and easy-to-use inventory management solutions."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TARGET_AUDIENCE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or sector your business operates in, including any relevant subcategories.                                    <div class="var-example">For example: "Hospitality and tourism, specifically boutique hotels and vacation rentals."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[KEY_OPERATIONS]</code></td>
                                <td class="var-desc">
                                    List the core activities or processes essential to your business operations.                                    <div class="var-example">For example: "Manufacturing custom furniture, managing supply chain logistics, and direct-to-consumer e-commerce sales."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[KEY_OPERATIONS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[MAIN_FINANCIAL_ACTIVITIES]</code></td>
                                <td class="var-desc">
                                    Describe the primary financial activities of your business, such as revenue generation methods, payment processing, or financial planning.                                    <div class="var-example">For example: "Revenue generation through subscription services, invoicing clients monthly, and managing payroll for 15 employees."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[MAIN_FINANCIAL_ACTIVITIES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[MARKET_ENVIRONMENT]</code></td>
                                <td class="var-desc">
                                    Summarize the competitive and economic conditions your business operates in, including market trends, customer expectations, and challenges.                                    <div class="var-example">For example: "Highly competitive market with increasing demand for eco-friendly products, but price sensitivity among consumers remains a challenge."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[MARKET_ENVIRONMENT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[KNOWN_RISKS]</code></td>
                                <td class="var-desc">
                                    List any risks or vulnerabilities your business is already aware of, including operational, financial, or compliance-related risks.                                    <div class="var-example">For example: "Dependence on a single supplier for raw materials, potential cybersecurity threats, and fluctuating demand due to seasonality."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[KNOWN_RISKS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    State the main objective or outcome you want to achieve with the risk management blueprint.                                    <div class="var-example">For example: "Minimize financial losses from supply chain disruptions while ensuring compliance with industry regulations."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[AVAILABLE_RESOURCES]</code></td>
                                <td class="var-desc">
                                    Detail the resources your business can allocate to risk management, such as staff, tools, or expertise.                                    <div class="var-example">For example: "A team of 3 managers, access to basic project management software, and a $10,000 contingency budget."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[AVAILABLE_RESOURCES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Specify the time period within which you want to implement the risk management plan.                                    <div class="var-example">For example: "3 months to have the initial plan in place, with ongoing quarterly updates."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Provide the total budget available for implementing the risk management plan.                                    <div class="var-example">For example: "$15,000 allocated for risk assessment, training, and software tools."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[BUDGET]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TONE]</code></td>
                                <td class="var-desc">
                                    Specify the tone or style of communication you want the risk management blueprint to use.                                    <div class="var-example">For example: "Professional and concise, with a focus on actionable insights and clear next steps."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TONE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Provide text in uppercase letters separated by underscores, typically for technical or formatting purposes.                                    <div class="var-example">For example: "RISK_MANAGEMENT_BLUEPRINT"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a customized, end-to-end risk management blueprint for a small business that surfaces major threats, prioritizes them by probability and severity, prescribes practical controls, and includes both a disruption playbook and a cadence for keeping the risk profile current—while staying realistic about the business’s goals, capacity, and industry expectations.

## PERSONA
Act as a Business Development Specialist who routinely partners with leadership teams to grow safely. You balance commercial opportunity with operational, financial, compliance, and market risk, and you communicate in clear, decision-ready language.

## CONSTRAINTS
- Keep recommendations feasible for a small-business environment (limited headcount, budget, and time).
- Address risks across: operations, finance, compliance/legal, technology/cyber, people, supply chain, reputation, and market/competitive dynamics.
- Use both qualitative and quantitative thinking where possible (e.g., financial exposure ranges + reputational/people impacts).
- Provide a prioritization method (e.g., a probability × impact scoring model) rather than an unranked list.
- **Edge-case handling:** If any inputs are missing or vague, state assumptions explicitly, list targeted questions, and still provide a “best-available” plan using reasonable defaults.
- **What This Is NOT:** This is not legal advice, not a full audit, not an insurance binder, and not a guarantee that losses will be prevented; it is a practical management framework to reduce and respond to risk.

## PROCESS
1. **Pre-analysis (confirm understanding)**
   - Briefly restate the business context and what success looks like.
   - Call out any unclear/missing inputs and the assumptions you’ll use.

2. **Risk discovery**
   - Scan the business across internal and external drivers.
   - Use SWOT and PESTLE-style lenses to ensure coverage of hidden or second-order risks.
   - Separate risks into clear categories (operational, financial, regulatory, market, etc.) and identify likely root causes.

3. **Risk evaluation &amp; prioritization**
   - For each risk, estimate likelihood and impact (financial + non-financial).
   - Score and rank risks using a simple matrix (e.g., 1–5 likelihood and 1–5 impact), then label priority tiers.

4. **Controls &amp; mitigation design**
   - For top-tier items, propose layered controls (prevent, detect, respond).
   - For moderate/low items, propose lightweight guardrails and monitoring triggers.
   - Include options that match resource levels (e.g., “minimum viable control” vs “enhanced control”).

5. **Contingency &amp; disruption playbooks**
   - Build response steps for the most critical scenarios (who does what, in what order).
   - Include communications guidance (customers, vendors, employees, regulators if relevant).
   - Define recovery objectives and resource needs.

6. **Implementation roadmap**
   - Assign ownership, timelines, and required budget/tools.
   - Identify quick wins (0–30 days), mid-term actions (30–90 days), and longer-term investments (90–180 days), adjusting as needed.

7. **Monitoring, review, and refresh**
   - Define leading indicators/KRIs and a routine to revisit scores.
   - Establish a recurring review cycle and a change-trigger list (new vendor, new regulation, rapid growth, incident, etc.).
   - Incorporate stakeholder feedback and document versioning.

## INPUTS
- **Business overview:** [PRODUCT_DESCRIPTION]
- **Primary user segment served:** [TARGET_AUDIENCE]
- **Industry/sector:** [INDUSTRY]
- **Core operations (how work is delivered):** [KEY_OPERATIONS]
- **Primary financial activities (revenue, expenses, cashflow, credit, etc.):** [MAIN_FINANCIAL_ACTIVITIES]
- **Market context (competition, demand shifts, regulations, macro factors):** [MARKET_ENVIRONMENT]
- **Known risks already on your radar:** [KNOWN_RISKS]
- **Business goals (growth, profitability, expansion, stability, exit, etc.):** [PRIMARY_GOAL]
- **Resources available for risk management (people, tools, budget):** [AVAILABLE_RESOURCES]
- **Planning horizon:** [TIMEFRAME]
- **Budget range (if known):** [BUDGET]
- **Preferred tone (e.g., formal, pragmatic, concise):** [TONE]

## OUTPUT SPECIFICATION
Deliver a single structured document containing:

1. **{Executive Summary}**
   - {Top Risks Snapshot}
   - {Priority Recommendations}

2. **{Business Profile &amp; Assumptions}**
   - {Context Summary}
   - {Assumptions}
   - {Open Questions}

3. **{Risk Register (Ranked)}** (table)
   - Columns: {Risk}, {Category}, {Root Cause}, {Likelihood Score}, {Impact Score}, {Overall Rating}, {Financial Exposure}, {Non-Financial Impact}, {Early Warning Indicators}, {Current Controls}, {Recommended Controls}, {Owner}, {Target Date}

4. **{Risk Heat Map Summary}**
   - {High Tier}, {Medium Tier}, {Low Tier} with brief rationale

5. **{Mitigation Plan by Priority Tier}**
   - {High-Priority Control Plan}
   - {Medium-Priority Guardrails}
   - {Low-Priority Monitoring Approach}

6. **{Contingency Playbooks}** (for the highest-impact scenarios)
   - For each: {Scenario}, {Trigger}, {Immediate Actions (0–24h)}, {Stabilization (1–7d)}, {Recovery (2–6w)}, {Comms Plan}, {Resources Needed}, {Decision Owner}

7. **{Implementation Roadmap}**
   - {0–30 Day Actions}
   - {30–90 Day Actions}
   - {90–180 Day Actions}
   - {Dependencies &amp; Budget Notes}

8. **{Monitoring &amp; Review System}**
   - {Key Risk Indicators}
   - {Review Cadence}
   - {Change Triggers}
   - {Update Workflow &amp; Versioning}

## QUALITY CHECKS
Before finalizing, verify:
- Coverage spans operations, finance, compliance/legal, people, technology, supply chain, reputation, and market forces.
- Every high-tier risk has: an owner, early-warning indicators, and a concrete mitigation + contingency component.
- Prioritization is transparent (scoring method is stated and consistently applied).
- Recommendations match [AVAILABLE_RESOURCES] and [BUDGET] (offer tiered alternatives if constrained).
- All user inputs use **[UPPERCASE_WITH_UNDERSCORES]** and all AI-filled placeholders use **{Title Case}** format only.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a customized, end-to-end risk management blueprint for a small business that surfaces major threats, prioritizes them by probability and severity, prescribes practical controls, and includes both a disruption playbook and a cadence for keeping the risk profile current\u2014while staying realistic about the business\u2019s goals, capacity, and industry expectations.\r\n\r\n## PERSONA\r\nAct as a Business Development Specialist who routinely partners with leadership teams to grow safely. You balance commercial opportunity with operational, financial, compliance, and market risk, and you communicate in clear, decision-ready language.\r\n\r\n## CONSTRAINTS\r\n- Keep recommendations feasible for a small-business environment (limited headcount, budget, and time).\r\n- Address risks across: operations, finance, compliance\/legal, technology\/cyber, people, supply chain, reputation, and market\/competitive dynamics.\r\n- Use both qualitative and quantitative thinking where possible (e.g., financial exposure ranges + reputational\/people impacts).\r\n- Provide a prioritization method (e.g., a probability \u00d7 impact scoring model) rather than an unranked list.\r\n- **Edge-case handling:** If any inputs are missing or vague, state assumptions explicitly, list targeted questions, and still provide a \u201cbest-available\u201d plan using reasonable defaults.\r\n- **What This Is NOT:** This is not legal advice, not a full audit, not an insurance binder, and not a guarantee that losses will be prevented; it is a practical management framework to reduce and respond to risk.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (confirm understanding)**\r\n   - Briefly restate the business context and what success looks like.\r\n   - Call out any unclear\/missing inputs and the assumptions you\u2019ll use.\r\n\r\n2. **Risk discovery**\r\n   - Scan the business across internal and external drivers.\r\n   - Use SWOT and PESTLE-style lenses to ensure coverage of hidden or second-order risks.\r\n   - Separate risks into clear categories (operational, financial, regulatory, market, etc.) and identify likely root causes.\r\n\r\n3. **Risk evaluation & prioritization**\r\n   - For each risk, estimate likelihood and impact (financial + non-financial).\r\n   - Score and rank risks using a simple matrix (e.g., 1\u20135 likelihood and 1\u20135 impact), then label priority tiers.\r\n\r\n4. **Controls & mitigation design**\r\n   - For top-tier items, propose layered controls (prevent, detect, respond).\r\n   - For moderate\/low items, propose lightweight guardrails and monitoring triggers.\r\n   - Include options that match resource levels (e.g., \u201cminimum viable control\u201d vs \u201cenhanced control\u201d).\r\n\r\n5. **Contingency & disruption playbooks**\r\n   - Build response steps for the most critical scenarios (who does what, in what order).\r\n   - Include communications guidance (customers, vendors, employees, regulators if relevant).\r\n   - Define recovery objectives and resource needs.\r\n\r\n6. **Implementation roadmap**\r\n   - Assign ownership, timelines, and required budget\/tools.\r\n   - Identify quick wins (0\u201330 days), mid-term actions (30\u201390 days), and longer-term investments (90\u2013180 days), adjusting as needed.\r\n\r\n7. **Monitoring, review, and refresh**\r\n   - Define leading indicators\/KRIs and a routine to revisit scores.\r\n   - Establish a recurring review cycle and a change-trigger list (new vendor, new regulation, rapid growth, incident, etc.).\r\n   - Incorporate stakeholder feedback and document versioning.\r\n\r\n## INPUTS\r\n- **Business overview:** [PRODUCT_DESCRIPTION]\r\n- **Primary user segment served:** [TARGET_AUDIENCE]\r\n- **Industry\/sector:** [INDUSTRY]\r\n- **Core operations (how work is delivered):** [KEY_OPERATIONS]\r\n- **Primary financial activities (revenue, expenses, cashflow, credit, etc.):** [MAIN_FINANCIAL_ACTIVITIES]\r\n- **Market context (competition, demand shifts, regulations, macro factors):** [MARKET_ENVIRONMENT]\r\n- **Known risks already on your radar:** [KNOWN_RISKS]\r\n- **Business goals (growth, profitability, expansion, stability, exit, etc.):** [PRIMARY_GOAL]\r\n- **Resources available for risk management (people, tools, budget):** [AVAILABLE_RESOURCES]\r\n- **Planning horizon:** [TIMEFRAME]\r\n- **Budget range (if known):** [BUDGET]\r\n- **Preferred tone (e.g., formal, pragmatic, concise):** [TONE]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a single structured document containing:\r\n\r\n1. **{Executive Summary}**\r\n   - {Top Risks Snapshot}\r\n   - {Priority Recommendations}\r\n\r\n2. **{Business Profile & Assumptions}**\r\n   - {Context Summary}\r\n   - {Assumptions}\r\n   - {Open Questions}\r\n\r\n3. **{Risk Register (Ranked)}** (table)\r\n   - Columns: {Risk}, {Category}, {Root Cause}, {Likelihood Score}, {Impact Score}, {Overall Rating}, {Financial Exposure}, {Non-Financial Impact}, {Early Warning Indicators}, {Current Controls}, {Recommended Controls}, {Owner}, {Target Date}\r\n\r\n4. **{Risk Heat Map Summary}**\r\n   - {High Tier}, {Medium Tier}, {Low Tier} with brief rationale\r\n\r\n5. **{Mitigation Plan by Priority Tier}**\r\n   - {High-Priority Control Plan}\r\n   - {Medium-Priority Guardrails}\r\n   - {Low-Priority Monitoring Approach}\r\n\r\n6. **{Contingency Playbooks}** (for the highest-impact scenarios)\r\n   - For each: {Scenario}, {Trigger}, {Immediate Actions (0\u201324h)}, {Stabilization (1\u20137d)}, {Recovery (2\u20136w)}, {Comms Plan}, {Resources Needed}, {Decision Owner}\r\n\r\n7. **{Implementation Roadmap}**\r\n   - {0\u201330 Day Actions}\r\n   - {30\u201390 Day Actions}\r\n   - {90\u2013180 Day Actions}\r\n   - {Dependencies & Budget Notes}\r\n\r\n8. **{Monitoring & Review System}**\r\n   - {Key Risk Indicators}\r\n   - {Review Cadence}\r\n   - {Change Triggers}\r\n   - {Update Workflow & Versioning}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- Coverage spans operations, finance, compliance\/legal, people, technology, supply chain, reputation, and market forces.\r\n- Every high-tier risk has: an owner, early-warning indicators, and a concrete mitigation + contingency component.\r\n- Prioritization is transparent (scoring method is stated and consistently applied).\r\n- Recommendations match [AVAILABLE_RESOURCES] and [BUDGET] (offer tiered alternatives if constrained).\r\n- All user inputs use **[UPPERCASE_WITH_UNDERSCORES]** and all AI-filled placeholders use **{Title Case}** format only.";
    const variables = ["[PRODUCT_DESCRIPTION]","[TARGET_AUDIENCE]","[INDUSTRY]","[KEY_OPERATIONS]","[MAIN_FINANCIAL_ACTIVITIES]","[MARKET_ENVIRONMENT]","[KNOWN_RISKS]","[PRIMARY_GOAL]","[AVAILABLE_RESOURCES]","[TIMEFRAME]","[BUDGET]","[TONE]","[UPPERCASE_WITH_UNDERSCORES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Give a sharp business snapshot first.</strong> Add 5–8 lines on what you sell, your fulfillment model, and your constraints (cash, staff, tools). For example: “B2C Shopify brand, 3-person team, ships from 3PL, $70K/month, high return rates, one ad channel.” That context makes the scoring far more believable.</li>


<li><strong>Force numbers where they matter.</strong> Even rough ranges improve prioritization. After the first output, ask: “Add financial exposure bands for the top 10 risks (e.g., $1–5K, $5–25K, $25–100K+) and explain the assumptions behind each band.”</li>


<li><strong>Use a “top-5 only” round for speed.</strong> If you’re short on time, run one pass and then follow with: “Reduce this to the five most urgent risks and write a 30-day mitigation plan with owners and weekly checkpoints.” Frankly, most teams implement more when the list is smaller.</li>


<li><strong>Iterate by changing risk appetite.</strong> After you review the ranking, try: “Re-score using a conservative risk appetite (lower tolerance for compliance and cash-flow risk), then re-score using an aggressive growth posture.” The delta shows where you’re making a strategic choice, not just “being careful.”</li>


<li><strong>Turn KRIs into an operating rhythm.</strong> Don’t leave indicators as a list. Follow up with: “Convert the KRIs into a one-page dashboard spec: metric definition, data source, owner, threshold, and what action to take when it’s breached.” Then you can drop it into a spreadsheet or BI tool the same day.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you’ve mapped your risk strategy, these prompts help you communicate it clearly (internally and externally) with stronger narrative structure:</p>



<p>If you also need to brief stakeholders on “what happened, what we learned, and what changes now,” <a href="https://flowpast.com/prompts/write-a-breakthrough-feature-story-with-this-ai-prompt/">Write a Breakthrough Feature Story with this AI Prompt</a> helps you shape a compelling, readable story from messy notes. It pairs well when you’re documenting a disruption, a turnaround, or a hard-won fix to a recurring operational risk.</p>



<p>For teams doing deeper internal write-ups, <a href="https://flowpast.com/prompts/write-a-long-form-news-feature-with-this-ai-prompt/">Write a Long-Form News Feature with this AI Prompt</a> is useful when you want a structured narrative that still stays factual. It’s a smart follow-on when your risk plan needs cross-team buy-in and you want to explain the “why” behind new controls.</p>



<p>When a risk event has uncertainty (fraud patterns, vendor issues, policy violations) and you need to assemble facts before you act, <a href="https://flowpast.com/prompts/write-an-investigative-feature-with-this-ai-prompt/">Write an Investigative Feature with this AI Prompt</a> can help you outline lines of inquiry and organize evidence. It’s not a substitute for legal or HR process, but it can help you think clearly and avoid gaps in your timeline.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/write-a-breakthrough-feature-story-with-this-ai-prompt/">Write a Breakthrough Feature Story with this AI Prompt</a>: Turn risk events into clear narratives.</li>


<li><a href="https://flowpast.com/prompts/write-a-long-form-news-feature-with-this-ai-prompt/">Write a Long-Form News Feature with this AI Prompt</a>: Build stakeholder-ready internal reporting.</li>


<li><a href="https://flowpast.com/prompts/write-an-investigative-feature-with-this-ai-prompt/">Write an Investigative Feature with this AI Prompt</a>: Organize inquiry for uncertain incidents.</li>


<li><a href="https://flowpast.com/prompts/write-an-investigative-feature-article-ai-prompt/">Write an Investigative Feature Article AI Prompt</a>: Create a structured investigation draft.</li>


<li><a href="https://flowpast.com/prompts/build-a-fiction-book-outline-with-this-ai-prompt/">Build a Fiction Book Outline with this AI Prompt</a>: Practice scenario thinking with plot arcs.</li>

</ul>

</div>

<div class="faq-section">

<h2 class="wp-block-heading">Common Questions</h2>


<div class="faq-item">
<span class="question">Which roles benefit most from this risk strategy prompt AI prompt?</span>

<p class="answer"><strong>Operations Managers</strong> use this to identify fragile steps in fulfillment, service delivery, and vendor dependencies, then turn them into controls someone actually owns. <strong>Founders and CEOs</strong> get a prioritized view of risk instead of a scattered worry list, which makes tradeoffs (hire, automate, change policy) easier to justify. <strong>Finance Leads</strong> benefit from the probability × impact scoring and exposure ranges, especially when cash flow is tight and one disruption can domino. <strong>Fractional COOs and consultants</strong> apply it to standardize risk reviews across multiple clients without pretending it’s a full audit.</p>

</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this risk strategy prompt AI prompt?</span>

<p class="answer"><strong>E-commerce brands</strong> use this to pressure-test supply chain risk, chargebacks, fraud, 3PL performance, and reputation risk from shipping delays. It’s particularly useful when one paid channel drives most revenue and a platform change could hurt quickly. <strong>Local service businesses</strong> apply it to people risk (no-shows, hiring gaps), compliance basics, and operational continuity when equipment breaks or a key tech is out. <strong>SaaS companies</strong> leverage it for technology and security risk, uptime and incident response playbooks, and clear KRIs like failed payments or support backlog thresholds. <strong>Professional services firms</strong> use it to manage scope creep, client concentration, regulatory exposure, and delivery capacity while staying realistic about small-team bandwidth.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a small business risk strategy produce weak results?</span>

<p class="answer">A typical prompt like “Write me a risk management plan for my small business” fails because it: lacks your real constraints (headcount, cash, tools), provides no prioritization method like probability × impact scoring, ignores second-order risks that show up through SWOT/PESTLE scanning, produces generic advice instead of decision-ready controls with owners, and misses the disruption playbook/KRI cadence that keeps the plan alive after week one. You end up with a long document that feels responsible, but doesn’t change what anyone does on Monday.</p>

</div>

<div class="faq-item">
<span class="question">Can I customize this risk strategy prompt for my specific situation?</span>

<p class="answer">Yes. Start by pasting a short context block before you run it: your business model, team size, core systems (POS, Shopify, QuickBooks, CRM), top revenue drivers, and any recent incidents. Then specify your risk tolerance (“We accept market risk but have zero tolerance for compliance fines” or “Cash flow is the number-one constraint”). A useful follow-up is: “Rewrite the plan for a 90-day horizon, and label each mitigation as Low/Medium/High effort with an estimated cost range.” If you leave details vague, the prompt will still proceed, but you will get assumption-heavy outputs.</p>

</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this risk strategy prompt?</span>

<p class="answer">The biggest mistake is leaving the business context too vague—instead of “a small retail business,” try “single-location specialty grocery, $1.2M/year, 12 staff, heavy weekend traffic, two main suppliers.” Another common error is ignoring constraints; “do a full ISO program” is unrealistic, while “two hours per week and $500/month tools budget” yields usable controls. People also skip incident history, even though “we had two ransomware attempts and a payroll error last quarter” changes the priority list fast. Finally, teams treat the output as a document rather than a cadence; if you don’t assign owners and pick a KRI review rhythm, nothing sticks.</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this risk strategy prompt?</span>

<p class="answer">This prompt isn’t ideal for regulated enterprises that require formal risk frameworks, audits, or legal sign-off as part of compliance. It’s also a poor fit when you want a one-time template and have no intention of reviewing KRIs or updating the register as the business changes. And if you have not validated your core offer yet, you may get more value by focusing on product-market fit before formalizing risk controls. In those cases, use a lightweight checklist approach first, then come back when you’re operating in repeatable cycles.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this risk strategy prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Operations Managers use this to identify fragile steps in fulfillment, service delivery, and vendor dependencies, then turn them into controls someone actually owns. Founders and CEOs get a prioritized view of risk instead of a scattered worry list, which makes tradeoffs (hire, automate, change policy) easier to justify. Finance Leads benefit from the probability × impact scoring and exposure ranges, especially when cash flow is tight and one disruption can domino. Fractional COOs and consultants apply it to standardize risk reviews across multiple clients without pretending it’s a full audit."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this risk strategy prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce brands use this to pressure-test supply chain risk, chargebacks, fraud, 3PL performance, and reputation risk from shipping delays. It’s particularly useful when one paid channel drives most revenue and a platform change could hurt quickly. Local service businesses apply it to people risk (no-shows, hiring gaps), compliance basics, and operational continuity when equipment breaks or a key tech is out. SaaS companies leverage it for technology and security risk, uptime and incident response playbooks, and clear KRIs like failed payments or support backlog thresholds. Professional services firms use it to manage scope creep, client concentration, regulatory exposure, and delivery capacity while staying realistic about small-team bandwidth."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a small business risk strategy produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a risk management plan for my small business” fails because it: lacks your real constraints (headcount, cash, tools), provides no prioritization method like probability × impact scoring, ignores second-order risks that show up through SWOT/PESTLE scanning, produces generic advice instead of decision-ready controls with owners, and misses the disruption playbook/KRI cadence that keeps the plan alive after week one. You end up with a long document that feels responsible, but doesn’t change what anyone does on Monday."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this risk strategy prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Start by pasting a short context block before you run it: your business model, team size, core systems (POS, Shopify, QuickBooks, CRM), top revenue drivers, and any recent incidents. Then specify your risk tolerance (“We accept market risk but have zero tolerance for compliance fines” or “Cash flow is the number-one constraint”). A useful follow-up is: “Rewrite the plan for a 90-day horizon, and label each mitigation as Low/Medium/High effort with an estimated cost range.” If you leave details vague, the prompt will still proceed, but you will get assumption-heavy outputs."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this risk strategy prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving the business context too vague—instead of “a small retail business,” try “single-location specialty grocery, $1.2M/year, 12 staff, heavy weekend traffic, two main suppliers.” Another common error is ignoring constraints; “do a full ISO program” is unrealistic, while “two hours per week and $500/month tools budget” yields usable controls. People also skip incident history, even though “we had two ransomware attempts and a payroll error last quarter” changes the priority list fast. Finally, teams treat the output as a document rather than a cadence; if you don’t assign owners and pick a KRI review rhythm, nothing sticks."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this risk strategy prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for regulated enterprises that require formal risk frameworks, audits, or legal sign-off as part of compliance. It’s also a poor fit when you want a one-time template and have no intention of reviewing KRIs or updating the register as the business changes. And if you have not validated your core offer yet, you may get more value by focusing on product-market fit before formalizing risk controls. In those cases, use a lightweight checklist approach first, then come back when you’re operating in repeatable cycles."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Risk doesn’t go away because you’re busy. Put structure around it, prioritize what matters, and move forward with fewer surprises. Paste the prompt into ChatGPT, answer the clarifying questions, and build your first decision-ready risk plan today.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001754.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Small Business Budget Blueprint with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-small-business-budget-blueprint-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:52:38 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001753</guid>

					<description><![CDATA[Budget plans feel shaky - this AI Prompt builds a full-year allocation blueprint with scenarios, reserves, and KPIs. Explore thousands of AI prompts by function and industry.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: small business budget -->
<div class="hook-introduction">

<p>Budgeting for a small business usually turns into guesswork. You patch last year’s numbers, sprinkle in “growth,” and hope nothing ugly happens in Q3. Then one surprise (a vendor increase, a slow month, a payroll spike) exposes how thin the plan really is.</p>



<p>This <strong>small business budget</strong> is built for <strong>operators</strong> who need a full-year plan they can actually run, <strong>finance leads</strong> trying to balance expansion with cash safety, and <strong>consultants</strong> who must deliver a decision-ready budget blueprint to a client fast. The output is a practical fiscal-year allocation plan with category percentages, reserve targets, scenario ranges, assumptions, and KPIs you can track monthly.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It summarizes your current situation first, including what “success” looks like this year and which constraints matter most.</li>
          <li>It diagnoses last year’s financial signals, such as cost concentrations, margin pressure, volatility, and one-time events that shouldn’t repeat.</li>
          <li>It pressure-tests your plan against the economic and industry backdrop by translating conditions into likely impacts on demand, pricing power, labor, and financing.</li>
          <li>It converts goals into budget requirements, mapping each goal to the spend categories, timing, and capabilities needed to execute.</li>
          <li>It outputs budget allocations as percentages (with ranges when needed), while clearly stating assumptions when your input data is missing.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are entering annual planning and want a budget that’s resilient, not just “last year plus 10%.”</li>
          <li>Your cash flow has felt tight or unpredictable, and you need a clearer safety net and reserve logic.</li>
          <li>You’re deciding between growth moves (new hire, new channel, new location, new tool) and need tradeoffs spelled out.</li>
          <li>Costs are rising (labor, shipping, SaaS, interest rates), and the old allocation no longer matches reality.</li>
          <li>You’re scaling and need a repeatable monthly KPI cadence tied to the budget, not a spreadsheet that gets ignored.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A full-year budget allocation blueprint with 8–12 categories expressed as percentage targets and practical ranges.</li>
           <li>Three planning scenarios (base, conservative, aggressive) with “what changes” notes for each version.</li>
           <li>A reserve and risk plan, including a suggested buffer level and when you would tap it.</li>
           <li>A decision-ready assumptions list that flags missing numbers and shows how they affect the plan.</li>
           <li>A KPI set (8–15 metrics) with a simple monthly check-in routine aligned to the budget.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Small Business Budget Blueprint Builder</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[PAST_FINANCIAL_DATA_SUMMARY]</code></td>
                                <td class="var-desc">
                                    Summarize key financial metrics from the previous fiscal year, including revenue, expenses, margins, and any notable one-time events.                                    <div class="var-example">For example: "Revenue: $3.2M, Expenses: $2.5M, Net Margin: 22%, one-time legal settlement of $100K, increased COGS due to supply chain disruptions."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PAST_FINANCIAL_DATA_SUMMARY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CURRENT_ECONOMIC_TRENDS]</code></td>
                                <td class="var-desc">
                                    Provide an overview of relevant macroeconomic and industry-specific conditions affecting your business, such as inflation, interest rates, or labor market shifts.                                    <div class="var-example">For example: "Inflation at 6%, interest rates increased by 1.5%, labor shortages in skilled positions, and rising material costs in the manufacturing sector."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CURRENT_ECONOMIC_TRENDS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[SHORT_TERM_AND_LONG_TERM_GOALS]</code></td>
                                <td class="var-desc">
                                    List the key objectives for the business over the next year and beyond, including financial targets and operational ambitions.                                    <div class="var-example">For example: "Short-term: Achieve 15% revenue growth and reduce operating costs by 10%. Long-term: Expand into two new markets and develop a new product line within 3 years."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[SHORT_TERM_AND_LONG_TERM_GOALS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[RISK_TOLERANCE_AND_GROWTH_CAPACITY]</code></td>
                                <td class="var-desc">
                                    Describe the business’s appetite for risk and ability to support growth initiatives, considering cash reserves, debt levels, and operational stability.                                    <div class="var-example">For example: "Moderate risk tolerance with $500K in cash reserves and $1M in debt. Growth capacity constrained by current staffing levels but scalable with additional hiring."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[RISK_TOLERANCE_AND_GROWTH_CAPACITY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[ESSENTIAL_OPERATING_EXPENSES_DETAILS]</code></td>
                                <td class="var-desc">
                                    Provide a detailed breakdown of necessary costs for day-to-day operations, such as rent, utilities, payroll, and technology subscriptions.                                    <div class="var-example">For example: "Monthly rent: $10K, utilities: $2K, payroll: $80K, software subscriptions: $5K, and insurance: $3K."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[ESSENTIAL_OPERATING_EXPENSES_DETAILS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[POTENTIAL_AREAS_FOR_INVESTMENT_AND_GROWTH]</code></td>
                                <td class="var-desc">
                                    Identify specific opportunities to expand or improve the business, such as new product development, marketing campaigns, or operational upgrades.                                    <div class="var-example">For example: "Invest in digital marketing campaigns to increase online sales, upgrade manufacturing equipment to reduce production costs, and hire two senior sales representatives."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[POTENTIAL_AREAS_FOR_INVESTMENT_AND_GROWTH]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or sector in which the business operates to provide relevant context for recommendations.                                    <div class="var-example">For example: "E-commerce specializing in eco-friendly home goods."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Indicate the period for which the budget allocation strategy is being created, typically in months or years.                                    <div class="var-example">For example: "Next fiscal year (January 2024 - December 2024)."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Scope Boundaries — What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge Case Handling</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a practical, numbers-aware budget allocation strategy for the next fiscal year that improves day-to-day efficiency, supports sustainable expansion, and strengthens the company’s ability to absorb surprises.

## PERSONA
You are a seasoned small-business financial planner and budgeting strategist. Communicate like a pragmatic advisor: clear assumptions, structured recommendations, and decision-ready guidance (not academic theory).

## CONSTRAINTS
- Anchor recommendations to the provided historical performance, stated goals, and risk posture.
- Reflect the supplied macro/industry conditions when proposing allocations, reserves, and debt moves.
- Provide allocations as percentages by category (and include ranges when precision isn’t possible).
- Call out assumptions explicitly when the inputs lack key numbers.
- Avoid generic advice; tie every major recommendation to a rationale.

### Scope Boundaries — What This Is NOT
- Not tax, legal, or regulatory compliance advice.
- Not a valuation, audit opinion, or bookkeeping cleanup.
- Not a personal finance plan for the owner unless explicitly requested.
- Not a promise of returns or a guarantee of business outcomes.

## PROCESS
1. **Pre-Analysis (state your understanding first):** Summarize what you believe the business situation is, what success looks like this year, and which constraints matter most. List any missing data you’d normally request.
2. **Look-back diagnosis:** Extract key signals from the prior year (cost concentrations, margin pressure, volatility, one-time events, and what “worked”).
3. **External pressure test:** Translate the current economic backdrop into likely impacts (pricing power, labor costs, financing costs, demand shifts, inventory risk).
4. **Goal translation:** Convert goals into budget requirements (capabilities needed, spend categories affected, and timing).
5. **Risk-and-growth calibration:** Determine how aggressive the plan should be, including how large the safety net should be and how quickly to deleverage (if applicable).
6. **Build the allocation model:** Propose category-by-category budget percentages covering:
   - core operations
   - variable/COGS or direct costs (if relevant)
   - people/labor
   - occupancy/utilities
   - marketing/sales
   - product/service development
   - tools/tech
   - debt service
   - emergency reserves
   - discretionary/experimental spend
7. **Investment prioritization:** Rank growth initiatives by expected impact and difficulty; recommend what to fund now vs. later.
8. **Debt strategy (if debt exists):** Offer an approach that balances interest cost, cash-flow stability, and opportunity cost (e.g., accelerate payments vs. refinance vs. maintain).
9. **Review cadence:** Define a check-in rhythm and specific triggers for reforecasting (missed revenue, cost spikes, rate changes, demand shifts).

### Edge Case Handling
- If any input is vague or incomplete, proceed with a “best-fit” plan using clearly labeled assumptions and provide 5–8 targeted follow-up questions.
- If the risk tolerance is low and goals imply aggressive growth, surface the conflict and provide two alternative allocation scenarios (conservative vs. growth-leaning).
- If the economic outlook suggests a downturn, include a downside protection version (expense brakes, reserve target, and priority cuts).

## INPUTS
- **Past financial snapshot:** [PAST_FINANCIAL_DATA_SUMMARY]  
- **Economic/market conditions:** [CURRENT_ECONOMIC_TRENDS]  
- **Near- and long-range goals:** [SHORT_TERM_AND_LONG_TERM_GOALS]  
- **Risk profile &amp; growth capacity:** [RISK_TOLERANCE_AND_GROWTH_CAPACITY]  
- **Core operating cost details:** [ESSENTIAL_OPERATING_EXPENSES_DETAILS]  
- **Candidate growth/investment options:** [POTENTIAL_AREAS_FOR_INVESTMENT_AND_GROWTH]  
- **Business sector (if relevant):** [INDUSTRY]  
- **Time horizon for the plan:** [TIMEFRAME]

## OUTPUT SPECIFICATION
Deliver a budget strategy document with the following sections:

1. **Task Understanding &amp; Assumptions**
   - {Situation Summary}
   - {Key Assumptions}
   - {Missing Information Requests}

2. **Findings From Prior Year**
   - {Revenue Notes}
   - {Cost Drivers}
   - {Irregular/One-Time Items}
   - {What Performed Well / Poorly}

3. **Economic Trend Implications**
   - {Trend}
   - {Expected Business Impact}
   - {Budget Response}

4. **Budget Allocation Table (Percent of Total Budget)**
   For each category include:
   - {Category Name}
   - {Recommended Allocation Percent}
   - {Reasoning}
   - {Cost Control Ideas}
   - {KPIs To Track}

5. **Emergency Reserve / Safety Net Design**
   - {Reserve Target}
   - {Funding Method}
   - {Rules For Use &amp; Refill}

6. **Growth Spend Plan**
   - {Initiative}
   - {Priority Level}
   - {Expected Outcome}
   - {Estimated Spend Range}
   - {Dependencies/Risks}

7. **Savings &amp; Cutbacks**
   - {Expense Area}
   - {Cut/Savings Approach}
   - {Estimated Impact}
   - {Operational Tradeoffs}

8. **Debt Management Plan (If Applicable)**
   - {Current Debt Considerations}
   - {Recommended Approach}
   - {Pros/Cons}
   - {Monitoring Metrics}

9. **Review Timeline &amp; Adjustment Triggers**
   - {Review Schedule} (use a cadence such as every 5–7 weeks plus quarterly deep dives)
   - {Trigger Events}
   - {How To Reallocate When Triggers Hit}

## QUALITY CHECKS
Before finalizing, verify:
- The allocation percentages are coherent and sum to ~100% (or explain any exception).
- Each major recommendation is justified by at least one input or stated assumption.
- The plan reflects the stated risk tolerance (reserve size, debt stance, and growth aggressiveness align).
- At least 3 measurable KPIs are provided for ongoing budget governance.
- A clear review cadence and concrete adjustment triggers are included.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a practical, numbers-aware budget allocation strategy for the next fiscal year that improves day-to-day efficiency, supports sustainable expansion, and strengthens the company\u2019s ability to absorb surprises.\r\n\r\n## PERSONA\r\nYou are a seasoned small-business financial planner and budgeting strategist. Communicate like a pragmatic advisor: clear assumptions, structured recommendations, and decision-ready guidance (not academic theory).\r\n\r\n## CONSTRAINTS\r\n- Anchor recommendations to the provided historical performance, stated goals, and risk posture.\r\n- Reflect the supplied macro\/industry conditions when proposing allocations, reserves, and debt moves.\r\n- Provide allocations as percentages by category (and include ranges when precision isn\u2019t possible).\r\n- Call out assumptions explicitly when the inputs lack key numbers.\r\n- Avoid generic advice; tie every major recommendation to a rationale.\r\n\r\n### Scope Boundaries \u2014 What This Is NOT\r\n- Not tax, legal, or regulatory compliance advice.\r\n- Not a valuation, audit opinion, or bookkeeping cleanup.\r\n- Not a personal finance plan for the owner unless explicitly requested.\r\n- Not a promise of returns or a guarantee of business outcomes.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis (state your understanding first):** Summarize what you believe the business situation is, what success looks like this year, and which constraints matter most. List any missing data you\u2019d normally request.\r\n2. **Look-back diagnosis:** Extract key signals from the prior year (cost concentrations, margin pressure, volatility, one-time events, and what \u201cworked\u201d).\r\n3. **External pressure test:** Translate the current economic backdrop into likely impacts (pricing power, labor costs, financing costs, demand shifts, inventory risk).\r\n4. **Goal translation:** Convert goals into budget requirements (capabilities needed, spend categories affected, and timing).\r\n5. **Risk-and-growth calibration:** Determine how aggressive the plan should be, including how large the safety net should be and how quickly to deleverage (if applicable).\r\n6. **Build the allocation model:** Propose category-by-category budget percentages covering:\r\n   - core operations\r\n   - variable\/COGS or direct costs (if relevant)\r\n   - people\/labor\r\n   - occupancy\/utilities\r\n   - marketing\/sales\r\n   - product\/service development\r\n   - tools\/tech\r\n   - debt service\r\n   - emergency reserves\r\n   - discretionary\/experimental spend\r\n7. **Investment prioritization:** Rank growth initiatives by expected impact and difficulty; recommend what to fund now vs. later.\r\n8. **Debt strategy (if debt exists):** Offer an approach that balances interest cost, cash-flow stability, and opportunity cost (e.g., accelerate payments vs. refinance vs. maintain).\r\n9. **Review cadence:** Define a check-in rhythm and specific triggers for reforecasting (missed revenue, cost spikes, rate changes, demand shifts).\r\n\r\n### Edge Case Handling\r\n- If any input is vague or incomplete, proceed with a \u201cbest-fit\u201d plan using clearly labeled assumptions and provide 5\u20138 targeted follow-up questions.\r\n- If the risk tolerance is low and goals imply aggressive growth, surface the conflict and provide two alternative allocation scenarios (conservative vs. growth-leaning).\r\n- If the economic outlook suggests a downturn, include a downside protection version (expense brakes, reserve target, and priority cuts).\r\n\r\n## INPUTS\r\n- **Past financial snapshot:** [PAST_FINANCIAL_DATA_SUMMARY]  \r\n- **Economic\/market conditions:** [CURRENT_ECONOMIC_TRENDS]  \r\n- **Near- and long-range goals:** [SHORT_TERM_AND_LONG_TERM_GOALS]  \r\n- **Risk profile & growth capacity:** [RISK_TOLERANCE_AND_GROWTH_CAPACITY]  \r\n- **Core operating cost details:** [ESSENTIAL_OPERATING_EXPENSES_DETAILS]  \r\n- **Candidate growth\/investment options:** [POTENTIAL_AREAS_FOR_INVESTMENT_AND_GROWTH]  \r\n- **Business sector (if relevant):** [INDUSTRY]  \r\n- **Time horizon for the plan:** [TIMEFRAME]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a budget strategy document with the following sections:\r\n\r\n1. **Task Understanding & Assumptions**\r\n   - {Situation Summary}\r\n   - {Key Assumptions}\r\n   - {Missing Information Requests}\r\n\r\n2. **Findings From Prior Year**\r\n   - {Revenue Notes}\r\n   - {Cost Drivers}\r\n   - {Irregular\/One-Time Items}\r\n   - {What Performed Well \/ Poorly}\r\n\r\n3. **Economic Trend Implications**\r\n   - {Trend}\r\n   - {Expected Business Impact}\r\n   - {Budget Response}\r\n\r\n4. **Budget Allocation Table (Percent of Total Budget)**\r\n   For each category include:\r\n   - {Category Name}\r\n   - {Recommended Allocation Percent}\r\n   - {Reasoning}\r\n   - {Cost Control Ideas}\r\n   - {KPIs To Track}\r\n\r\n5. **Emergency Reserve \/ Safety Net Design**\r\n   - {Reserve Target}\r\n   - {Funding Method}\r\n   - {Rules For Use & Refill}\r\n\r\n6. **Growth Spend Plan**\r\n   - {Initiative}\r\n   - {Priority Level}\r\n   - {Expected Outcome}\r\n   - {Estimated Spend Range}\r\n   - {Dependencies\/Risks}\r\n\r\n7. **Savings & Cutbacks**\r\n   - {Expense Area}\r\n   - {Cut\/Savings Approach}\r\n   - {Estimated Impact}\r\n   - {Operational Tradeoffs}\r\n\r\n8. **Debt Management Plan (If Applicable)**\r\n   - {Current Debt Considerations}\r\n   - {Recommended Approach}\r\n   - {Pros\/Cons}\r\n   - {Monitoring Metrics}\r\n\r\n9. **Review Timeline & Adjustment Triggers**\r\n   - {Review Schedule} (use a cadence such as every 5\u20137 weeks plus quarterly deep dives)\r\n   - {Trigger Events}\r\n   - {How To Reallocate When Triggers Hit}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The allocation percentages are coherent and sum to ~100% (or explain any exception).\r\n- Each major recommendation is justified by at least one input or stated assumption.\r\n- The plan reflects the stated risk tolerance (reserve size, debt stance, and growth aggressiveness align).\r\n- At least 3 measurable KPIs are provided for ongoing budget governance.\r\n- A clear review cadence and concrete adjustment triggers are included.";
    const variables = ["[PAST_FINANCIAL_DATA_SUMMARY]","[CURRENT_ECONOMIC_TRENDS]","[SHORT_TERM_AND_LONG_TERM_GOALS]","[RISK_TOLERANCE_AND_GROWTH_CAPACITY]","[ESSENTIAL_OPERATING_EXPENSES_DETAILS]","[POTENTIAL_AREAS_FOR_INVESTMENT_AND_GROWTH]","[INDUSTRY]","[TIMEFRAME]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Bring a “last 12 months” snapshot, even if it’s imperfect.</strong> The prompt is designed to do a look-back diagnosis, so give it revenue, gross margin (or COGS), payroll, rent, software, marketing, and owner draws by month if you can. If you only have totals, say so and add seasonality notes (for example: “40% of sales come in Nov–Dec”). That context makes the scenario ranges much more realistic.</li>


<li><strong>State your risk posture in plain language.</strong> Don’t overthink it. Try something like: “I’m willing to run lean, but I don’t want payroll risk,” or “I can tolerate a rough quarter if it funds growth.” If the first output feels too cautious, follow up with: “Recalibrate to a more aggressive stance and explain which reserve and spend categories change most.”</li>


<li><strong>Describe your economic backdrop like a memo.</strong> A few sentences beat a vague phrase. Example: “Local demand is flat, competitors are discounting, supplier costs are up 8%, and interest rates are making financing expensive.” Honestly, this is where many budgets fall apart, and the prompt’s external pressure test is only as good as what you feed it.</li>


<li><strong>Force timing decisions instead of annual averages.</strong> If you have known spikes (inventory buys, renewals, slow seasons), tell the AI when they happen. After the first run, ask: “Now add a quarter-by-quarter emphasis note for each category (Q1–Q4) so I know when to spend and when to conserve.”</li>


<li><strong>Use the output to create a client-facing deliverable.</strong> If you’re presenting this to leadership or a client, combine the budget blueprint with a crisp narrative and visuals. A helpful next step is to paste the budget summary into <a href="https://flowpast.com/prompts/build-a-persuasive-business-presentation-ai-prompt/">Build a Persuasive Business Presentation AI Prompt</a> and ask it to turn the plan into a short deck with decisions, risks, and KPIs.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you have a budget blueprint, these prompts help you communicate it, win buy-in, and turn the plan into decisions and documents.</p>



<p>If you also need to turn your budget plan into a polished deliverable a client can sign off on, pair this with <a href="https://flowpast.com/prompts/write-a-client-ready-business-proposal-with-this-ai-prompt/">Write a Client-Ready Business Proposal with this AI Prompt</a>. It’s useful when you want to include scope, timeline, and clear terms alongside the financial plan so the next steps are unmistakable.</p>



<p>For teams doing leadership approvals or board-style readouts, <a href="https://flowpast.com/prompts/write-executive-business-proposals-ai-prompt/">Write Executive Business Proposals AI Prompt</a> helps you translate the budget logic into an executive narrative. Use it when the budget is solid but the decision-makers need a tighter case, fewer distractions, and sharper tradeoffs.</p>



<p>When your next challenge is explaining the plan visually (and quickly), <a href="https://flowpast.com/prompts/build-a-persuasive-business-presentation-ai-prompt/">Build a Persuasive Business Presentation AI Prompt</a> is the natural companion. Feed it your categories, scenarios, and KPI list, then ask for a 8–12 slide structure that highlights what changed, why it matters, and what you will monitor monthly.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/write-a-client-ready-business-proposal-with-this-ai-prompt/">Write a Client-Ready Business Proposal with this AI Prompt</a>: Turn budget into client-facing scope and terms.</li>


<li><a href="https://flowpast.com/prompts/write-executive-business-proposals-ai-prompt/">Write Executive Business Proposals AI Prompt</a>: Executive summary and approval-ready business case.</li>

<li><a href="https://flowpast.com/prompts/build-a-persuasive-business-presentation-ai-prompt/">Build a Persuasive Business Presentation AI Prompt</a>: Convert budget into a concise decision deck.</li>


<li><a href="https://flowpast.com/prompts/write-a-persuasive-opinion-article-with-this-ai-prompt/">Write a Persuasive Opinion Article with this AI Prompt</a>: Publish your “why this plan” viewpoint.</li>


<li><a href="https://flowpast.com/prompts/write-a-persuasive-political-manifesto-with-this-ai-prompt/">Write a Persuasive Political Manifesto with this AI Prompt</a>: Structure bold positioning and commitments.</li>

</ul>
<!-- /wp:post-content -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this small business budget AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Small business owners</strong> use this to turn messy “hope-based” planning into a clear allocation plan with reserves and monthly KPIs. <strong>Operations managers</strong> benefit because the prompt ties goals to spend timing, so hiring, tooling, and vendor decisions have guardrails. <strong>Fractional CFOs and finance consultants</strong> leverage the built-in pre-analysis, look-back diagnosis, and pressure test to deliver a decision-ready blueprint without writing everything from scratch. <strong>Agency owners</strong> apply it to smooth cash flow, set realistic marketing-to-delivery spend ratios, and plan for lumpy client revenue.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this small business budget AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>E-commerce brands</strong> get value because the external pressure test can factor in shipping, returns, inventory risk, and ad cost volatility, then reflect that in reserves and scenario ranges. <strong>Local service businesses</strong> (home services, clinics, studios) can use it to plan staffing and seasonality, especially when demand fluctuates and labor costs move fast. <strong>Professional services firms</strong> benefit when utilization and pipeline uncertainty make annual plans fragile; the prompt helps translate goals into capacity and spend categories with clear assumptions. <strong>Light manufacturing and product businesses</strong> often need tighter buffers due to supplier pricing and financing costs, and this prompt pushes that into explicit safety net decisions.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a small business budget produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a budget for my small business” fails because it: lacks your historical performance signals (so it can’t spot cost concentrations or margin pressure), provides no structured process (so it jumps to numbers without a pre-analysis), ignores macro and industry conditions (so financing and demand shifts don’t show up in allocations), produces generic category splits instead of percentage ranges with rationales, and misses explicit assumptions (so you can’t tell what’s real versus what the model guessed). This prompt is stronger because it forces diagnosis, pressure testing, and decision-ready outputs, not just a template.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this small business budget prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, but customization happens through what you paste in as context, since the prompt itself has no variables. Include your last 12 months of revenue and major expenses, your goals (for example: “hire 2 techs by May” or “launch subscription by Q3”), and your risk posture (how much volatility you can tolerate). Add external conditions you’re experiencing, like supplier increases, local demand shifts, or borrowing costs. After the first output, use a follow-up prompt like: “Rebuild the plan assuming revenue is 15% lower than expected for two quarters, and show what categories you would cut, what you would protect, and how reserves change.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this small business budget prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is providing no historical baseline — instead of “We did fine last year,” use “2025 revenue was $1.2M, gross margin averaged 48%, payroll was 22% of revenue, marketing was 9%, with a slow season in Jan–Feb.” Another common error is vague goals; “grow the business” is weak, while “increase recurring revenue from 10% to 25% by Q4” gives the budget something to translate into categories and timing. People also omit risk posture, which leads to mismatched reserves; “I’m okay with risk” is fuzzy compared to “I need 2 months of payroll protected at all times.” Finally, skipping macro conditions (rates, labor market, pricing pressure) causes allocations that look clean on paper but fail in real life.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this small business budget prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for tax, legal, or regulatory compliance planning, since it explicitly avoids those areas. It’s also a poor fit if your books are not reliable enough to summarize last year at all; you will get better results by cleaning up your bookkeeping first, then running the prompt. And if you only want a quick fill-in-the-blank template with no analysis, the structured diagnosis and pressure test may feel like extra work. In those cases, start simpler, then come back once you’re ready to make decisions with real tradeoffs.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this small business budget AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Small business owners use this to turn messy “hope-based” planning into a clear allocation plan with reserves and monthly KPIs. Operations managers benefit because the prompt ties goals to spend timing, so hiring, tooling, and vendor decisions have guardrails. Fractional CFOs and finance consultants leverage the built-in pre-analysis, look-back diagnosis, and pressure test to deliver a decision-ready blueprint without writing everything from scratch. Agency owners apply it to smooth cash flow, set realistic marketing-to-delivery spend ratios, and plan for lumpy client revenue."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this small business budget AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce brands get value because the external pressure test can factor in shipping, returns, inventory risk, and ad cost volatility, then reflect that in reserves and scenario ranges. Local service businesses (home services, clinics, studios) can use it to plan staffing and seasonality, especially when demand fluctuates and labor costs move fast. Professional services firms benefit when utilization and pipeline uncertainty make annual plans fragile; the prompt helps translate goals into capacity and spend categories with clear assumptions. Light manufacturing and product businesses often need tighter buffers due to supplier pricing and financing costs, and this prompt pushes that into explicit safety net decisions."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a small business budget produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a budget for my small business” fails because it: lacks your historical performance signals (so it can’t spot cost concentrations or margin pressure), provides no structured process (so it jumps to numbers without a pre-analysis), ignores macro and industry conditions (so financing and demand shifts don’t show up in allocations), produces generic category splits instead of percentage ranges with rationales, and misses explicit assumptions (so you can’t tell what’s real versus what the model guessed). This prompt is stronger because it forces diagnosis, pressure testing, and decision-ready outputs, not just a template."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this small business budget prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but customization happens through what you paste in as context, since the prompt itself has no variables. Include your last 12 months of revenue and major expenses, your goals (for example: “hire 2 techs by May” or “launch subscription by Q3”), and your risk posture (how much volatility you can tolerate). Add external conditions you’re experiencing, like supplier increases, local demand shifts, or borrowing costs. After the first output, use a follow-up prompt like: “Rebuild the plan assuming revenue is 15% lower than expected for two quarters, and show what categories you would cut, what you would protect, and how reserves change.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this small business budget prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is providing no historical baseline — instead of “We did fine last year,” use “2025 revenue was $1.2M, gross margin averaged 48%, payroll was 22% of revenue, marketing was 9%, with a slow season in Jan–Feb.” Another common error is vague goals; “grow the business” is weak, while “increase recurring revenue from 10% to 25% by Q4” gives the budget something to translate into categories and timing. People also omit risk posture, which leads to mismatched reserves; “I’m okay with risk” is fuzzy compared to “I need 2 months of payroll protected at all times.” Finally, skipping macro conditions (rates, labor market, pricing pressure) causes allocations that look clean on paper but fail in real life."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this small business budget prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for tax, legal, or regulatory compliance planning, since it explicitly avoids those areas. It’s also a poor fit if your books are not reliable enough to summarize last year at all; you will get better results by cleaning up your bookkeeping first, then running the prompt. And if you only want a quick fill-in-the-blank template with no analysis, the structured diagnosis and pressure test may feel like extra work. In those cases, start simpler, then come back once you’re ready to make decisions with real tradeoffs."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>A budget should tell you what to do when things go right, and what to do when they don’t. Paste this prompt into ChatGPT, add your real numbers and constraints, and walk away with a plan you can run month after month.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001753.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Create Product Concept Lineups with this AI Prompt</title>
		<link>https://flowpast.com/prompts/create-product-concept-lineups-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:51:39 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001752</guid>

					<description><![CDATA[Stuck on what to launch next - use this AI Prompt to generate on-brand product concepts with trends, differentiation, and feasibility. Explore thousands of AI prompts by function and industry.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: product concept lineups -->

<div class="hook-introduction">

<p>You know you need a new product. But your brainstorms keep circling the same three ideas, and none of them feel “right” for your brand or your customers. Worse, you risk shipping something trendy that doesn’t fit your lineup, or something on-brand that nobody actually wants.</p>



<p>This <strong>product concept lineups</strong> AI prompt is built for <strong>brand managers</strong> trying to plan the next 2–4 launches without diluting positioning, <strong>e-commerce operators</strong> who need SKU-ready ideas that complement what already sells, and <strong>consultants</strong> who must present differentiated concepts clients can greenlight. The output is a structured lineup of distinct, feasible product concepts with customer insights, trend drivers, lineup gaps, and clear differentiation angles.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It summarizes your company context first and flags missing inputs with up to three targeted questions.</li>
          <li>It extracts a customer snapshot with 3–6 concrete insights, including triggers, constraints, and usage context.</li>
          <li>It runs a trend scan of 4–7 demand drivers and explains why each matters for your audience.</li>
          <li>It maps lineup gaps by comparing your current products to unmet needs and “whitespace” opportunities.</li>
          <li>It generates differentiated product concepts that stay implementable and aligned to your stated brand voice or tone.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are planning the next season’s roadmap and you need more than a mood-board of “cool ideas.”</li>
          <li>Your current lineup is selling, but growth is flattening and the catalog has obvious holes.</li>
          <li>You have to choose between several directions (premiumization, refill/subscription, bundles), and the team is stuck.</li>
          <li>A competitor just launched a similar product, so you need fresh differentiation that isn’t a race to the bottom.</li>
          <li>You’re scaling into new channels or segments and want concepts that complement existing bestsellers, not cannibalize them.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A multi-concept product lineup with distinct ideas you can shortlist in a single review.</li>
           <li>A 3–6 point “Customer Snapshot” section with pains, desires, and purchase triggers.</li>
           <li>A 4–7 item “Trend Scan” list tied directly to your audience and category context.</li>
           <li>A lineup gap map that states what you cover today and where whitespace exists.</li>
           <li>Concept positioning details that clarify differentiation, feasibility, and brand fit for each idea.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Product Concept Lineup Generator</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[COMPANY_NAME]</code></td>
                                <td class="var-desc">
                                    Enter the full name of the business or organization for which the product concepts are being generated.                                    <div class="var-example">For example: "GreenTech Solutions Inc."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[COMPANY_NAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BRAND_VOICE]</code></td>
                                <td class="var-desc">
                                    Describe the tone and style of communication the brand uses in its messaging, such as formal, friendly, or edgy.                                    <div class="var-example">For example: "Confident, eco-conscious, and approachable."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BRAND_VOICE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TONE]</code></td>
                                <td class="var-desc">
                                    Specify the tone or mood to be used in the writing, such as professional, playful, or inspirational.                                    <div class="var-example">For example: "Professional yet warm and inviting."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TONE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[NUMBER_OF_IDEAS]</code></td>
                                <td class="var-desc">
                                    Enter the total number of product concepts to generate during the ideation process.                                    <div class="var-example">For example: "5"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[NUMBER_OF_IDEAS]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CURRENT_PRODUCT_LINEUP]</code></td>
                                <td class="var-desc">
                                    Provide a summary or list of the products or services the company currently offers.                                    <div class="var-example">For example: "Reusable water bottles, collapsible food containers, and compost bins."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CURRENT_PRODUCT_LINEUP]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BRAND_VALUES_AND_MISSION]</code></td>
                                <td class="var-desc">
                                    Describe the core principles and purpose that guide the company, including its commitments and goals.                                    <div class="var-example">For example: "Promoting sustainability through innovative, eco-friendly everyday products."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BRAND_VALUES_AND_MISSION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRODUCT_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Summarize the business&#039;s key offerings, including what the products or services are and their primary features.                                    <div class="var-example">For example: "A line of premium, customizable furniture designed for small spaces."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRODUCT_DESCRIPTION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the primary customer segment, including demographics, needs, and purchasing behavior.                                    <div class="var-example">For example: "Millennial homeowners who value sustainable living and modern design."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TARGET_AUDIENCE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or niche the company operates in, such as technology, healthcare, or consumer goods.                                    <div class="var-example">For example: "Home organization and storage solutions."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    State the main objective the company wants to achieve through the new product concepts, such as increasing revenue or entering a new market.                                    <div class="var-example">For example: "Expand into eco-friendly travel accessories to grow market share."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Provide the financial constraints or range allocated for implementing the product ideas.                                    <div class="var-example">For example: "$50,000 - $100,000 for initial development and marketing."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[BUDGET]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Specify the timeline for launching or implementing the new product concepts.                                    <div class="var-example">For example: "6 months from ideation to market launch."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Describe any additional background information or situational details relevant to the ideation process.                                    <div class="var-example">For example: "The company is facing increased competition from cheaper alternatives and wants to differentiate through premium design and eco-friendly materials."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Pre-Analysis</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Audience + Market + Gap Notes</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">3) Product Concepts (repeat for each idea)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Generate a set of fresh, practical product concepts for **[COMPANY_NAME]** that fit its customers, complement what it already sells, reflect its purpose, and have clear market differentiation. Each concept must be positioned to improve buyer interest, revenue potential, and brand perception.

## PERSONA
You are an **innovation strategist and product ideation lead** with strengths in customer insight, trend scouting, and concept-to-market thinking. Write with crisp, business-friendly creativity: concrete, specific, and grounded in feasibility.

## CONSTRAINTS
- Every idea must be **distinct**, **implementable**, and **brand-consistent**.
- Incorporate **customer needs**, **current market movement**, and **existing lineup gaps**.
- Avoid vague concepts (“an app that helps…”) unless it includes a clear mechanism and feature set.
- Don’t assume regulated/medical claims, guaranteed outcomes, or proprietary tech unless provided in inputs.
- Keep language aligned to **[BRAND_VOICE]** and/or **[TONE]**.

### What This Is NOT
- Not a full business plan, investor deck, or full PRD.
- Not legal, medical, or regulatory advice.
- Not manufacturing sourcing, detailed cost modeling, or engineering schematics.

## PROCESS
1. **Pre-Analysis (state your understanding first):** Briefly summarize what you’re going to create for {Company} and what you’ll base it on (audience, trends, lineup, values). If anything is missing, list your assumptions or ask up to 3 targeted questions.
2. **Customer Snapshot:** Extract 3–6 key audience insights: pains, desires, habits, purchasing triggers, constraints (budget/time/skill), and context of use.
3. **Trend Scan:** Identify 4–7 relevant demand drivers (e.g., eco-forward materials, customization, AI assistance, convenience, wellness-adjacent, subscription/refill, community, premiumization). Tie each to why it matters for this audience.
4. **Lineup Gap Mapping:** Summarize what the current products cover, then call out whitespace opportunities (adjacent categories, add-ons, upgrades, bundles, new use-cases).
5. **Idea Generation:** Produce **[NUMBER_OF_IDEAS]** concepts. For each, include positioning, differentiation, and feasibility notes.
6. **Edge-Case Handling:** If **[CURRENT_PRODUCT_LINEUP]** or **[BRAND_VALUES_AND_MISSION]** is unclear, propose ideas in 2 tracks:  
   - Track A: conservative extensions to current offerings  
   - Track B: bolder adjacency plays  
   Label assumptions explicitly.

## INPUTS
- **Company / business name:** [COMPANY_NAME]  
- **Business description:** [PRODUCT_DESCRIPTION]  
- **Primary user segment:** [TARGET_AUDIENCE]  
- **Current product lineup:** [CURRENT_PRODUCT_LINEUP]  
- **Brand values + mission:** [BRAND_VALUES_AND_MISSION]  
- **Industry / niche:** [INDUSTRY]  
- **Primary goal (e.g., grow AOV, enter new category):** [PRIMARY_GOAL]  
- **Brand voice (optional):** [BRAND_VOICE]  
- **Tone (optional):** [TONE]  
- **Number of ideas to generate:** [NUMBER_OF_IDEAS]  
- **Budget or resource constraints (optional):** [BUDGET]  
- **Timeframe to launch (optional):** [TIMEFRAME]  
- **Extra context (optional):** [CONTEXT]

## OUTPUT SPECIFICATION
Return results in markdown.

### 1) Pre-Analysis
- {Understanding Summary}
- {Open Questions Or Assumptions}

### 2) Audience + Market + Gap Notes
- {Audience Insights}
- {Trend Drivers}
- {Lineup Gaps}

### 3) Product Concepts (repeat for each idea)
For each concept, provide:
- **{Product Name}**
- **{One-Line Pitch}** (single sentence)
- **{Concept Overview}** (2–4 sentences)
- **{Core Features}** (3–6 bullets)
- **{Audience Fit}** (why they’ll care; pains/desires addressed)
- **{Differentiation / USP}** (what makes it meaningfully different)
- **{Benefits}**  
  - {End User Benefits} (bullets)  
  - {Business Benefits} (bullets)
- **{Feasibility Notes}** (complexity, dependencies, production considerations, partners)
- **{Brand Alignment}** (explicit tie to values/mission)
- **{Success Metric Suggestion}** (e.g., conversion rate, retention, attach rate)

## QUALITY CHECKS
At the end, include a short validation list confirming:
- {Ideas Are Distinct And Non-Overlapping}
- {Each Idea Connects To Audience Pain Or Desire}
- {Clear Differentiation Versus Competitors/Substitutes}
- {Feasibility Considered Within Stated Constraints}
- {Alignment With Brand Values And Mission}            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nGenerate a set of fresh, practical product concepts for **[COMPANY_NAME]** that fit its customers, complement what it already sells, reflect its purpose, and have clear market differentiation. Each concept must be positioned to improve buyer interest, revenue potential, and brand perception.\r\n\r\n## PERSONA\r\nYou are an **innovation strategist and product ideation lead** with strengths in customer insight, trend scouting, and concept-to-market thinking. Write with crisp, business-friendly creativity: concrete, specific, and grounded in feasibility.\r\n\r\n## CONSTRAINTS\r\n- Every idea must be **distinct**, **implementable**, and **brand-consistent**.\r\n- Incorporate **customer needs**, **current market movement**, and **existing lineup gaps**.\r\n- Avoid vague concepts (\u201can app that helps\u2026\u201d) unless it includes a clear mechanism and feature set.\r\n- Don\u2019t assume regulated\/medical claims, guaranteed outcomes, or proprietary tech unless provided in inputs.\r\n- Keep language aligned to **[BRAND_VOICE]** and\/or **[TONE]**.\r\n\r\n### What This Is NOT\r\n- Not a full business plan, investor deck, or full PRD.\r\n- Not legal, medical, or regulatory advice.\r\n- Not manufacturing sourcing, detailed cost modeling, or engineering schematics.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis (state your understanding first):** Briefly summarize what you\u2019re going to create for {Company} and what you\u2019ll base it on (audience, trends, lineup, values). If anything is missing, list your assumptions or ask up to 3 targeted questions.\r\n2. **Customer Snapshot:** Extract 3\u20136 key audience insights: pains, desires, habits, purchasing triggers, constraints (budget\/time\/skill), and context of use.\r\n3. **Trend Scan:** Identify 4\u20137 relevant demand drivers (e.g., eco-forward materials, customization, AI assistance, convenience, wellness-adjacent, subscription\/refill, community, premiumization). Tie each to why it matters for this audience.\r\n4. **Lineup Gap Mapping:** Summarize what the current products cover, then call out whitespace opportunities (adjacent categories, add-ons, upgrades, bundles, new use-cases).\r\n5. **Idea Generation:** Produce **[NUMBER_OF_IDEAS]** concepts. For each, include positioning, differentiation, and feasibility notes.\r\n6. **Edge-Case Handling:** If **[CURRENT_PRODUCT_LINEUP]** or **[BRAND_VALUES_AND_MISSION]** is unclear, propose ideas in 2 tracks:  \r\n   - Track A: conservative extensions to current offerings  \r\n   - Track B: bolder adjacency plays  \r\n   Label assumptions explicitly.\r\n\r\n## INPUTS\r\n- **Company \/ business name:** [COMPANY_NAME]  \r\n- **Business description:** [PRODUCT_DESCRIPTION]  \r\n- **Primary user segment:** [TARGET_AUDIENCE]  \r\n- **Current product lineup:** [CURRENT_PRODUCT_LINEUP]  \r\n- **Brand values + mission:** [BRAND_VALUES_AND_MISSION]  \r\n- **Industry \/ niche:** [INDUSTRY]  \r\n- **Primary goal (e.g., grow AOV, enter new category):** [PRIMARY_GOAL]  \r\n- **Brand voice (optional):** [BRAND_VOICE]  \r\n- **Tone (optional):** [TONE]  \r\n- **Number of ideas to generate:** [NUMBER_OF_IDEAS]  \r\n- **Budget or resource constraints (optional):** [BUDGET]  \r\n- **Timeframe to launch (optional):** [TIMEFRAME]  \r\n- **Extra context (optional):** [CONTEXT]\r\n\r\n## OUTPUT SPECIFICATION\r\nReturn results in markdown.\r\n\r\n### 1) Pre-Analysis\r\n- {Understanding Summary}\r\n- {Open Questions Or Assumptions}\r\n\r\n### 2) Audience + Market + Gap Notes\r\n- {Audience Insights}\r\n- {Trend Drivers}\r\n- {Lineup Gaps}\r\n\r\n### 3) Product Concepts (repeat for each idea)\r\nFor each concept, provide:\r\n- **{Product Name}**\r\n- **{One-Line Pitch}** (single sentence)\r\n- **{Concept Overview}** (2\u20134 sentences)\r\n- **{Core Features}** (3\u20136 bullets)\r\n- **{Audience Fit}** (why they\u2019ll care; pains\/desires addressed)\r\n- **{Differentiation \/ USP}** (what makes it meaningfully different)\r\n- **{Benefits}**  \r\n  - {End User Benefits} (bullets)  \r\n  - {Business Benefits} (bullets)\r\n- **{Feasibility Notes}** (complexity, dependencies, production considerations, partners)\r\n- **{Brand Alignment}** (explicit tie to values\/mission)\r\n- **{Success Metric Suggestion}** (e.g., conversion rate, retention, attach rate)\r\n\r\n## QUALITY CHECKS\r\nAt the end, include a short validation list confirming:\r\n- {Ideas Are Distinct And Non-Overlapping}\r\n- {Each Idea Connects To Audience Pain Or Desire}\r\n- {Clear Differentiation Versus Competitors\/Substitutes}\r\n- {Feasibility Considered Within Stated Constraints}\r\n- {Alignment With Brand Values And Mission}";
    const variables = ["[COMPANY_NAME]","[BRAND_VOICE]","[TONE]","[NUMBER_OF_IDEAS]","[CURRENT_PRODUCT_LINEUP]","[BRAND_VALUES_AND_MISSION]","[PRODUCT_DESCRIPTION]","[TARGET_AUDIENCE]","[INDUSTRY]","[PRIMARY_GOAL]","[BUDGET]","[TIMEFRAME]","[CONTEXT]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Feed it your “current lineup” like an operator, not a brochure.</strong> Don’t paste a generic category list. Share 5–10 real SKUs or offers, your top sellers, your weakest performers, and what customers praise or complain about. If you’re short on space, add a quick note like: “Top 3 sell because of convenience; returns are driven by sizing confusion.”</li>


<li><strong>Lock the brand voice with do-and-don’t language.</strong> “Premium, minimal, no gimmicks” is helpful, but examples are better. Try a follow-up like: “Use short product names, avoid hype words like ‘revolutionary,’ and keep claims realistic (no ‘guaranteed results’).” You will get concepts that feel like they belong on your site.</li>


<li><strong>Give one hard feasibility constraint.</strong> The prompt is built to stay implementable, but it can still drift if you don’t set boundaries. Add a constraint such as “must ship under $50 retail,” “must be made from existing materials,” or “must work as a refill/subscription.” That single line often forces sharper differentiation.</li>


<li><strong>Iterate the shortlist, not the whole universe.</strong> After the first output, pick 2–3 concepts and ask: “Now expand concept 2 into three variations (budget, core, premium) and make concept 3 more brand-minimal.” You keep momentum while still exploring range.</li>


<li><strong>Pair concept generation with monetization logic.</strong> Once you have 3–5 strong concepts, pressure-test how they would be sold and priced. A clean next step is to run the best idea through a monetization prompt like <a href="https://flowpast.com/prompts/build-a-freemium-monetization-plan-with-this-ai-prompt/">Build a Freemium Monetization Plan with this AI Prompt</a> (useful for software or memberships) or map tiers with <a href="https://flowpast.com/prompts/build-a-5-tier-offer-ecosystem-with-this-ai-prompt/">Build a 5-Tier Offer Ecosystem with this AI Prompt</a>.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you’ve generated a shortlist of product concepts, these prompts help you package, monetize, and operationalize the best options.</p>



<p>If you also need to turn “new concept” into a clear set of tiers and upgrade paths, <a href="https://flowpast.com/prompts/build-a-5-tier-offer-ecosystem-with-this-ai-prompt/">Build a 5-Tier Offer Ecosystem with this AI Prompt</a> is a strong next step. It’s especially useful when your lineup needs separation between entry-level, core, and premium so concepts don’t compete with each other. Concept ideation finds the what; an offer ecosystem clarifies the how you sell it.</p>



<p>When your product concepts include a free plan, trial, or usage-based angle, you’ll want a tighter monetization narrative before you build. <a href="https://flowpast.com/prompts/build-a-freemium-monetization-plan-with-this-ai-prompt/">Build a Freemium Monetization Plan with this AI Prompt</a> helps you define what’s free, what’s paid, and which upgrade triggers match real customer behavior. That prevents “freemium” from becoming “free forever.”</p>



<p>For teams building software concepts (or features that require a model behind the scenes), execution details matter fast. <a href="https://flowpast.com/prompts/build-a-production-ml-prediction-api-with-this-ai-prompt/">Build a Production ML Prediction API with this AI Prompt</a> is useful when one of your concepts involves scoring, personalization, recommendations, or forecasting. It bridges the gap between a concept and something your engineers can sanity-check.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/build-a-5-tier-offer-ecosystem-with-this-ai-prompt/">Build a 5-Tier Offer Ecosystem with this AI Prompt</a>: Turn concepts into clear offer tiers.</li>


<li><a href="https://flowpast.com/prompts/build-a-freemium-monetization-plan-with-this-ai-prompt/">Build a Freemium Monetization Plan with this AI Prompt</a>: Define free vs paid and upgrades.</li>


<li><a href="https://flowpast.com/prompts/build-a-production-ml-prediction-api-with-this-ai-prompt/">Build a Production ML Prediction API with this AI Prompt</a>: Operationalize ML-backed product concepts.</li>


<li><a href="https://flowpast.com/prompts/build-safe-api-retry-logic-with-this-ai-prompt/">Build Safe API Retry Logic with this AI Prompt</a>: Reliability patterns for API-based ideas.</li>


<li><a href="https://flowpast.com/prompts/api-integration-audit-report-ai-prompt/">API Integration Audit Report AI Prompt</a>: Find gaps before integrating vendors.</li>

</ul>

</div>

<div class="faq-section">

<h2 class="wp-block-heading">Common Questions</h2>


<div class="faq-item">
<span class="question">Which roles benefit most from this product concept lineups AI prompt?</span>

<p class="answer"><strong>Product marketers</strong> use this to build launchable concept directions with real differentiation, not just feature lists. <strong>E-commerce managers</strong> rely on it to expand a catalog in a way that complements bestsellers and fills lineup gaps. <strong>Innovation leads</strong> use the customer snapshot and trend scan to guide internal workshops toward feasible bets. <strong>Brand strategists</strong> apply it when they need concepts that match a defined voice and purpose, so the next launch strengthens perception instead of confusing buyers.</p>

</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this product concept lineups AI prompt?</span>

<p class="answer"><strong>Consumer packaged goods (CPG)</strong> teams use it to propose line extensions, bundles, and refill concepts without drifting off-brand or making risky claims. <strong>Beauty and personal care</strong> brands apply it to map routines (before/after steps, travel sizes, sensitive-skin variants) and find whitespace that fits real usage habits. <strong>SaaS companies</strong> use it to generate feature-pack or plan concepts tied to demand drivers like automation, personalization, or convenience, then position them cleanly. <strong>Specialty retail</strong> operators lean on it to expand into adjacent categories while keeping the store’s point of view consistent.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for product concept generation produce weak results?</span>

<p class="answer">A typical prompt like “Write me product ideas for my business” fails because it: lacks a pre-analysis step to confirm assumptions and missing context, provides no structured customer snapshot (so ideas don’t match real triggers or constraints), ignores trend drivers that explain why a concept would win now, skips lineup gap mapping (leading to duplicates of what you already sell), and produces generic concepts instead of differentiated positioning with feasibility guardrails.</p>

</div>

<div class="faq-item">
<span class="question">Can I customize this product concept lineups prompt for my specific situation?</span>

<p class="answer">Yes. Replace COMPANY_NAME with your brand, then be explicit about your current lineup, your audience, and your brand voice or tone so the concepts stay consistent. If you want tighter outputs, add constraints like target price band, channel (Amazon vs DTC), or materials/tech limits, and state what you will not do (no subscriptions, no regulated claims, no new manufacturing partners). After you get the first set, ask a follow-up like: “Regenerate the lineup with more premium differentiation, and include one bundle concept and one subscription/refill concept, both feasible within our current operations.”</p>

</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this product concept lineups prompt?</span>

<p class="answer">The biggest mistake is leaving COMPANY_NAME context too vague — instead of “a wellness brand,” try “a DTC magnesium brand selling $35–$60 SKUs to 28–45 busy professionals who buy for sleep and stress.” Another common error is not defining BRAND_VOICE/TONE; “modern” is fuzzy, but “calm, science-respectful, no hype, short sentences” produces sharper naming and positioning. People also forget to describe the current lineup, so the prompt can’t map gaps; a quick list of top SKUs and what each is for is enough. Finally, teams ask for “innovative ideas” but give no feasibility bounds, so you should add guardrails like “must use existing suppliers” or “must ship in under 90 days.”</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this product concept lineups prompt?</span>

<p class="answer">This prompt isn’t ideal for teams that need a full business plan, detailed cost model, or engineering schematics, because it intentionally stops at concept and positioning. It’s also a poor fit if you have zero clarity on your current audience or offer, since the customer snapshot and lineup gap mapping require at least basic inputs. If you’re in a heavily regulated space and need compliant claims language, use a specialist compliance review process alongside concept ideation.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this product concept lineups AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Product marketers use this to build launchable concept directions with real differentiation, not just feature lists. E-commerce managers rely on it to expand a catalog in a way that complements bestsellers and fills lineup gaps. Innovation leads use the customer snapshot and trend scan to guide internal workshops toward feasible bets. Brand strategists apply it when they need concepts that match a defined voice and purpose, so the next launch strengthens perception instead of confusing buyers."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this product concept lineups AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Consumer packaged goods (CPG) teams use it to propose line extensions, bundles, and refill concepts without drifting off-brand or making risky claims. Beauty and personal care brands apply it to map routines (before/after steps, travel sizes, sensitive-skin variants) and find whitespace that fits real usage habits. SaaS companies use it to generate feature-pack or plan concepts tied to demand drivers like automation, personalization, or convenience, then position them cleanly. Specialty retail operators lean on it to expand into adjacent categories while keeping the store’s point of view consistent."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for product concept generation produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me product ideas for my business” fails because it: lacks a pre-analysis step to confirm assumptions and missing context, provides no structured customer snapshot (so ideas don’t match real triggers or constraints), ignores trend drivers that explain why a concept would win now, skips lineup gap mapping (leading to duplicates of what you already sell), and produces generic concepts instead of differentiated positioning with feasibility guardrails."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this product concept lineups prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Replace COMPANY_NAME with your brand, then be explicit about your current lineup, your audience, and your brand voice or tone so the concepts stay consistent. If you want tighter outputs, add constraints like target price band, channel (Amazon vs DTC), or materials/tech limits, and state what you will not do (no subscriptions, no regulated claims, no new manufacturing partners). After you get the first set, ask a follow-up like: “Regenerate the lineup with more premium differentiation, and include one bundle concept and one subscription/refill concept, both feasible within our current operations.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this product concept lineups prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving COMPANY_NAME context too vague — instead of “a wellness brand,” try “a DTC magnesium brand selling $35–$60 SKUs to 28–45 busy professionals who buy for sleep and stress.” Another common error is not defining BRAND_VOICE/TONE; “modern” is fuzzy, but “calm, science-respectful, no hype, short sentences” produces sharper naming and positioning. People also forget to describe the current lineup, so the prompt can’t map gaps; a quick list of top SKUs and what each is for is enough. Finally, teams ask for “innovative ideas” but give no feasibility bounds, so you should add guardrails like “must use existing suppliers” or “must ship in under 90 days.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this product concept lineups prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams that need a full business plan, detailed cost model, or engineering schematics, because it intentionally stops at concept and positioning. It’s also a poor fit if you have zero clarity on your current audience or offer, since the customer snapshot and lineup gap mapping require at least basic inputs. If you’re in a heavily regulated space and need compliant claims language, use a specialist compliance review process alongside concept ideation."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Your next best product usually isn’t a lightning-bolt idea. It’s the result of tight inputs, clear constraints, and smart differentiation. Paste the prompt into ChatGPT, answer its questions honestly, and turn the strongest concepts into a real lineup you can ship.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001752.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Small Business Growth Playbook AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-small-business-growth-playbook-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:50:45 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001750</guid>

					<description><![CDATA[Revenue feels stuck - a proven AI Prompt that audits your business and delivers a lean growth playbook with channels, offers, and KPIs. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: small business growth playbook -->
<div class="hook-introduction">

<p>Growth advice is everywhere, but most of it falls apart the moment you try to apply it to a real small business with limited time, cash, and headcount. You end up with a messy list of “ideas,” no priorities, and no numbers to track. Then nothing changes.</p>



<p>This <strong>small business growth playbook</strong> is built for <strong>owners</strong> who feel revenue has plateaued and need a focused plan, <strong>marketing leads</strong> who are juggling channels without clear ROI, and <strong>consultants</strong> who must deliver a crisp, executive-ready blueprint for a client. The output is a lean growth playbook with a diagnosis, channel and offer recommendations, cost flags, measurable KPIs, and a tight “What This Is NOT” scope section.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It restates your business situation in 4–6 pre-analysis bullets to confirm the assignment and prevent “wrong problem” planning.</li>
          <li>It diagnoses your offers, traction, constraints, and bottlenecks, then proposes practical proxy metrics when exact numbers are missing.</li>
          <li>It translates market trends and competitor notes into opportunities, threats, and “white space” you can credibly pursue.</li>
          <li>It turns findings into prioritized, cost-conscious actions, and flags any higher-investment items explicitly instead of burying them.</li>
          <li>It ties each recommendation to “why it matters” plus a measurable outcome, so you can track progress without guessing.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You have consistent demand but revenue is flat, and you need to pick the next growth lever without betting the business.</li>
          <li>Your marketing feels busy while pipeline quality is unpredictable, and attribution is too fuzzy to make confident decisions.</li>
          <li>You are considering new channels, partnerships, or packaging changes, but you want a structured way to evaluate tradeoffs.</li>
          <li>Competitors are outranking you or undercutting you, and you need a clear positioning response in days, not weeks.</li>
          <li>You are about to hire, invest in tools, or expand capacity and want a plan that fits your operating realities.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A structured growth blueprint with a pre-analysis summary, assumptions, and 2–4 clarifying questions (only if needed).</li>
           <li>A current-state diagnosis covering positioning, core offers, traction, constraints, and the most important operating realities.</li>
           <li>A competitor and market landscape section with white-space opportunities and practical implications for your next moves.</li>
           <li>A prioritized action plan that calls out low/moderate cost plays and clearly flags any higher-investment recommendations.</li>
           <li>A KPI set with measurable outcomes for each recommendation, plus a “What This Is NOT” scope guardrail.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Small Business Growth Playbook Builder</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[CURRENT_MARKET_TRENDS]</code></td>
                                <td class="var-desc">
                                    Summarize key trends in the market or industry that the business operates in, including shifts in customer preferences, technology adoption, or competitive dynamics.                                    <div class="var-example">For example: "Increased demand for eco-friendly packaging among e-commerce businesses, rising adoption of AI-driven customer support tools, and growing competition from direct-to-consumer brands."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CURRENT_MARKET_TRENDS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[COMPETITOR_INFORMATION]</code></td>
                                <td class="var-desc">
                                    Provide detailed information about key competitors, including their strengths, weaknesses, market positioning, and any notable strategies or tactics they employ.                                    <div class="var-example">For example: "Competitor A focuses on low-cost solutions with strong customer service, while Competitor B targets premium clients with high-end customization options and aggressive digital marketing campaigns."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[COMPETITOR_INFORMATION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[FINANCIAL_STATUS_AND_BUDGET]</code></td>
                                <td class="var-desc">
                                    Outline the business&#039;s current financial health, including revenue, profit margins, and available budget for growth initiatives.                                    <div class="var-example">For example: "Annual revenue of $500,000 with a 15% profit margin; a $20,000 budget allocated for marketing and operational improvements in the next quarter."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[FINANCIAL_STATUS_AND_BUDGET]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUSINESS_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Describe the business, including its mission, core offerings, target audience, and unique value proposition.                                    <div class="var-example">For example: "A boutique fitness studio offering personalized training and yoga classes for busy professionals, emphasizing convenience, community, and expert coaching."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BUSINESS_DESCRIPTION]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CUSTOMER_DEMOGRAPHICS]</code></td>
                                <td class="var-desc">
                                    Provide details about the business&#039;s primary customers, including their age, gender, location, income level, and any relevant behavioral or psychographic traits.                                    <div class="var-example">For example: "Primarily women aged 25-40 in urban areas, earning $50,000-$80,000 annually, who value health, convenience, and premium experiences."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CUSTOMER_DEMOGRAPHICS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Enter any specific placeholder text or variable formatted in uppercase letters with underscores, as required by the prompt structure.                                    <div class="var-example">For example: "EXAMPLE_VARIABLE_PLACEHOLDER"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="prompt-header-visible subheader">1) Pre-Analysis (required)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Diagnose the business today</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">3) Market and competitive landscape</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">4) Growth plays (opportunity discovery)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">5) Operations upgrades</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">6) Marketing + sales system</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">7) Partnerships and network leverage</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">8) Financial view + budget</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">9) Execution plan + measurement</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">10) Risk and contingency</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge-case handling (required)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT (required)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Produce a practical growth blueprint for a small business by evaluating its current performance, market position, and operations, then translating findings into cost-conscious actions that increase revenue, efficiency, and visibility—aligned to the business’s resources and ideal recipient.

## PERSONA
You are a small-business growth strategist with strengths in go-to-market planning, competitive analysis, operations optimization, and partnership development. Communicate in a crisp, executive style that a business owner can act on immediately.

## CONSTRAINTS
- Recommendations must be feasible for a small business and grounded in the provided inputs.
- Prioritize low-to-moderate cost actions; clearly flag any higher-investment items.
- Tie every recommendation to a clear reason (“why it matters”) and a measurable outcome.
- If information is missing or unclear, state assumptions explicitly and provide 2–4 clarifying questions.
- Include a “What This Is NOT” subsection to keep scope tight.
- Follow the delivery standards and the deliverable structure exactly; use {Title Case} placeholders only where specified.

## PROCESS
### 1) Pre-Analysis (required)
- Briefly restate your understanding of the business and the assignment in 4–6 bullets.
- List assumptions you are making (if any).
- Ask essential clarifying questions (only if needed to avoid bad guidance).

### 2) Diagnose the business today
- Summarize mission/positioning, core offers, current traction, and constraints.
- Identify the most important operating realities (capacity, tools, team, bottlenecks).
- Extract any available performance indicators from inputs (or propose proxies).

### 3) Market and competitive landscape
- Translate [CURRENT_MARKET_TRENDS] into opportunities/threats.
- Map competitors from [COMPETITOR_INFORMATION] into: strengths, weaknesses, positioning, and likely strategy.
- Identify white space (underserved needs, neglected channels, pricing/packaging gaps, service gaps).

### 4) Growth plays (opportunity discovery)
Generate a shortlist of high-potential plays across:
- New segments/niches that match capabilities
- Offer expansion (adjacent services, bundles, subscription/retainer, premium tiers)
- Distribution/channel expansion (local, digital, referral, marketplaces, events)
- Tech enablement (automation, CRM, analytics, scheduling, payments, fulfillment)

For each play, include: expected impact, effort, cost range, and prerequisites.

### 5) Operations upgrades
- Recommend workflow/process improvements tied to the growth plays.
- Suggest specific tooling or system changes (only if justified), plus lightweight alternatives.

### 6) Marketing + sales system
- Propose messaging angles and a simple positioning statement.
- Build a funnel view: awareness → consideration → conversion → retention.
- Recommend retention and referral mechanics suitable for the customer profile.

### 7) Partnerships and network leverage
- Suggest partner types, selection criteria, and outreach approach.
- Include at least one co-marketing concept and one referral/affiliate structure.

### 8) Financial view + budget
- Provide a basic forecast model tied to assumptions (traffic/leads, conversion, AOV, repeat rate).
- Create a prioritized budget allocation that fits [FINANCIAL_STATUS_AND_BUDGET].
- Include a “minimum viable plan” if budget is tight.

### 9) Execution plan + measurement
- Build a phased roadmap with timelines (use a slightly varied cadence such as 0–3 weeks, 4–7 weeks, 2–4 months, 5–7 months).
- Define KPIs per phase and decision checkpoints.

### 10) Risk and contingency
- Identify key risks (market, execution, capacity, cash flow, channel dependency, reputational).
- Provide mitigation steps and fallback options.

### Edge-case handling (required)
If any input is incomplete, contradictory, or overly broad:
- Proceed using clearly labeled assumptions.
- Offer options (A/B/C) rather than a single prescriptive path.
- Highlight which missing data would most improve accuracy.

### What This Is NOT (required)
- Not legal, tax, or compliance advice.
- Not a guarantee of results or a full financial audit.
- Not a substitute for primary customer research (interviews/surveys) when data is absent.

## INPUTS
- **Business description:** [BUSINESS_DESCRIPTION]  
- **Current market trends:** [CURRENT_MARKET_TRENDS]  
- **Competitor information:** [COMPETITOR_INFORMATION]  
- **Customer demographics:** [CUSTOMER_DEMOGRAPHICS]  
- **Financial status and budget:** [FINANCIAL_STATUS_AND_BUDGET]  

## OUTPUT SPECIFICATION
Deliver a structured report with these sections and templates:

1. **Executive Snapshot**
   - {Business Summary}
   - {Top 3 Constraints}
   - {Top 5 Growth Levers}

2. **Current-State Assessment**
   - {Offer &amp; Positioning Notes}
   - {Customer Profile Insights}
   - {Baseline Metrics Available} (and {Proxy Metrics} if needed)

3. **Market &amp; Competitor Review**
   - {Key Trends}
   - {Competitor Map}
   - {Market Gaps Identified}

4. **Opportunity Portfolio (Prioritized)**
   For each opportunity, include:
   - {Opportunity Name}
   - {Target Segment}
   - {Rationale}
   - {Expected Impact}
   - {Effort Level}
   - {Estimated Cost Range}
   - {Dependencies}
   - {First 3 Steps}

5. **Operational Enhancement Plan**
   - {Process Improvements}
   - {Tooling Recommendations} (with {Low-Cost Alternative})

6. **Marketing &amp; Sales Plan**
   - {Positioning Statement}
   - {Channel Strategy}
   - {Funnel Improvements}
   - {Retention &amp; Referral Plan}

7. **Partnership Strategy**
   - {Ideal Partner Profiles}
   - {Outreach Plan}
   - {Co-Marketing Concepts}
   - {Referral Structure}

8. **Financial Model &amp; Budget**
   - {Forecast Assumptions}
   - {Simple Forecast Table}
   - {Budget Allocation}
   - {Minimum Viable Plan}

9. **Implementation Roadmap**
   - {Phase Timeline}
   - {Action Checklist}
   - {KPIs By Phase}
   - {Review Cadence}

10. **Risk Register &amp; Contingencies**
   - {Top Risks}
   - {Mitigations}
   - {Fallback Scenarios}

## QUALITY CHECKS
Before finalizing, verify:
- Recommendations are explicitly tied to inputs and do not rely on unstated facts.
- Every major suggestion includes cost/effort/impact and at least one KPI.
- Roadmap phases have clear owners implied (even if “Owner: Business”).
- Risks include concrete mitigations and a backup plan per high-severity item.
- Variable format compliance: user inputs use [UPPERCASE_WITH_UNDERSCORES]; output placeholders use {Title Case}.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nProduce a practical growth blueprint for a small business by evaluating its current performance, market position, and operations, then translating findings into cost-conscious actions that increase revenue, efficiency, and visibility\u2014aligned to the business\u2019s resources and ideal recipient.\r\n\r\n## PERSONA\r\nYou are a small-business growth strategist with strengths in go-to-market planning, competitive analysis, operations optimization, and partnership development. Communicate in a crisp, executive style that a business owner can act on immediately.\r\n\r\n## CONSTRAINTS\r\n- Recommendations must be feasible for a small business and grounded in the provided inputs.\r\n- Prioritize low-to-moderate cost actions; clearly flag any higher-investment items.\r\n- Tie every recommendation to a clear reason (\u201cwhy it matters\u201d) and a measurable outcome.\r\n- If information is missing or unclear, state assumptions explicitly and provide 2\u20134 clarifying questions.\r\n- Include a \u201cWhat This Is NOT\u201d subsection to keep scope tight.\r\n- Follow the delivery standards and the deliverable structure exactly; use {Title Case} placeholders only where specified.\r\n\r\n## PROCESS\r\n### 1) Pre-Analysis (required)\r\n- Briefly restate your understanding of the business and the assignment in 4\u20136 bullets.\r\n- List assumptions you are making (if any).\r\n- Ask essential clarifying questions (only if needed to avoid bad guidance).\r\n\r\n### 2) Diagnose the business today\r\n- Summarize mission\/positioning, core offers, current traction, and constraints.\r\n- Identify the most important operating realities (capacity, tools, team, bottlenecks).\r\n- Extract any available performance indicators from inputs (or propose proxies).\r\n\r\n### 3) Market and competitive landscape\r\n- Translate [CURRENT_MARKET_TRENDS] into opportunities\/threats.\r\n- Map competitors from [COMPETITOR_INFORMATION] into: strengths, weaknesses, positioning, and likely strategy.\r\n- Identify white space (underserved needs, neglected channels, pricing\/packaging gaps, service gaps).\r\n\r\n### 4) Growth plays (opportunity discovery)\r\nGenerate a shortlist of high-potential plays across:\r\n- New segments\/niches that match capabilities\r\n- Offer expansion (adjacent services, bundles, subscription\/retainer, premium tiers)\r\n- Distribution\/channel expansion (local, digital, referral, marketplaces, events)\r\n- Tech enablement (automation, CRM, analytics, scheduling, payments, fulfillment)\r\n\r\nFor each play, include: expected impact, effort, cost range, and prerequisites.\r\n\r\n### 5) Operations upgrades\r\n- Recommend workflow\/process improvements tied to the growth plays.\r\n- Suggest specific tooling or system changes (only if justified), plus lightweight alternatives.\r\n\r\n### 6) Marketing + sales system\r\n- Propose messaging angles and a simple positioning statement.\r\n- Build a funnel view: awareness \u2192 consideration \u2192 conversion \u2192 retention.\r\n- Recommend retention and referral mechanics suitable for the customer profile.\r\n\r\n### 7) Partnerships and network leverage\r\n- Suggest partner types, selection criteria, and outreach approach.\r\n- Include at least one co-marketing concept and one referral\/affiliate structure.\r\n\r\n### 8) Financial view + budget\r\n- Provide a basic forecast model tied to assumptions (traffic\/leads, conversion, AOV, repeat rate).\r\n- Create a prioritized budget allocation that fits [FINANCIAL_STATUS_AND_BUDGET].\r\n- Include a \u201cminimum viable plan\u201d if budget is tight.\r\n\r\n### 9) Execution plan + measurement\r\n- Build a phased roadmap with timelines (use a slightly varied cadence such as 0\u20133 weeks, 4\u20137 weeks, 2\u20134 months, 5\u20137 months).\r\n- Define KPIs per phase and decision checkpoints.\r\n\r\n### 10) Risk and contingency\r\n- Identify key risks (market, execution, capacity, cash flow, channel dependency, reputational).\r\n- Provide mitigation steps and fallback options.\r\n\r\n### Edge-case handling (required)\r\nIf any input is incomplete, contradictory, or overly broad:\r\n- Proceed using clearly labeled assumptions.\r\n- Offer options (A\/B\/C) rather than a single prescriptive path.\r\n- Highlight which missing data would most improve accuracy.\r\n\r\n### What This Is NOT (required)\r\n- Not legal, tax, or compliance advice.\r\n- Not a guarantee of results or a full financial audit.\r\n- Not a substitute for primary customer research (interviews\/surveys) when data is absent.\r\n\r\n## INPUTS\r\n- **Business description:** [BUSINESS_DESCRIPTION]  \r\n- **Current market trends:** [CURRENT_MARKET_TRENDS]  \r\n- **Competitor information:** [COMPETITOR_INFORMATION]  \r\n- **Customer demographics:** [CUSTOMER_DEMOGRAPHICS]  \r\n- **Financial status and budget:** [FINANCIAL_STATUS_AND_BUDGET]  \r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a structured report with these sections and templates:\r\n\r\n1. **Executive Snapshot**\r\n   - {Business Summary}\r\n   - {Top 3 Constraints}\r\n   - {Top 5 Growth Levers}\r\n\r\n2. **Current-State Assessment**\r\n   - {Offer & Positioning Notes}\r\n   - {Customer Profile Insights}\r\n   - {Baseline Metrics Available} (and {Proxy Metrics} if needed)\r\n\r\n3. **Market & Competitor Review**\r\n   - {Key Trends}\r\n   - {Competitor Map}\r\n   - {Market Gaps Identified}\r\n\r\n4. **Opportunity Portfolio (Prioritized)**\r\n   For each opportunity, include:\r\n   - {Opportunity Name}\r\n   - {Target Segment}\r\n   - {Rationale}\r\n   - {Expected Impact}\r\n   - {Effort Level}\r\n   - {Estimated Cost Range}\r\n   - {Dependencies}\r\n   - {First 3 Steps}\r\n\r\n5. **Operational Enhancement Plan**\r\n   - {Process Improvements}\r\n   - {Tooling Recommendations} (with {Low-Cost Alternative})\r\n\r\n6. **Marketing & Sales Plan**\r\n   - {Positioning Statement}\r\n   - {Channel Strategy}\r\n   - {Funnel Improvements}\r\n   - {Retention & Referral Plan}\r\n\r\n7. **Partnership Strategy**\r\n   - {Ideal Partner Profiles}\r\n   - {Outreach Plan}\r\n   - {Co-Marketing Concepts}\r\n   - {Referral Structure}\r\n\r\n8. **Financial Model & Budget**\r\n   - {Forecast Assumptions}\r\n   - {Simple Forecast Table}\r\n   - {Budget Allocation}\r\n   - {Minimum Viable Plan}\r\n\r\n9. **Implementation Roadmap**\r\n   - {Phase Timeline}\r\n   - {Action Checklist}\r\n   - {KPIs By Phase}\r\n   - {Review Cadence}\r\n\r\n10. **Risk Register & Contingencies**\r\n   - {Top Risks}\r\n   - {Mitigations}\r\n   - {Fallback Scenarios}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- Recommendations are explicitly tied to inputs and do not rely on unstated facts.\r\n- Every major suggestion includes cost\/effort\/impact and at least one KPI.\r\n- Roadmap phases have clear owners implied (even if \u201cOwner: Business\u201d).\r\n- Risks include concrete mitigations and a backup plan per high-severity item.\r\n- Variable format compliance: user inputs use [UPPERCASE_WITH_UNDERSCORES]; output placeholders use {Title Case}.";
    const variables = ["[CURRENT_MARKET_TRENDS]","[COMPETITOR_INFORMATION]","[FINANCIAL_STATUS_AND_BUDGET]","[BUSINESS_DESCRIPTION]","[CUSTOMER_DEMOGRAPHICS]","[UPPERCASE_WITH_UNDERSCORES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Bring real constraints, not generic goals.</strong> Don’t just say “grow revenue.” Add capacity limits (hours/week you can allocate, team roles, monthly budget range, lead times). If you want the plan to be usable, tell the model what is off-limits too, like “no paid ads for 60 days” or “no new hires this quarter.”</li>


<li><strong>Give a simple performance snapshot.</strong> Even rough numbers help the prompt produce stronger KPIs. Paste 6–10 lines like: “AOV: $85, gross margin: 62%, lead source split: 70% referrals/30% organic, close rate: ~18%, capacity: 25 orders/day.” Then ask: “Use proxies where needed, but state assumptions clearly.”</li>


<li><strong>Describe your competitors like a customer would.</strong> Instead of listing names only, add what they’re known for, their likely price band, and a couple of messaging angles. A quick note like “Competitor A dominates ‘same-day’ delivery keywords; Competitor B sells premium bundles; Competitor C wins on TikTok UGC” gives the competitive section real bite.</li>


<li><strong>Force prioritization after the first output.</strong> Once you get the playbook, follow up with: “Rank the top 7 actions by impact vs effort for a 30-day sprint, and rewrite each action as a single owner task with an acceptance criteria.” This turns strategy into work you can assign.</li>


<li><strong>Combine it with a focused SEO audit when organic is a key channel.</strong> If the playbook suggests content or search as a core lever, run a second pass using <a href="https://flowpast.com/prompts/create-an-seo-audit-report-with-this-ai-prompt/">Create an SEO Audit Report with this AI Prompt</a> and then ask: “Update the growth playbook’s KPIs and timelines based on the SEO audit’s highest-priority fixes.” Honestly, this is where the plan becomes much more measurable.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you’ve got a growth playbook, these prompts help you validate the SEO opportunities it surfaces and turn them into an execution-ready backlog.</p>



<p>If you also need a fast way to understand where search visibility is leaking, pair this playbook with <a href="https://flowpast.com/prompts/seo-swot-audit-for-any-website-ai-prompt/">SEO SWOT Audit for Any Website AI Prompt</a>. When your playbook recommends “invest in organic,” the SWOT output helps you explain the why to stakeholders and decide which battles to fight first (technical, content, or authority).</p>



<p>When the plan includes improving site accessibility and image-driven discovery, run <a href="https://flowpast.com/prompts/audit-website-image-alt-text-ai-prompt/">Audit Website Image Alt Text AI Prompt</a>. It’s especially useful for local businesses, e-commerce catalogs, and service sites with heavy portfolio pages, because it turns a vague “optimize on-page SEO” goal into clear, page-level fixes.</p>



<p>For teams doing multiple marketing activities at once, attribution becomes the silent killer of good decisions. If your playbook includes SEO plus email, partnerships, or paid tests, add <a href="https://flowpast.com/prompts/build-an-seo-attribution-funnel-audit-ai-prompt/">Build an SEO Attribution Funnel Audit AI Prompt</a> to map what should be tracked at each funnel stage so your KPIs are actually defensible.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/seo-swot-audit-for-any-website-ai-prompt/">SEO SWOT Audit for Any Website AI Prompt</a>: Spot strengths, gaps, and SEO threats.</li>


<li><a href="https://flowpast.com/prompts/audit-website-image-alt-text-ai-prompt/">Audit Website Image Alt Text AI Prompt</a>: Fix missing or weak alt text.</li>


<li><a href="https://flowpast.com/prompts/create-an-seo-audit-report-with-this-ai-prompt/">Create an SEO Audit Report with this AI Prompt</a>: Generate a prioritized SEO audit report.</li>


<li><a href="https://flowpast.com/prompts/build-an-seo-attribution-funnel-audit-ai-prompt/">Build an SEO Attribution Funnel Audit AI Prompt</a>: Audit tracking across the SEO funnel.</li>

<li><a href="https://flowpast.com/prompts/seo-content-audit-scorecard-ai-prompt/">SEO Content Audit Scorecard AI Prompt</a>: Score content and decide what to update.</li>

</ul>
<!-- /wp:post-content -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this small business growth playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Small business owners</strong> use this to turn a messy mix of ideas into a prioritized plan with KPIs and cost flags they can actually follow. <strong>General managers and operators</strong> benefit because the prompt forces “operating realities” into the plan (capacity, tools, bottlenecks), not just marketing tactics. <strong>Marketing managers</strong> get clarity on which channels to focus on and what measurable outcomes to attach to each initiative. <strong>Consultants</strong> use the pre-analysis, assumptions, and “What This Is NOT” sections to deliver a tight, executive-style client artifact with clear scope.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this small business growth playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Local services</strong> (home services, clinics, specialty practices) get value because the playbook can connect positioning and capacity constraints to practical visibility actions like partnerships and local search, with KPIs tied to calls, booked appointments, or quote requests. <strong>E-commerce brands</strong> use it to diagnose offer structure and traction, then translate competitor moves into pricing/packaging tests and retention actions, measured with AOV, repeat rate, and contribution margin. <strong>B2B professional services</strong> benefit when they need to tighten their niche, add a clearer offer ladder, and set KPIs around qualified leads, consult-to-proposal rate, and sales cycle length. <strong>Early-stage SaaS</strong> can apply it to align go-to-market constraints with a realistic channel mix, then measure progress with activation, conversion, and pipeline quality rather than vanity traffic.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a small business growth playbook produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a growth plan for my small business” fails because it: lacks your constraints (budget, capacity, timelines), provides no required structure (pre-analysis, assumptions, clarifying questions, scope limits), ignores competitive and market inputs that shape what is realistic, produces generic tactics instead of cost-conscious prioritized actions, and misses measurable outcomes so you can’t track whether the plan worked. This prompt is designed to force “why it matters” plus KPIs for every recommendation, which is where most vague plans collapse.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this small business growth playbook prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. The easiest way is to paste the prompt and then add a short input section before it with your business snapshot: core offers, price points, rough monthly revenue range, capacity constraints, and any non-negotiables like “no paid ads” or “must maintain premium pricing.” If you have market notes, include them as CURRENT_MARKET_TRENDS and COMPETITOR_INFORMATION, even if they are informal bullets. A strong follow-up request is: “Ask me only the 3 most essential clarifying questions, then produce two versions of the action plan: 30-day quick wins and a 90-day build plan, each with KPIs and owners.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this small business growth playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving CURRENT_MARKET_TRENDS too vague — instead of “market is competitive,” try “customers are trading down, short-form video is driving discovery, and same-day fulfillment is becoming table stakes in our area.” Another common error is weak COMPETITOR_INFORMATION; “we compete with Amazon” is not useful, but “Competitor X wins on bundles, Competitor Y wins on local SEO, Competitor Z wins on price and fast shipping” gives the prompt something to map. People also skip constraints, which leads to unrealistic recommendations; “we can invest in anything” becomes a fantasy plan, so specify a budget range and team availability. Finally, they don’t provide any performance indicators or proxies, so KPIs become generic; even rough inputs like lead volume, close rate, or order capacity makes the output far more actionable.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this small business growth playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for one-off tasks where you just need copy or a single campaign idea, because it’s built to produce a full blueprint and assumptions. It’s also a poor fit if you have not validated your core offer at all and cannot describe customers, pricing, or traction in any meaningful way. And if your team wants a plug-and-play template with no iteration, you may find the clarifying questions and diagnostic sections “too strategic.” In those cases, start by collecting basic customer and offer data first, then come back to generate a tighter plan.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this small business growth playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Small business owners use this to turn a messy mix of ideas into a prioritized plan with KPIs and cost flags they can actually follow. General managers and operators benefit because the prompt forces “operating realities” into the plan (capacity, tools, bottlenecks), not just marketing tactics. Marketing managers get clarity on which channels to focus on and what measurable outcomes to attach to each initiative. Consultants use the pre-analysis, assumptions, and “What This Is NOT” sections to deliver a tight, executive-style client artifact with clear scope."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this small business growth playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Local services (home services, clinics, specialty practices) get value because the playbook can connect positioning and capacity constraints to practical visibility actions like partnerships and local search, with KPIs tied to calls, booked appointments, or quote requests. E-commerce brands use it to diagnose offer structure and traction, then translate competitor moves into pricing/packaging tests and retention actions, measured with AOV, repeat rate, and contribution margin. B2B professional services benefit when they need to tighten their niche, add a clearer offer ladder, and set KPIs around qualified leads, consult-to-proposal rate, and sales cycle length. Early-stage SaaS can apply it to align go-to-market constraints with a realistic channel mix, then measure progress with activation, conversion, and pipeline quality rather than vanity traffic."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a small business growth playbook produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a growth plan for my small business” fails because it: lacks your constraints (budget, capacity, timelines), provides no required structure (pre-analysis, assumptions, clarifying questions, scope limits), ignores competitive and market inputs that shape what is realistic, produces generic tactics instead of cost-conscious prioritized actions, and misses measurable outcomes so you can’t track whether the plan worked. This prompt is designed to force “why it matters” plus KPIs for every recommendation, which is where most vague plans collapse."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this small business growth playbook prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The easiest way is to paste the prompt and then add a short input section before it with your business snapshot: core offers, price points, rough monthly revenue range, capacity constraints, and any non-negotiables like “no paid ads” or “must maintain premium pricing.” If you have market notes, include them as CURRENT_MARKET_TRENDS and COMPETITOR_INFORMATION, even if they are informal bullets. A strong follow-up request is: “Ask me only the 3 most essential clarifying questions, then produce two versions of the action plan: 30-day quick wins and a 90-day build plan, each with KPIs and owners.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this small business growth playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving CURRENT_MARKET_TRENDS too vague — instead of “market is competitive,” try “customers are trading down, short-form video is driving discovery, and same-day fulfillment is becoming table stakes in our area.” Another common error is weak COMPETITOR_INFORMATION; “we compete with Amazon” is not useful, but “Competitor X wins on bundles, Competitor Y wins on local SEO, Competitor Z wins on price and fast shipping” gives the prompt something to map. People also skip constraints, which leads to unrealistic recommendations; “we can invest in anything” becomes a fantasy plan, so specify a budget range and team availability. Finally, they don’t provide any performance indicators or proxies, so KPIs become generic; even rough inputs like lead volume, close rate, or order capacity makes the output far more actionable."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this small business growth playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off tasks where you just need copy or a single campaign idea, because it’s built to produce a full blueprint and assumptions. It’s also a poor fit if you have not validated your core offer at all and cannot describe customers, pricing, or traction in any meaningful way. And if your team wants a plug-and-play template with no iteration, you may find the clarifying questions and diagnostic sections “too strategic.” In those cases, start by collecting basic customer and offer data first, then come back to generate a tighter plan."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>A plateau usually isn’t a motivation problem. It’s a planning problem. Paste this prompt into your AI tool, answer the clarifying questions honestly, and walk away with a growth playbook you can run this month.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001750.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build Layered API Rate Limits with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-layered-api-rate-limits-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:50:32 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001441</guid>

					<description><![CDATA[Scrapers overrun your API - the ultimate AI Prompt that designs layered rate limits with code, 429 handling, telemetry, tests, and rollout. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: API rate limits -->
<div class="hook-introduction">

<p>Your API works fine. Until it doesn’t. One scraper hits a single endpoint, retries aggressively, rotates IPs, and suddenly legit users are seeing timeouts, higher latency, and a flood of “why is this broken?” messages.</p>



<p>This <strong>API rate limits</strong> prompt is built for <strong>backend engineers</strong> who need a production-ready throttling plan without weeks of trial-and-error, <strong>platform leads</strong> trying to stop abusive traffic without punishing power users, and <strong>DevOps/SRE teams</strong> who must add visibility, alerts, and safe rollouts before the next surge. The output is a deployable blueprint: layered IP + identity controls, storage backend options, middleware-style code examples, 429 + Retry-After guidance, telemetry, tests, and a low-risk rollout checklist.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It models likely abuse paths (bursts, retry storms, credential stuffing, IP rotation) and converts them into concrete rate-limit rules.</li>
          <li>It designs layered throttling with at least two independent enforcement layers (IP-based plus identity-based), including guidance for unauthenticated traffic.</li>
          <li>It specifies scalable state storage patterns for counters and windows, from local memory to shared cache and distributed backends.</li>
          <li>It generates code-oriented, middleware-style examples that you can adapt to your stack, while keeping the core approach framework-agnostic.</li>
          <li>It defines operational visibility: logs, metrics, dashboards, alerts, and what signals to watch as attackers change tactics.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are seeing sudden 429s, timeouts, or elevated p95 latency during traffic spikes and you need protection without downtime.</li>
          <li>Scrapers are draining quota or inflating infra bills, especially on “list,” “search,” “export,” or “pricing” endpoints.</li>
          <li>You have authentication for some routes but also support public endpoints, and you need sane rules for both.</li>
          <li>Attackers are bypassing naive IP limits by rotating addresses, distributing requests, or abusing retry behavior.</li>
          <li>You are about to launch, get featured, or open an integration program, and you want guardrails before growth stress-tests you.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A layered rate-limit blueprint with at least 2 enforcement layers plus one fallback behavior for edge cases.</li>
           <li>Endpoint-by-endpoint policy suggestions (examples: burst vs sustained limits) with a short rationale for each.</li>
           <li>Ready-to-adapt middleware/pseudocode showing request keying, counter updates, and consistent limit evaluation.</li>
           <li>A 429 response contract including Retry-After guidance and client-safe error messaging that avoids leaking internals.</li>
           <li>A validation + rollout plan: test matrix, load simulation outline, and step-by-step staged deployment checklist.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Layered API Rate-Limiting Blueprint Generator</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[FORMAT]</code></td>
                                <td class="var-desc">
                                    Specify the format in which the deliverable should be presented, such as text, diagrams, or code snippets.                                    <div class="var-example">For example: "A markdown document with embedded code examples and architecture diagrams."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[FORMAT]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide background information about the API, including its purpose, typical usage patterns, and traffic characteristics.                                    <div class="var-example">For example: "A public API for a social media platform handling 10M daily active users with frequent data retrieval and posting operations."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Describe the industry or domain the API serves, as this can influence abuse patterns and rate-limiting strategies.                                    <div class="var-example">For example: "E-commerce platform with APIs for product search, inventory updates, and checkout processing."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Explain the main problem or threat the rate-limiting solution needs to address, such as traffic surges or targeted abuse.                                    <div class="var-example">For example: "Mitigating credential stuffing attacks and preventing unauthenticated scraping during flash sales events."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHALLENGE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Indicate the expected timeline for delivering the solution, including any milestones or deadlines.                                    <div class="var-example">For example: "Two months for full implementation, including testing and phased rollout."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT (Scope Boundaries)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge Case Handling</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a production-grade API rate-limiting blueprint and implementation guide that withstands traffic surges and active abuse. The deliverable must cover layered throttling (IP + identity), scalable state storage, safe client messaging, and operational visibility—without degrading legitimate user experience.

## PERSONA
Act as a seasoned API defense engineer who has designed anti-abuse controls for high-volume enterprise platforms. You prioritize attacker behavior modeling, adaptive controls, and practical implementations that survive real-world load and evasion tactics. Write with crisp, engineering-focused clarity.

## CONSTRAINTS
- Provide concrete, deployable patterns; avoid generic “secure your API” advice.
- Use multi-layer protection (at least two independent enforcement layers plus a fallback behavior).
- Include both IP-based and user/identity-based throttling, with guidance for unauthenticated traffic.
- Offer framework-agnostic concepts plus code-oriented middleware examples tailored to the stated stack.
- Recommend state backends appropriate to scale (local memory, shared cache, distributed options).
- 429 handling must include **Retry-After** and client-safe messaging that does not leak internals.
- Include logging, monitoring, and alerting plans aimed at discovering evolving abuse patterns.
- Address performance overhead and tuning.
- Include a validation plan (tests + load simulation) and a low-risk rollout plan.

### What This Is NOT (Scope Boundaries)
- Not a full WAF/CDN vendor selection report.
- Not a complete IAM/auth redesign (only cover identity signals needed for rate limiting).
- Not malware forensics or incident response playbooks beyond logging/alerting needed for throttling.
- Not compliance legal guidance; only technical measures mapped to stated requirements.

## PROCESS
1. **Pre-analysis (required):** Restate your understanding of the API scenario, likely abuse modes, and success criteria based on the provided inputs. List any assumptions.
2. **Threat-to-control mapping:** Translate the stated threats into specific throttles (burst, sustained, endpoint-sensitive, credential stuffing-style patterns, scraping heuristics).
3. **Layered design:** Specify at minimum:
   - Edge or gateway control (coarse limiting)
   - Application middleware control (fine-grained limiting)
   - A fallback/containment mode when dependencies fail (e.g., storage outage)
4. **Middleware build plan:** Provide implementation patterns for:
   - IP keying (including proxy/CDN header handling guidance)
   - User/identity keying (user ID, API key, session, device fingerprint where appropriate)
   - Combined keys (e.g., per-user-per-endpoint) and endpoint weighting
5. **State storage decisioning:** Recommend the backend(s) with clear thresholds for when to move from in-process to shared/distributed stores. Include setup notes.
6. **Client response behavior:** Define 429 structure, headers, and message templates that help clients recover without revealing architecture.
7. **Observability:** Define log schema, metrics, dashboards, and alert rules; include examples of queries/patterns to detect abuse evolution.
8. **Performance &amp; tuning:** List optimizations (hot paths, sampling, async logging, local caches, Lua/scripts if Redis, etc.).
9. **Validation:** Provide unit/integration tests, adversarial test cases, and load tests. Include acceptance criteria.
10. **Rollout:** Provide a staged deployment plan over **4–6 phases** with monitoring gates and rollback triggers.

### Edge Case Handling
- If any input is missing or ambiguous, ask targeted clarifying questions first. If the user requests immediate output anyway, proceed with reasonable defaults and clearly label them as assumptions.
- If the stack cannot support a recommended tactic, provide an alternative that preserves the same security intent.
- If strict limiting conflicts with performance constraints, propose adaptive limits and “grace” mechanisms for trusted clients.

## INPUTS
- **Application type:** [FORMAT]
- **Traffic profile (baseline + peak + spike shape):** [CONTEXT]
- **Technology stack (framework, runtime, infra, DB):** [INDUSTRY]
- **Security requirements (threats + compliance):** [CHALLENGE]
- **Performance constraints (latency/throughput SLOs):** [TIMEFRAME]

## OUTPUT SPECIFICATION
Use markdown headings and provide sections in this exact order:

1. **Rate Limiting Architecture**
   - {Threat Model Summary}
   - {Layered Controls Overview}
   - {Keying Strategy} (IP, user, combined, endpoint sensitivity)
   - {Adaptive Rules} (burst vs sustained, anomaly triggers)

2. **Middleware Implementation**
   - {Middleware Approach} (where it runs, how it’s composed)
   - {IP Throttle Example} (code-oriented pseudocode or stack-specific sample)
   - {User/Identity Throttle Example}
   - {Composite &amp; Endpoint-Weighted Limits}
   - {Failure Modes &amp; Fallback Behavior}

3. **State Storage &amp; Configuration**
   - {When In-Memory Is Acceptable}
   - {When Shared/Distributed Storage Is Required}
   - {Redis/Upstash-Style Setup Notes}
   - {Key Design, TTLs, Atomicity Notes}

4. **429 Responses &amp; Client Guidance**
   - {Response Schema}
   - {Retry-After Strategy}
   - {Safe Message Examples} (rewritten, non-revealing)
   - {Handling for Auth vs Unauth Clients}

5. **Logging, Monitoring, and Alerting**
   - {Log Fields &amp; Structure}
   - {Metrics to Emit}
   - {Dashboards}
   - {Alert Rules}
   - {Abuse Pattern Detection Examples}

6. **Performance Optimization**
   - {Hot Path Optimizations}
   - {Caching &amp; Sampling Guidance}
   - {Distributed Store Latency Mitigations}

7. **Testing &amp; Validation**
   - {Unit Tests}
   - {Integration Tests}
   - {Adversarial Scenarios}
   - {Load/Spike Tests}
   - {Pass/Fail Criteria}

8. **Deployment &amp; Gradual Rollout**
   - {Phase Plan}
   - {Monitoring Gates}
   - {Rollback Triggers}
   - {Post-Launch Tuning Loop}

## QUALITY CHECKS
Before finalizing, verify:
- The plan includes at least two enforcement layers plus a defined fallback mode.
- Both IP-based and identity-based throttles are implemented with clear key definitions.
- 429 handling includes Retry-After and client-safe wording that avoids leaking internals.
- Storage recommendations are tied to the provided traffic scale and performance constraints.
- Testing and rollout steps are actionable and include measurable acceptance criteria.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a production-grade API rate-limiting blueprint and implementation guide that withstands traffic surges and active abuse. The deliverable must cover layered throttling (IP + identity), scalable state storage, safe client messaging, and operational visibility\u2014without degrading legitimate user experience.\r\n\r\n## PERSONA\r\nAct as a seasoned API defense engineer who has designed anti-abuse controls for high-volume enterprise platforms. You prioritize attacker behavior modeling, adaptive controls, and practical implementations that survive real-world load and evasion tactics. Write with crisp, engineering-focused clarity.\r\n\r\n## CONSTRAINTS\r\n- Provide concrete, deployable patterns; avoid generic \u201csecure your API\u201d advice.\r\n- Use multi-layer protection (at least two independent enforcement layers plus a fallback behavior).\r\n- Include both IP-based and user\/identity-based throttling, with guidance for unauthenticated traffic.\r\n- Offer framework-agnostic concepts plus code-oriented middleware examples tailored to the stated stack.\r\n- Recommend state backends appropriate to scale (local memory, shared cache, distributed options).\r\n- 429 handling must include **Retry-After** and client-safe messaging that does not leak internals.\r\n- Include logging, monitoring, and alerting plans aimed at discovering evolving abuse patterns.\r\n- Address performance overhead and tuning.\r\n- Include a validation plan (tests + load simulation) and a low-risk rollout plan.\r\n\r\n### What This Is NOT (Scope Boundaries)\r\n- Not a full WAF\/CDN vendor selection report.\r\n- Not a complete IAM\/auth redesign (only cover identity signals needed for rate limiting).\r\n- Not malware forensics or incident response playbooks beyond logging\/alerting needed for throttling.\r\n- Not compliance legal guidance; only technical measures mapped to stated requirements.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Restate your understanding of the API scenario, likely abuse modes, and success criteria based on the provided inputs. List any assumptions.\r\n2. **Threat-to-control mapping:** Translate the stated threats into specific throttles (burst, sustained, endpoint-sensitive, credential stuffing-style patterns, scraping heuristics).\r\n3. **Layered design:** Specify at minimum:\r\n   - Edge or gateway control (coarse limiting)\r\n   - Application middleware control (fine-grained limiting)\r\n   - A fallback\/containment mode when dependencies fail (e.g., storage outage)\r\n4. **Middleware build plan:** Provide implementation patterns for:\r\n   - IP keying (including proxy\/CDN header handling guidance)\r\n   - User\/identity keying (user ID, API key, session, device fingerprint where appropriate)\r\n   - Combined keys (e.g., per-user-per-endpoint) and endpoint weighting\r\n5. **State storage decisioning:** Recommend the backend(s) with clear thresholds for when to move from in-process to shared\/distributed stores. Include setup notes.\r\n6. **Client response behavior:** Define 429 structure, headers, and message templates that help clients recover without revealing architecture.\r\n7. **Observability:** Define log schema, metrics, dashboards, and alert rules; include examples of queries\/patterns to detect abuse evolution.\r\n8. **Performance & tuning:** List optimizations (hot paths, sampling, async logging, local caches, Lua\/scripts if Redis, etc.).\r\n9. **Validation:** Provide unit\/integration tests, adversarial test cases, and load tests. Include acceptance criteria.\r\n10. **Rollout:** Provide a staged deployment plan over **4\u20136 phases** with monitoring gates and rollback triggers.\r\n\r\n### Edge Case Handling\r\n- If any input is missing or ambiguous, ask targeted clarifying questions first. If the user requests immediate output anyway, proceed with reasonable defaults and clearly label them as assumptions.\r\n- If the stack cannot support a recommended tactic, provide an alternative that preserves the same security intent.\r\n- If strict limiting conflicts with performance constraints, propose adaptive limits and \u201cgrace\u201d mechanisms for trusted clients.\r\n\r\n## INPUTS\r\n- **Application type:** [FORMAT]\r\n- **Traffic profile (baseline + peak + spike shape):** [CONTEXT]\r\n- **Technology stack (framework, runtime, infra, DB):** [INDUSTRY]\r\n- **Security requirements (threats + compliance):** [CHALLENGE]\r\n- **Performance constraints (latency\/throughput SLOs):** [TIMEFRAME]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse markdown headings and provide sections in this exact order:\r\n\r\n1. **Rate Limiting Architecture**\r\n   - {Threat Model Summary}\r\n   - {Layered Controls Overview}\r\n   - {Keying Strategy} (IP, user, combined, endpoint sensitivity)\r\n   - {Adaptive Rules} (burst vs sustained, anomaly triggers)\r\n\r\n2. **Middleware Implementation**\r\n   - {Middleware Approach} (where it runs, how it\u2019s composed)\r\n   - {IP Throttle Example} (code-oriented pseudocode or stack-specific sample)\r\n   - {User\/Identity Throttle Example}\r\n   - {Composite & Endpoint-Weighted Limits}\r\n   - {Failure Modes & Fallback Behavior}\r\n\r\n3. **State Storage & Configuration**\r\n   - {When In-Memory Is Acceptable}\r\n   - {When Shared\/Distributed Storage Is Required}\r\n   - {Redis\/Upstash-Style Setup Notes}\r\n   - {Key Design, TTLs, Atomicity Notes}\r\n\r\n4. **429 Responses & Client Guidance**\r\n   - {Response Schema}\r\n   - {Retry-After Strategy}\r\n   - {Safe Message Examples} (rewritten, non-revealing)\r\n   - {Handling for Auth vs Unauth Clients}\r\n\r\n5. **Logging, Monitoring, and Alerting**\r\n   - {Log Fields & Structure}\r\n   - {Metrics to Emit}\r\n   - {Dashboards}\r\n   - {Alert Rules}\r\n   - {Abuse Pattern Detection Examples}\r\n\r\n6. **Performance Optimization**\r\n   - {Hot Path Optimizations}\r\n   - {Caching & Sampling Guidance}\r\n   - {Distributed Store Latency Mitigations}\r\n\r\n7. **Testing & Validation**\r\n   - {Unit Tests}\r\n   - {Integration Tests}\r\n   - {Adversarial Scenarios}\r\n   - {Load\/Spike Tests}\r\n   - {Pass\/Fail Criteria}\r\n\r\n8. **Deployment & Gradual Rollout**\r\n   - {Phase Plan}\r\n   - {Monitoring Gates}\r\n   - {Rollback Triggers}\r\n   - {Post-Launch Tuning Loop}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The plan includes at least two enforcement layers plus a defined fallback mode.\r\n- Both IP-based and identity-based throttles are implemented with clear key definitions.\r\n- 429 handling includes Retry-After and client-safe wording that avoids leaking internals.\r\n- Storage recommendations are tied to the provided traffic scale and performance constraints.\r\n- Testing and rollout steps are actionable and include measurable acceptance criteria.";
    const variables = ["[FORMAT]","[CONTEXT]","[INDUSTRY]","[CHALLENGE]","[TIMEFRAME]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>List your “expensive endpoints” first.</strong> Give the AI a small table of routes with why they’re costly (DB fanout, third-party calls, exports). Example follow-up: “Here are 8 endpoints; mark which need burst limits vs sustained limits, and propose different windows for each.”</li>


<li><strong>Describe abusive traffic like a story.</strong> Add what you observed: user agents, referrers, IP ASNs, request patterns, retries, and peak RPS. Then ask: “Based on this pattern, what keys should we rate-limit on (IP, token, account, org, API key), and what evasions should we expect next?”</li>

<li><strong>Force explicit 429 contracts.</strong> Many teams forget the client experience. Ask the model to output the exact JSON body, headers (including Retry-After), and which fields are safe: “Write a 429 response spec for public endpoints vs authenticated endpoints; avoid revealing internal thresholds.”</li>


<li><strong>Iterate on tuning, not just rules.</strong> After the first pass, tighten it with a controlled prompt: “Now make option A more aggressive for anonymous traffic, but keep authenticated power users under 1% false positives. Explain the tradeoffs in 6 bullets.”</li>


<li><strong>Combine it with your observability reality.</strong> Tell it what you actually use (CloudWatch, Datadog, Grafana, ELK) and request concrete metric names and alert thresholds. A good follow-up: “Propose 10 metrics, 5 dashboards, and 6 alerts; include what each alert means and the likely next action.”</li>

</ul>
<!-- /wp:post-content -->
</div>

<div class="related-prompts-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Related Prompts</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once you’ve designed layered throttling, these related prompts help you operationalize the work across teams, process, and capacity.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you also need to standardize how engineering work moves from “incoming” to “done,” the maturity framework in <a href="https://flowpast.com/prompts/build-a-task-management-maturity-audit-with-this-ai-prompt/">Build a Task Management Maturity Audit with this AI Prompt</a> helps you spot bottlenecks that make rate-limit rollouts risky (unclear ownership, missing change windows, weak post-deploy checks). It pairs well when your problem isn’t only abuse, but slow execution and inconsistent follow-through.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For teams doing ongoing platform hardening, <a href="https://flowpast.com/prompts/build-an-adaptive-task-manager-blueprint-ai-prompt/">Build an Adaptive Task Manager Blueprint AI Prompt</a> is useful right after you generate your throttling blueprint. You can convert the rollout plan into a living system: recurring tuning tasks, dashboard reviews, and “attack pattern” retrospectives that don’t get forgotten.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When rate limits touch multiple groups (API, SRE, support, and sometimes sales), miscommunication becomes its own incident. <a href="https://flowpast.com/prompts/create-a-task-handoff-playbook-with-this-ai-prompt/">Create a Task Handoff Playbook with this AI Prompt</a> helps you define who owns policy changes, who handles customer escalations about 429s, and what needs to be documented before toggling stricter rules.</p>
<!-- /wp:paragraph -->

<br>

<!-- wp:paragraph -->
<p>Quick reference:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-task-management-maturity-audit-with-this-ai-prompt/">Build a Task Management Maturity Audit with this AI Prompt</a>: Diagnose process gaps blocking safe rollouts.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-an-adaptive-task-manager-blueprint-ai-prompt/">Build an Adaptive Task Manager Blueprint AI Prompt</a>: Turn the plan into recurring ops tasks.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-talent-management-blueprint-with-this-ai-prompt/">Build a Talent Management Blueprint with this AI Prompt</a>: Staff ownership for platform reliability work.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-an-inventory-management-blueprint-with-this-ai-prompt/">Build an Inventory Management Blueprint with this AI Prompt</a>: Improve tracking of “rate-limit dependencies” as assets.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/create-a-task-handoff-playbook-with-this-ai-prompt/">Create a Task Handoff Playbook with this AI Prompt</a>: Prevent drops during cross-team handoffs.</li>
<!-- /wp:list-item -->
</ul>
<!-- /wp:list -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this API rate limits AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Backend Engineers</strong> use it to turn vague “add rate limiting” tickets into a layered policy plus middleware implementation details. <strong>Platform/SRE Leads</strong> rely on it for telemetry, alerting, and low-risk rollout steps that reduce production surprises. <strong>API Product Managers</strong> get a clearer client experience spec (429 + Retry-After, safe messages) so integrations break less often. <strong>Security Engineers</strong> apply it to map attacker behaviors to controls and to plan adaptive tuning as abuse evolves.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this API rate limits AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>SaaS companies</strong> use it to protect multi-tenant APIs where one noisy customer (or leaked token) can degrade everyone’s experience. It helps separate per-account limits from per-IP limits and avoids punishing office NAT traffic. <strong>E-commerce and marketplaces</strong> apply it to deter scraping of pricing, inventory, and search results, especially around promotions when traffic surges are normal but abuse spikes too. <strong>Fintech and payments</strong> teams use it to tame login-related retry storms and to throttle sensitive endpoints without leaking thresholds to attackers. <strong>Media and data providers</strong> get value because content and datasets attract automated extraction, so layered identity + IP throttles plus monitoring are essential.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for designing API rate limits produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a rate limiting strategy for my API” fails because it: lacks attacker behavior modeling (bursting, IP rotation, retries) so the limits are easy to evade, provides no layered enforcement plan (IP plus identity plus fallback) and ends up as a single brittle rule, ignores state storage tradeoffs so it suggests patterns that break under load or across instances, produces generic 429 advice instead of a client-safe contract with Retry-After, and misses operational visibility so you cannot tune limits safely after launch.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this API rate limits prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. The fastest way is to add your stack (language, framework, gateway), your traffic shape (avg/peak RPS, burstiness), and a short list of endpoints with “cost” notes so the policy can vary by route. Include identity signals you already have (API key, user ID, org ID) and clarify what unauthenticated traffic looks like (public endpoints, onboarding, webhooks). Then ask a targeted follow-up like: “Rewrite the blueprint for Node/Express behind NGINX, with Redis counters, and propose per-endpoint limits for /search, /export, /login, and /webhook.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this API rate limits prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving your abuse scenario too vague — instead of “we get scraped,” provide “/search gets 300 RPS bursts for 2–3 minutes from rotating residential IPs, then a 10x retry spike on 5xx.” Another common error is not listing identity keys; “authenticated users” is weak compared to “rate-limit by org_id, then user_id, with API key as fallback.” People also forget to specify which endpoints are public vs authenticated, which leads to policies that block onboarding flows. Finally, teams often omit rollout constraints (feature flags, percentage rollout, shadow mode), so the plan is correct on paper but risky to deploy.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this API rate limits prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for teams looking for a copy-paste snippet with zero tuning, because rate limiting only works well when it reflects your routes, tenants, and traffic shape. It’s also not a fit if you cannot change application code or edge configuration at all; you may need a managed gateway/WAF approach instead. And if you haven’t identified your core identity signals (API keys, user IDs, org IDs), you’ll get a weaker plan until that foundation exists.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this API rate limits AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Backend Engineers use it to turn vague “add rate limiting” tickets into a layered policy plus middleware implementation details. Platform/SRE Leads rely on it for telemetry, alerting, and low-risk rollout steps that reduce production surprises. API Product Managers get a clearer client experience spec (429 + Retry-After, safe messages) so integrations break less often. Security Engineers apply it to map attacker behaviors to controls and to plan adaptive tuning as abuse evolves."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this API rate limits AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS companies use it to protect multi-tenant APIs where one noisy customer (or leaked token) can degrade everyone’s experience. It helps separate per-account limits from per-IP limits and avoids punishing office NAT traffic. E-commerce and marketplaces apply it to deter scraping of pricing, inventory, and search results, especially around promotions when traffic surges are normal but abuse spikes too. Fintech and payments teams use it to tame login-related retry storms and to throttle sensitive endpoints without leaking thresholds to attackers. Media and data providers get value because content and datasets attract automated extraction, so layered identity + IP throttles plus monitoring are essential."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for designing API rate limits produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a rate limiting strategy for my API” fails because it: lacks attacker behavior modeling (bursting, IP rotation, retries) so the limits are easy to evade, provides no layered enforcement plan (IP plus identity plus fallback) and ends up as a single brittle rule, ignores state storage tradeoffs so it suggests patterns that break under load or across instances, produces generic 429 advice instead of a client-safe contract with Retry-After, and misses operational visibility so you cannot tune limits safely after launch."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this API rate limits prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The fastest way is to add your stack (language, framework, gateway), your traffic shape (avg/peak RPS, burstiness), and a short list of endpoints with “cost” notes so the policy can vary by route. Include identity signals you already have (API key, user ID, org ID) and clarify what unauthenticated traffic looks like (public endpoints, onboarding, webhooks). Then ask a targeted follow-up like: “Rewrite the blueprint for Node/Express behind NGINX, with Redis counters, and propose per-endpoint limits for /search, /export, /login, and /webhook.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this API rate limits prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving your abuse scenario too vague — instead of “we get scraped,” provide “/search gets 300 RPS bursts for 2–3 minutes from rotating residential IPs, then a 10x retry spike on 5xx.” Another common error is not listing identity keys; “authenticated users” is weak compared to “rate-limit by org_id, then user_id, with API key as fallback.” People also forget to specify which endpoints are public vs authenticated, which leads to policies that block onboarding flows. Finally, teams often omit rollout constraints (feature flags, percentage rollout, shadow mode), so the plan is correct on paper but risky to deploy."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this API rate limits prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams looking for a copy-paste snippet with zero tuning, because rate limiting only works well when it reflects your routes, tenants, and traffic shape. It’s also not a fit if you cannot change application code or edge configuration at all; you may need a managed gateway/WAF approach instead. And if you haven’t identified your core identity signals (API keys, user IDs, org IDs), you’ll get a weaker plan until that foundation exists."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Abuse doesn’t wait for your roadmap. Use this prompt to design layered API rate limits you can actually deploy, observe, and tune, then paste it into your workflow and start hardening today.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001441.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build Token-Safe JWT Auth Blueprint AI Prompt</title>
		<link>https://flowpast.com/prompts/build-token-safe-jwt-auth-blueprint-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:49:32 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001440</guid>

					<description><![CDATA[Session hijacks keep happening - the ultimate AI Prompt that designs HTTP-only cookie JWT auth with CSRF defense, rotation, monitoring, and code. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: JWT auth blueprint -->

<div class="hook-introduction">

<p>Session hijacks keep happening because many “JWT setups” quietly put tokens where attackers love them: in browser storage, exposed to XSS, and copied into headers by hand. Then refresh logic gets bolted on later, cookie flags are wrong, and you end up with random logouts or (worse) long-lived stolen sessions. It’s messy, and it’s avoidable.</p>



<p>This <strong>JWT auth blueprint</strong> is built for <strong>backend engineers</strong> who need a cookie-based JWT model with sane rotation rules, <strong>security-minded tech leads</strong> cleaning up risky token handling before an audit or incident, and <strong>startup founders</strong> who want “secure by default” auth without breaking UX. The output is a production-ready blueprint: headers, cookie settings, endpoint flows, stack-specific code snippets, tests, and an incident response plan for suspected credential compromise.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It designs a cookie-based JWT session architecture where tokens are never accessible to JavaScript.</li>
          <li>It defines access and refresh lifetimes, rotation rules, and failure modes to keep logins smooth but predictable.</li>
          <li>It outputs concrete implementation details for headers, cookie flags, CORS behavior, and CSRF defenses.</li>
          <li>It produces stack-aligned code snippets based on your [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY] inputs.</li>
          <li>It adds monitoring, detection signals, and automated containment steps for suspected session theft or replay.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You currently store JWTs in localStorage or sessionStorage and want to remove that exposure without rewriting everything.</li>
          <li>Your app has “mysterious logouts” because refresh logic and cookie/CORS settings were patched together over time.</li>
          <li>You are adding a new SPA or mobile web frontend and need a consistent auth flow that won’t become a support nightmare.</li>
          <li>A security review flagged XSS risk, token theft, or missing CSRF protection in cookie-based sessions.</li>
          <li>You are scaling traffic and need monitoring and incident playbooks, not just an auth diagram in a slide deck.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A complete JWT cookie session blueprint with recommended token lifetimes and rotation policy.</li>
           <li>Endpoint-by-endpoint flow for login, silent refresh, logout, and “session invalid” handling.</li>
           <li>Stack-specific code snippets for [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY], including headers and cookie attributes.</li>
           <li>A CSRF defense package: chosen approach, configuration notes, and validation logic for protected routes.</li>
           <li>A monitoring and containment checklist with alert signals plus automated steps to quarantine suspicious sessions.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Token-Safe Cookie JWT Auth Blueprint</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[BACKEND_TECHNOLOGY]</code></td>
                                <td class="var-desc">
                                    Specify the backend programming language or framework used to build the server-side of the application.                                    <div class="var-example">For example: "Node.js with Express or Python with Django"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[BACKEND_TECHNOLOGY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[FRONTEND_TECHNOLOGY]</code></td>
                                <td class="var-desc">
                                    Specify the frontend framework or library used for building the user interface of the application.                                    <div class="var-example">For example: "React.js or Angular"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[FRONTEND_TECHNOLOGY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Enter a variable or input name formatted in uppercase letters with underscores separating words.                                    <div class="var-example">For example: "USER_SESSION_ID or ACCESS_TOKEN"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[APPLICATION_TYPE]</code></td>
                                <td class="var-desc">
                                    Describe the type of application being developed, including its purpose and target audience.                                    <div class="var-example">For example: "E-commerce web application for small businesses"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[APPLICATION_TYPE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CURRENT_SECURITY_LEVEL]</code></td>
                                <td class="var-desc">
                                    Provide details about the current security approach or mechanisms implemented in the application.                                    <div class="var-example">For example: "Using JWT stored in localStorage with basic CSRF protection"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CURRENT_SECURITY_LEVEL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Describe the specific authentication or security challenge the application is facing or trying to solve.                                    <div class="var-example">For example: "Preventing session hijacking while maintaining a seamless user experience"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHALLENGE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide any relevant background or situational details that impact the security architecture or implementation.                                    <div class="var-example">For example: "Application operates in a high-risk environment with frequent phishing attempts targeting users"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT (Scope Boundaries)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Security Architecture</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Cookie Implementation (HTTP-only)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">3) Session Management &amp; Silent Refresh</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">4) Middleware Design (Validation + User Context)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">5) Threat Detection &amp; Automated Response</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">6) Code Examples (Tailored)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">7) Security Testing Plan</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">8) Deployment Checklist</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Create a production-ready JWT authentication blueprint that removes all client-side token storage/handling, resists XSS/token theft/session hijacking, preserves a smooth login experience, and includes concrete implementation details (code, headers, settings, tests, and incident response).

## PERSONA
Act as a seasoned application-security architect who has built and reviewed real-world auth systems under active attack. Communicate in a pragmatic, engineering-first style: precise, skeptical of “best practice” platitudes, and focused on deployable patterns with clear tradeoffs.

## CONSTRAINTS
- Prioritize designs where tokens are never accessible to JavaScript (no localStorage/sessionStorage/in-memory token juggling in the browser).
- Use HTTP-only cookies as the primary transport/storage for session credentials.
- Provide stack-specific snippets aligned to [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY].
- Prefer actionable configuration over generic advice.
- Preserve UX: silent refresh, minimal re-logins, predictable failure modes.
- Include monitoring plus automated containment steps for suspected credential compromise.
- **Variable format compliance:** user-provided items must be in **[UPPERCASE_WITH_UNDERSCORES]**; any AI-filled template fields must use **{Title Case}**.

### What This Is NOT (Scope Boundaries)
- Not a full IAM/SSO vendor selection guide.
- Not a complete pentest report or formal threat model document.
- Not a substitute for legal/compliance requirements (PCI/HIPAA/etc.).
- Not an endorsement of putting access tokens in browser storage “with extra encryption.”

## PROCESS
1. **Pre-analysis (must output first):** Briefly restate your understanding of the app context and the likely threat paths, based on the provided inputs. List any assumptions.
2. **Architecture build-out:** Propose a cookie-based JWT session model (access + refresh or equivalent) with clear lifetimes and rotation rules.
3. **Implementation details:** Provide headers, cookie attributes, CORS/CSRF posture, and server routes/handlers needed for login, refresh, logout, and revocation.
4. **Middleware &amp; request flow:** Define how each request is authenticated, how user context is attached, and how failures are handled without leaking information.
5. **Threat response:** Describe detection signals (logs/metrics), alert thresholds, and automated actions (revoke, rotate, step-up auth, lockouts).
6. **Testing plan:** Give repeatable tests (unit/integration/e2e) and a small “attack simulation” checklist.
7. **Edge cases:** If inputs are incomplete or contradictory, ask targeted questions and provide a safe default path labeled as {Assumed Default}.
8. **Finish with validation:** Provide a short verification checklist (4–5 items).

## INPUTS
- **Application type:** [APPLICATION_TYPE]
- **Backend technology/framework:** [BACKEND_TECHNOLOGY]
- **Frontend technology/framework:** [FRONTEND_TECHNOLOGY]
- **Current JWT/security approach:** [CURRENT_SECURITY_LEVEL]
- **Specific security concerns/requirements:** [CHALLENGE]
- **Environment details (domains, hosting, reverse proxy, etc.):** [CONTEXT]

## OUTPUT SPECIFICATION
Use the following sections and include stack-specific code/config wherever possible:

### 1) Security Architecture
Provide:
- {Session Model} (e.g., “short-lived access token + rotating refresh token in HTTP-only cookie”)
- {Token Contents} (claims, issuer/audience, minimal PII guidance)
- {Lifetime Policy} (access TTL, refresh TTL, idle timeout, absolute timeout)
- {Rotation &amp; Revocation Strategy} (refresh rotation, reuse detection, server-side denylist/allowlist approach)
- {UX Behavior} (what the user experiences during refresh/expiry)

### 2) Cookie Implementation (HTTP-only)
Include:
- {Cookie Names} and purposes
- Exact cookie attributes: HttpOnly, Secure, SameSite, Path, Domain, Max-Age/Expires
- Required security headers (at minimum): CSP guidance, HSTS, X-Content-Type-Options, Referrer-Policy, Permissions-Policy
- CORS settings compatible with cookie auth
- CSRF strategy compatible with SameSite policy (double-submit, origin checks, CSRF token cookie pattern, etc.)

### 3) Session Management &amp; Silent Refresh
Include:
- {Auth Endpoints} (login/refresh/logout/me)
- {Refresh Flow} described as steps (server-centric; frontend should not touch tokens)
- Concurrency handling (multiple tabs, refresh storms)
- Logout semantics (server + client cookie clearing)
- Failure handling (when to force re-auth vs retry)

### 4) Middleware Design (Validation + User Context)
Include:
- {Middleware Responsibilities}
- Signature verification, issuer/audience checks, clock skew handling
- Attaching {User Context} to request
- Authorization hooks (roles/scopes) without overloading JWT
- Performance notes (caching keys/JWKS if applicable)

### 5) Threat Detection &amp; Automated Response
Include:
- What to log (auth events, refresh reuse, IP/UA changes, anomaly signals)
- {Detection Rules} (examples with thresholds)
- {Automated Actions} (revoke session family, require re-auth, notify user, rate limit, temporarily block)
- Guidance for compromised refresh token scenarios
- Safe error messaging patterns

### 6) Code Examples (Tailored)
Provide:
- {Backend Implementation Snippets} for [BACKEND_TECHNOLOGY]
- {Frontend Integration Notes} for [FRONTEND_TECHNOLOGY] (cookie-based requests, handling 401/419, retry pattern)
- {Configuration Snippets} (proxy/load balancer, environment variables, secure defaults)
- A minimal example for each: login handler, refresh handler, auth middleware, logout handler

### 7) Security Testing Plan
Include:
- Unit tests (token validation, expiry, rotation, CSRF checks)
- Integration tests (cookie attributes, CORS behavior, refresh rotation correctness)
- E2E tests (silent refresh, multi-tab, logout)
- “Adversary checks” (XSS attempt to read tokens, replay refresh, session fixation attempt)

### 8) Deployment Checklist
A step-by-step pre-production list including:
- Cookie flags verified in prod
- TLS/HSTS enabled and tested
- CSP in report-only then enforced
- Logging/alerts wired
- Key rotation/JWKS strategy confirmed
- Incident runbook basics (revocation, forced logout, secret rotation)

## QUALITY CHECKS
At the end, output a **Quality Validation Checklist** with 4–5 bullets confirming:
- No client-side token storage/reading is required
- Cookies and headers are correctly specified for the chosen stack
- CSRF protections are compatible with cookie-based auth
- Refresh rotation + compromise handling is explicitly covered
- Tests include at least one replay/reuse scenario and one XSS-driven verification attempt            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nCreate a production-ready JWT authentication blueprint that removes all client-side token storage\/handling, resists XSS\/token theft\/session hijacking, preserves a smooth login experience, and includes concrete implementation details (code, headers, settings, tests, and incident response).\r\n\r\n## PERSONA\r\nAct as a seasoned application-security architect who has built and reviewed real-world auth systems under active attack. Communicate in a pragmatic, engineering-first style: precise, skeptical of \u201cbest practice\u201d platitudes, and focused on deployable patterns with clear tradeoffs.\r\n\r\n## CONSTRAINTS\r\n- Prioritize designs where tokens are never accessible to JavaScript (no localStorage\/sessionStorage\/in-memory token juggling in the browser).\r\n- Use HTTP-only cookies as the primary transport\/storage for session credentials.\r\n- Provide stack-specific snippets aligned to [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY].\r\n- Prefer actionable configuration over generic advice.\r\n- Preserve UX: silent refresh, minimal re-logins, predictable failure modes.\r\n- Include monitoring plus automated containment steps for suspected credential compromise.\r\n- **Variable format compliance:** user-provided items must be in **[UPPERCASE_WITH_UNDERSCORES]**; any AI-filled template fields must use **{Title Case}**.\r\n\r\n### What This Is NOT (Scope Boundaries)\r\n- Not a full IAM\/SSO vendor selection guide.\r\n- Not a complete pentest report or formal threat model document.\r\n- Not a substitute for legal\/compliance requirements (PCI\/HIPAA\/etc.).\r\n- Not an endorsement of putting access tokens in browser storage \u201cwith extra encryption.\u201d\r\n\r\n## PROCESS\r\n1. **Pre-analysis (must output first):** Briefly restate your understanding of the app context and the likely threat paths, based on the provided inputs. List any assumptions.\r\n2. **Architecture build-out:** Propose a cookie-based JWT session model (access + refresh or equivalent) with clear lifetimes and rotation rules.\r\n3. **Implementation details:** Provide headers, cookie attributes, CORS\/CSRF posture, and server routes\/handlers needed for login, refresh, logout, and revocation.\r\n4. **Middleware & request flow:** Define how each request is authenticated, how user context is attached, and how failures are handled without leaking information.\r\n5. **Threat response:** Describe detection signals (logs\/metrics), alert thresholds, and automated actions (revoke, rotate, step-up auth, lockouts).\r\n6. **Testing plan:** Give repeatable tests (unit\/integration\/e2e) and a small \u201cattack simulation\u201d checklist.\r\n7. **Edge cases:** If inputs are incomplete or contradictory, ask targeted questions and provide a safe default path labeled as {Assumed Default}.\r\n8. **Finish with validation:** Provide a short verification checklist (4\u20135 items).\r\n\r\n## INPUTS\r\n- **Application type:** [APPLICATION_TYPE]\r\n- **Backend technology\/framework:** [BACKEND_TECHNOLOGY]\r\n- **Frontend technology\/framework:** [FRONTEND_TECHNOLOGY]\r\n- **Current JWT\/security approach:** [CURRENT_SECURITY_LEVEL]\r\n- **Specific security concerns\/requirements:** [CHALLENGE]\r\n- **Environment details (domains, hosting, reverse proxy, etc.):** [CONTEXT]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse the following sections and include stack-specific code\/config wherever possible:\r\n\r\n### 1) Security Architecture\r\nProvide:\r\n- {Session Model} (e.g., \u201cshort-lived access token + rotating refresh token in HTTP-only cookie\u201d)\r\n- {Token Contents} (claims, issuer\/audience, minimal PII guidance)\r\n- {Lifetime Policy} (access TTL, refresh TTL, idle timeout, absolute timeout)\r\n- {Rotation & Revocation Strategy} (refresh rotation, reuse detection, server-side denylist\/allowlist approach)\r\n- {UX Behavior} (what the user experiences during refresh\/expiry)\r\n\r\n### 2) Cookie Implementation (HTTP-only)\r\nInclude:\r\n- {Cookie Names} and purposes\r\n- Exact cookie attributes: HttpOnly, Secure, SameSite, Path, Domain, Max-Age\/Expires\r\n- Required security headers (at minimum): CSP guidance, HSTS, X-Content-Type-Options, Referrer-Policy, Permissions-Policy\r\n- CORS settings compatible with cookie auth\r\n- CSRF strategy compatible with SameSite policy (double-submit, origin checks, CSRF token cookie pattern, etc.)\r\n\r\n### 3) Session Management & Silent Refresh\r\nInclude:\r\n- {Auth Endpoints} (login\/refresh\/logout\/me)\r\n- {Refresh Flow} described as steps (server-centric; frontend should not touch tokens)\r\n- Concurrency handling (multiple tabs, refresh storms)\r\n- Logout semantics (server + client cookie clearing)\r\n- Failure handling (when to force re-auth vs retry)\r\n\r\n### 4) Middleware Design (Validation + User Context)\r\nInclude:\r\n- {Middleware Responsibilities}\r\n- Signature verification, issuer\/audience checks, clock skew handling\r\n- Attaching {User Context} to request\r\n- Authorization hooks (roles\/scopes) without overloading JWT\r\n- Performance notes (caching keys\/JWKS if applicable)\r\n\r\n### 5) Threat Detection & Automated Response\r\nInclude:\r\n- What to log (auth events, refresh reuse, IP\/UA changes, anomaly signals)\r\n- {Detection Rules} (examples with thresholds)\r\n- {Automated Actions} (revoke session family, require re-auth, notify user, rate limit, temporarily block)\r\n- Guidance for compromised refresh token scenarios\r\n- Safe error messaging patterns\r\n\r\n### 6) Code Examples (Tailored)\r\nProvide:\r\n- {Backend Implementation Snippets} for [BACKEND_TECHNOLOGY]\r\n- {Frontend Integration Notes} for [FRONTEND_TECHNOLOGY] (cookie-based requests, handling 401\/419, retry pattern)\r\n- {Configuration Snippets} (proxy\/load balancer, environment variables, secure defaults)\r\n- A minimal example for each: login handler, refresh handler, auth middleware, logout handler\r\n\r\n### 7) Security Testing Plan\r\nInclude:\r\n- Unit tests (token validation, expiry, rotation, CSRF checks)\r\n- Integration tests (cookie attributes, CORS behavior, refresh rotation correctness)\r\n- E2E tests (silent refresh, multi-tab, logout)\r\n- \u201cAdversary checks\u201d (XSS attempt to read tokens, replay refresh, session fixation attempt)\r\n\r\n### 8) Deployment Checklist\r\nA step-by-step pre-production list including:\r\n- Cookie flags verified in prod\r\n- TLS\/HSTS enabled and tested\r\n- CSP in report-only then enforced\r\n- Logging\/alerts wired\r\n- Key rotation\/JWKS strategy confirmed\r\n- Incident runbook basics (revocation, forced logout, secret rotation)\r\n\r\n## QUALITY CHECKS\r\nAt the end, output a **Quality Validation Checklist** with 4\u20135 bullets confirming:\r\n- No client-side token storage\/reading is required\r\n- Cookies and headers are correctly specified for the chosen stack\r\n- CSRF protections are compatible with cookie-based auth\r\n- Refresh rotation + compromise handling is explicitly covered\r\n- Tests include at least one replay\/reuse scenario and one XSS-driven verification attempt";
    const variables = ["[BACKEND_TECHNOLOGY]","[FRONTEND_TECHNOLOGY]","[UPPERCASE_WITH_UNDERSCORES]","[APPLICATION_TYPE]","[CURRENT_SECURITY_LEVEL]","[CHALLENGE]","[CONTEXT]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Be painfully specific about your app shape.</strong> Tell the AI if it’s a pure SPA, SSR + API, or a hybrid with multiple subdomains, because cookie scope and CORS rules change fast. Add details like “api.example.com + app.example.com” and whether you must support cross-site requests. If you don’t, you’ll get a generic design that breaks in production.</li>


<li><strong>Fill in [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY] with versions, not labels.</strong> “Node” is vague; “Node 20 + Express 4 behind Nginx” is useful. Same for frontend: “Next.js 14 App Router” or “React + Vite served from CloudFront.” Follow-up prompt: “Now rewrite the implementation section using Next.js route handlers and Express middleware.”</li>


<li><strong>Ask it to choose one CSRF pattern and defend it.</strong> Cookie auth forces the CSRF conversation, and hand-wavy answers are how teams ship gaps. Prompt: “Pick double-submit cookie or synchronizer token for my case, and include exact cookie names, validation steps, and how it behaves with same-site requests.”</li>


<li><strong>Iterate on lifetimes using your real risk tolerance.</strong> The first pass will be a reasonable default, but you can tune it for your user behavior and threat level. After the initial output, try: “Make access tokens 5 minutes, refresh 14 days with rotation; now explain the UX impact and how you’ll avoid surprise logouts.”</li>


<li><strong>Force the incident plan to be executable.</strong> Monitoring is only helpful if it turns into actions your team will actually run at 2 a.m. Ask: “Add detection rules for refresh token replay and impossible travel; include automated responses (session revoke, step-up auth) and what to log for later forensics.” Honestly, this is where most “auth guides” fall apart.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once your authentication blueprint is solid, these prompts help you remove performance and process drag that shows up during implementation and rollout:</p>



<p>If you also need to tighten the delivery pipeline around security work (reviews, QA, release coordination), <a href="https://flowpast.com/prompts/fix-workflow-bottlenecks-and-throughput-ai-prompt/">Fix Workflow Bottlenecks and Throughput AI Prompt</a> helps you map where tickets stall and what to change first. It pairs well when your auth project keeps slipping because approvals, handoffs, and “one more change” loops are uncontrolled.</p>



<p>For teams doing repeated auth-related fixes across services, <a href="https://flowpast.com/prompts/fix-workflow-bottlenecks-and-boost-throughput-ai-prompt/">Fix Workflow Bottlenecks and Boost Throughput AI Prompt</a> is useful right after you pick the target design. Use it to standardize execution: checklists, ownership, and a pragmatic cadence so the blueprint turns into merged code, not a forgotten doc.</p>



<p>When your main pain is day-to-day friction (slow code reviews, unclear definitions of done, environment drift), <a href="https://flowpast.com/prompts/fix-daily-workflow-bottlenecks-ai-prompt/">Fix Daily Workflow Bottlenecks AI Prompt</a> complements this JWT work nicely. You’ll feel it during auth refactors, because you’re touching sensitive endpoints and tests, and small inefficiencies multiply.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/fix-workflow-bottlenecks-and-throughput-ai-prompt/">Fix Workflow Bottlenecks and Throughput AI Prompt</a>: Find handoffs slowing important projects.</li>


<li><a href="https://flowpast.com/prompts/fix-workflow-bottlenecks-and-boost-throughput-ai-prompt/">Fix Workflow Bottlenecks and Boost Throughput AI Prompt</a>: Turn plans into repeatable delivery.</li>


<li><a href="https://flowpast.com/prompts/fix-daily-workflow-bottlenecks-ai-prompt/">Fix Daily Workflow Bottlenecks AI Prompt</a>: Remove everyday blockers during refactors.</li>


<li><a href="https://flowpast.com/prompts/diagnose-runtime-bottlenecks-and-fixes-ai-prompt/">Diagnose Runtime Bottlenecks and Fixes AI Prompt</a>: Spot performance issues after changes.</li>


<li><a href="https://flowpast.com/prompts/build-a-tailored-i-o-mastery-plan-ai-prompt/">Build a Tailored I O Mastery Plan AI Prompt</a>: Train skills for better execution.</li>

</ul>

</div>

<div class="faq-section">

<h2 class="wp-block-heading">Common Questions</h2>


<div class="faq-item">
<span class="question">Which roles benefit most from this JWT auth blueprint AI prompt?</span>

<p class="answer"><strong>Backend Engineers</strong> use it to implement cookie-based JWT sessions with correct flags, lifetimes, and rotation so tokens never touch JavaScript. <strong>Security Engineers</strong> lean on it to validate CSRF posture, refresh-token replay defenses, and logging/monitoring signals they can alert on. <strong>Tech Leads</strong> apply it to standardize auth across services and reduce “it works on my machine” security drift. <strong>Full-Stack Developers</strong> benefit because it bridges frontend constraints (CORS, cookie behavior) with server-side enforcement in one deployable plan.</p>

</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this JWT auth blueprint AI prompt?</span>

<p class="answer"><strong>SaaS companies</strong> get value because a single stolen session can expose multiple tenants, and cookie + rotation patterns help limit blast radius. This prompt also forces clarity on lifetimes and revocation, which matters when support teams handle account takeovers. <strong>E-commerce brands</strong> use it to reduce checkout fraud and protect customer accounts without adding constant re-logins that hurt conversions. <strong>Fintech and payments-adjacent apps</strong> benefit from the monitoring and containment steps, because incident response expectations are higher and “we’ll check logs later” is not good enough. <strong>Healthcare and patient portals</strong> apply it to tighten session handling and audit-friendly logging while still keeping the experience usable for non-technical patients.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for designing JWT authentication produce weak results?</span>

<p class="answer">A typical prompt like “Write me a JWT auth setup for my app” fails because it: lacks key context like subdomains, cross-site requests, and your actual tech stack, so cookie and CORS advice comes out wrong. It provides no enforceable structure for refresh rotation and replay detection, which is where many real attacks land. It ignores CSRF tradeoffs that appear the moment you use cookies, so you get insecure defaults or vague “enable CSRF.” It produces generic “store the token in localStorage” patterns instead of a design that keeps tokens out of JavaScript. And it usually misses monitoring plus containment steps, so you have no plan when sessions are being abused.</p>

</div>

<div class="faq-item">
<span class="question">Can I customize this JWT auth blueprint prompt for my specific situation?</span>

<p class="answer">Yes, but you need to feed it the right variables in the format it expects, especially [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY]. Add your domain model (single domain vs api/app subdomains), your login UX requirements (silent refresh, “remember me,” device limits), and any constraints like “must support third-party embedded widgets.” A good follow-up is: “Given [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY], output the exact cookie names, SameSite values, CORS settings, and the refresh endpoint pseudocode.” If you have an existing system, ask it to produce a migration plan in phases so you can ship safely.</p>

</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this JWT auth blueprint prompt?</span>

<p class="answer">The biggest mistake is leaving [BACKEND_TECHNOLOGY] too vague — instead of “Python,” try “Python 3.12 + FastAPI + Uvicorn behind Cloudflare.” Another common error is underspecifying [FRONTEND_TECHNOLOGY]; “React” is different from “Next.js with server actions,” and cookie behavior and routing matter. People also forget to describe their domain setup, which is how you end up with unusable SameSite/CORS guidance; “single origin https://app.example.com” is a good input, “we have a website” is not. Finally, teams skip UX requirements, so the model may choose lifetimes that cause constant logins; say “silent refresh required, tolerate re-login only after 14 days or password change.”</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this JWT auth blueprint prompt?</span>

<p class="answer">This prompt isn’t ideal for teams that need a full SSO/IAM vendor decision or enterprise federation design, because it is focused on deployable cookie-based JWT patterns, not product selection. It’s also a poor fit if you want a one-page quick template without iteration, since the best results come from clarifying your stack, domain model, and threat assumptions. And if you can’t use HTTP-only cookies at all (for example, a constrained client environment that forbids them), you will need a different approach. In those cases, start with a formal architecture review or a dedicated auth framework evaluation instead.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this JWT auth blueprint AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Backend Engineers use it to implement cookie-based JWT sessions with correct flags, lifetimes, and rotation so tokens never touch JavaScript. Security Engineers lean on it to validate CSRF posture, refresh-token replay defenses, and logging/monitoring signals they can alert on. Tech Leads apply it to standardize auth across services and reduce “it works on my machine” security drift. Full-Stack Developers benefit because it bridges frontend constraints (CORS, cookie behavior) with server-side enforcement in one deployable plan."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this JWT auth blueprint AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS companies get value because a single stolen session can expose multiple tenants, and cookie + rotation patterns help limit blast radius. This prompt also forces clarity on lifetimes and revocation, which matters when support teams handle account takeovers. E-commerce brands use it to reduce checkout fraud and protect customer accounts without adding constant re-logins that hurt conversions. Fintech and payments-adjacent apps benefit from the monitoring and containment steps, because incident response expectations are higher and “we’ll check logs later” is not good enough. Healthcare and patient portals apply it to tighten session handling and audit-friendly logging while still keeping the experience usable for non-technical patients."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for designing JWT authentication produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a JWT auth setup for my app” fails because it: lacks key context like subdomains, cross-site requests, and your actual tech stack, so cookie and CORS advice comes out wrong. It provides no enforceable structure for refresh rotation and replay detection, which is where many real attacks land. It ignores CSRF tradeoffs that appear the moment you use cookies, so you get insecure defaults or vague “enable CSRF.” It produces generic “store the token in localStorage” patterns instead of a design that keeps tokens out of JavaScript. And it usually misses monitoring plus containment steps, so you have no plan when sessions are being abused."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this JWT auth blueprint prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but you need to feed it the right variables in the format it expects, especially [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY]. Add your domain model (single domain vs api/app subdomains), your login UX requirements (silent refresh, “remember me,” device limits), and any constraints like “must support third-party embedded widgets.” A good follow-up is: “Given [BACKEND_TECHNOLOGY] and [FRONTEND_TECHNOLOGY], output the exact cookie names, SameSite values, CORS settings, and the refresh endpoint pseudocode.” If you have an existing system, ask it to produce a migration plan in phases so you can ship safely."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this JWT auth blueprint prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving [BACKEND_TECHNOLOGY] too vague — instead of “Python,” try “Python 3.12 + FastAPI + Uvicorn behind Cloudflare.” Another common error is underspecifying [FRONTEND_TECHNOLOGY]; “React” is different from “Next.js with server actions,” and cookie behavior and routing matter. People also forget to describe their domain setup, which is how you end up with unusable SameSite/CORS guidance; “single origin https://app.example.com” is a good input, “we have a website” is not. Finally, teams skip UX requirements, so the model may choose lifetimes that cause constant logins; say “silent refresh required, tolerate re-login only after 14 days or password change.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this JWT auth blueprint prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams that need a full SSO/IAM vendor decision or enterprise federation design, because it is focused on deployable cookie-based JWT patterns, not product selection. It’s also a poor fit if you want a one-page quick template without iteration, since the best results come from clarifying your stack, domain model, and threat assumptions. And if you can’t use HTTP-only cookies at all (for example, a constrained client environment that forbids them), you will need a different approach. In those cases, start with a formal architecture review or a dedicated auth framework evaluation instead."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Auth is one of those systems you only notice when it fails, and attackers notice it first. Use this prompt to get a token-safe, cookie-based JWT blueprint you can actually implement, then paste it into your AI tool and start tightening the real seams.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001440.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Packaging Compliance Playbook with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-packaging-compliance-playbook-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:49:22 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002887</guid>

					<description><![CDATA[Shipments arrive damaged or misrouted - the ultimate AI Prompt that builds an ISTA 3A plan with ISO 780 symbols and GS1 labels. Thousands of ready-to-use AI prompts for all models.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: packaging compliance playbook -->
<div class="hook-introduction">

<p>Damaged shipments don’t just cost you replacement units. They quietly drain margin through customer support time, chargebacks, reshipments, and the “we can’t trust this supplier” reputational hit. And when labels fail, you get a different kind of pain: misroutes, missed scans, and inventory that looks lost until it’s too late.</p>



<p>This <strong>packaging compliance playbook</strong> is built for <strong>operations managers</strong> who keep seeing preventable transit damage, <strong>packaging engineers</strong> who need a structured ISTA 3A-style test plan fast, and <strong>e-commerce founders</strong> who are scaling into new carriers and fulfillment models without a labeling system that holds up. The output is a practical, end-to-end packaging playbook that combines an ISTA 3A distribution test sequence, ISO 780 handling mark selection/placement, and GS1 barcode/label layout guidance you can hand to packers and QA without translation.</p>

</div>

<div class="what-and-when-section">

<h2 class="wp-block-heading">What Does This AI Prompt Do and When to Use It?</h2>



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It models the parcel journey (hubs, conveyors, last-mile) and connects each step to likely failure modes like shock, vibration, and compression.</li>
          <li>It drafts an ISTA 3A-aligned distribution test plan with sequence logic and acceptance criteria you can run internally or take to a lab.</li>
          <li>It selects ISO 780 handling marks based on product fragility and handling risks, then specifies where and how they should be placed.</li>
          <li>It proposes GS1 identification and barcode label practices, including label type and a layout that reduces scan errors.</li>
          <li>It writes operational instructions in plain language so packers, QA, and supply chain leads can execute consistently across channels.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re seeing a pattern of cracked housings, broken seals, or “arrived dented” reviews and need a repeatable prevention plan.</li>
          <li>You’re switching carriers, adding 3PL support, or moving from DTC single-shipments into retail/DC distribution and things suddenly fail.</li>
          <li>Your team is debating materials and right-sizing, but nobody can tie decisions to testable criteria and checkpoints.</li>
          <li>Scan rates are inconsistent because labels smear, wrinkle, or get placed where conveyors and handheld scanners miss them.</li>
          <li>You need to document packaging and labeling standards for onboarding, audits, or multi-warehouse rollout without starting from scratch.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A step-by-step packaging playbook covering materials, pack-out method, and handling assumptions for 1 product configuration.</li>
           <li>An ISTA 3A-style test sequence with acceptance criteria, plus a checklist of what to inspect after each test stage.</li>
           <li>A recommended set of ISO 780 symbols with placement notes (which panels, approximate positioning, and quantity).</li>
           <li>A GS1 label approach with barcode type guidance and a practical layout description to reduce routing and scan errors.</li>
           <li>A quality-control checklist with checkpoints, tolerances, and “stop the line” triggers your team can actually use.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

<div class="prompt-display-section">

<h2 class="wp-block-heading">The Full AI Prompt: Packaging Damage-Prevention Compliance Playbook Builder</h2>



<div class="prompt-viewer-wrapper" id="prompt-section">
    <div class="prompt-comparison-row prompt-premium">
        <!-- Header with buttons -->
        <div class="prompt-row-header">
            <!-- <span class="prompt-row-icon">✨</span> -->
            <span class="prompt-row-title">
                                    Step 1: Customize the prompt with your input
                            </span>
            <div class="prompt-header-buttons">
                                    <button class="prompt-header-btn prompt-header-reset" onclick="resetPrompt()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                                <button class="prompt-header-btn prompt-header-copy-green flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span>Customize and Copy Full Prompt</span>
                </button>
            </div>
        </div>

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[ORG_SIZE]</code></td>
                                <td class="var-desc">
                                    Specify the size of the organization, including the number of employees or teams if relevant.                                    <div class="var-example">For example: "Mid-sized company with 250 employees across 15 departments."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[ORG_SIZE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[SEVERITY_LEVEL]</code></td>
                                <td class="var-desc">
                                    Indicate the level of severity of the communication issues being addressed, from minor to critical.                                    <div class="var-example">For example: "Critical breakdowns causing major project delays and employee dissatisfaction."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[SEVERITY_LEVEL]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHANNELS]</code></td>
                                <td class="var-desc">
                                    List the communication channels used within the organization, such as email, meetings, chat platforms, or others.                                    <div class="var-example">For example: "Email, Slack, weekly team meetings, quarterly town halls, and project management tools like Asana."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHANNELS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[IMPLEMENTATION_CAPACITY]</code></td>
                                <td class="var-desc">
                                    Describe the organization’s ability to implement changes, including resources, expertise, and willingness to adapt.                                    <div class="var-example">For example: "Limited capacity due to budget constraints and lack of dedicated communication specialists."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[IMPLEMENTATION_CAPACITY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide background information about the organization, including its mission, culture, and current challenges.                                    <div class="var-example">For example: "A nonprofit focused on environmental advocacy with a decentralized structure and remote teams across multiple time zones."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or sector the organization operates in.                                    <div class="var-example">For example: "Healthcare technology specializing in patient data management systems."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[ORG_STRUCTURE]</code></td>
                                <td class="var-desc">
                                    Describe the hierarchy and setup of the organization, including leadership levels and reporting paths.                                    <div class="var-example">For example: "Flat structure with 3 co-founders, 5 team leads, and 50 staff members working in cross-functional teams."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[ORG_STRUCTURE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Summarize the main communication problem or issue the organization is facing.                                    <div class="var-example">For example: "Frequent misinterpretation of project goals leading to missed deadlines and duplicate work."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHALLENGE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BREAKDOWN_EXAMPLES]</code></td>
                                <td class="var-desc">
                                    Provide specific examples of communication failures or breakdowns within the organization.                                    <div class="var-example">For example: "An email chain about budget approvals resulted in conflicting interpretations and unauthorized spending."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BREAKDOWN_EXAMPLES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[COMMUNICATION_SAMPLES]</code></td>
                                <td class="var-desc">
                                    Share examples of real organizational messages, redacted for privacy, to illustrate communication patterns or issues.                                    <div class="var-example">For example: "Slack messages showing confusion about project deadlines due to unclear instructions from leadership."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[COMMUNICATION_SAMPLES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    Define the main objective of the intervention or remediation plan.                                    <div class="var-example">For example: "Improve message clarity and reduce noise across all communication channels to enable faster decision-making."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Specify the timeline for implementing the communication system changes.                                    <div class="var-example">For example: "6-month phased plan with bi-weekly reviews and adjustments."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONSTRAINTS_NOTES]</code></td>
                                <td class="var-desc">
                                    Outline any specific constraints or limitations that may impact the intervention plan.                                    <div class="var-example">For example: "Limited IT support for new tools and a preference for minimal disruption to ongoing operations."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONSTRAINTS_NOTES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

                <button class="copy-customized-btn flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                        <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                        <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                    </svg>
                    <span class="copy-customized-text">Customise the prompt now</span>
                </button>
            </div>
        
        <!-- Full Prompt Code Header -->
                    <div class="prompt-code-header">
                <span class="prompt-code-title">
                    Step 2: Copy the Prompt
                </span>
                <div class="prompt-code-buttons">
                    <!-- Reset: Only visible when unlocked -->
                    <button class="prompt-header-btn prompt-header-reset btn-when-unlocked" onclick="resetPrompt()" style="display: none;">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
                            <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
                        </svg>
                        <span>Reset</span>
                    </button>
                    <!-- Copy Full Prompt -->
                    <button class="prompt-header-btn prompt-header-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                            <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                            <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
                        </svg>
                        <span>Copy Full Prompt</span>
                    </button>
                </div>
            </div>
        

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge Case Handling</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Diagnose where organizational messages lose meaning and rebuild an engagement communication system using the Shannon–Weaver framework (sender → encoding → channel → noise → decoding → receiver → feedback). Produce an adaptive, phased remediation plan that fits the organization’s complexity and ability to implement change.

## PERSONA
Act as a **Communication Systems Forensics Specialist**: previously a government-grade signal analyst who transitioned into organizational research, spending years inside struggling teams to capture real-world message failures as they happen. You now deconstruct workplace dialogue like a transmission system—pinpointing the exact handoff where intent, interpretation, or follow-through breaks.

Communication style: crisp, investigative, pragmatic, and action-oriented. Use plain language, minimal jargon, and name uncertainties explicitly.

## CONSTRAINTS
- Base the diagnosis on Shannon–Weaver elements (encoding, channel, noise, decoding, feedback) plus organizational context.
- Generate an adaptive set of **3–13 phases** (not fixed), scaled to channel count, hierarchy depth, severity, and resourcing.
- Each phase must include outcomes, actions, and measurement signals.
- Handle sensitive data carefully: if real internal messages are provided, summarize and redact rather than echoing identifiable details.
- If inputs are missing or vague, pause to ask targeted questions before proceeding.

### What This Is NOT
- Not legal, HR-compliance, or labor-relations advice.
- Not a therapy/mediation script for personal conflict.
- Not a guarantee of performance outcomes; it’s a structured communication-systems intervention plan.
- Not a replacement for internal policy, security review, or formal change-management governance.

## PROCESS
1. **Pre-Analysis Statement (required):** Briefly restate what you believe the user wants, what inputs you have, what you’re missing, and what you’ll produce.
2. **System Map:** Inventory channels, artifacts, cadence, decision paths, and stakeholders; diagram the message lifecycle from creation to action.
3. **Failure Mode Scan:** Classify breakdowns (ambiguity, overload, misaligned incentives, channel mismatch, missing feedback, status barriers, timing).
4. **Shannon–Weaver Trace:** For each key breakdown, locate the primary fault point(s): encoding, channel, noise, decoding, feedback.
5. **Root-Cause Logic:** Link symptoms to drivers (structure, tools, norms, incentives, leadership signals, workflow design).
6. **Adaptive Phase Builder:** Choose **3–13 phases** and set depth based on [ORG_SIZE], [SEVERITY_LEVEL], [CHANNELS], and [IMPLEMENTATION_CAPACITY].
7. **Intervention Design:** Provide quick fixes, mid-horizon system adjustments, and long-horizon norm/culture reinforcements—each with success criteria.
8. **Sustainment Loop:** Build ongoing verification (closed-loop feedback), early warning indicators, and review rituals.

### Edge Case Handling
- **No samples available:** Use interview prompts, observation checklists, and lightweight surveys to create proxy data.
- **Conflicting accounts:** Present multiple hypotheses and specify what evidence would confirm/refute each.
- **Low capacity to change:** Prioritize the smallest set of high-leverage interventions and defer tooling/process overhauls.
- **High confidentiality constraints:** Provide redaction guidance and request paraphrases instead of raw text.

## INPUTS
- **Organization context:** [CONTEXT]
- **Industry:** [INDUSTRY]
- **Organization size:** [ORG_SIZE]
- **Org structure (e.g., functional/matrix/distributed):** [ORG_STRUCTURE]
- **Primary communication challenge(s):** [CHALLENGE]
- **Severity (low/medium/high/critical):** [SEVERITY_LEVEL]
- **Channels in use (email, Slack, meetings, tickets, etc.):** [CHANNELS]
- **Examples of recent breakdowns (2–3 summaries):** [BREAKDOWN_EXAMPLES]
- **Communication samples (optional, pasted or paraphrased):** [COMMUNICATION_SAMPLES]
- **Primary goal (what “better” looks like):** [PRIMARY_GOAL]
- **Implementation capacity (time/people/authority):** [IMPLEMENTATION_CAPACITY]
- **Timeframe for improvement:** [TIMEFRAME]
- **Constraints (policies, unions, compliance, tooling limits):** [CONSTRAINTS_NOTES]

## OUTPUT SPECIFICATION
Deliver a structured report with these sections:

1. **Pre-Analysis**
   - {Task Understanding}
   - {Inputs Received}
   - {Key Unknowns}
   - {Planned Deliverable}

2. **Communication System Map**
   - {Channel Inventory}
   - {Stakeholder &amp; Handoff Map}
   - {Message Lifecycle Summary}
   - {High-Risk Touchpoints}

3. **Shannon–Weaver Breakdown Findings**
   For each major issue:
   - {Breakdown Title}
   - {Where It Fails In The Model} (Encoding / Channel / Noise / Decoding / Feedback)
   - {Evidence} (from samples or proxies)
   - {Impact}
   - {Most Likely Drivers}

4. **Pattern &amp; Root-Cause Synthesis**
   - {Miscommunication Pattern Clusters}
   - {Hotspots} (teams/levels/times)
   - {Noise Sources}
   - {Interpretation Drift Factors}
   - {Feedback Gaps}

5. **Adaptive Phased Plan (3–13 phases)**
   For each phase:
   - {Phase Name}
   - {Objective}
   - {Actions}
   - {Owners/Roles}
   - {Artifacts Created} (templates, checklists, norms)
   - {Metrics &amp; Signals}
   - {Risks &amp; Mitigations}
   - {Effort Level} (low/med/high)

6. **Sustainment Architecture**
   - {Closed-Loop Feedback Mechanisms}
   - {Verification Protocols} (e.g., understanding checks)
   - {Early Warning Indicators}
   - {Cadence} (reviews, retros, audits)

7. **Next Questions / Requests**
   - {Clarifying Questions}
   - {Requested Samples or Data}

## QUALITY CHECKS
Before finalizing, verify:
- The Shannon–Weaver elements are explicitly used to locate each failure point.
- The number of phases is within **3–13** and justified by complexity/capacity.
- Every phase includes measurable signals (not just activities).
- Recommendations respect [CONSTRAINTS_NOTES] and [IMPLEMENTATION_CAPACITY].
- Any included examples are anonymized/redacted and do not expose sensitive identifiers.            </div>
        </div>


    </div>

    <!-- CTA Row - Full width buttons -->
    <div class="prompt-cta-row">
        <button class="prompt-cta-btn prompt-cta-copy flowpast-copy-prompt-btn" onclick="handlePromptCopy()">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 16 16">
                <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z" />
                <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z" />
            </svg>
            <span class="cta-copy-text">Copy Full Prompt</span>
        </button>
    </div>
</div>

<style>
    /* Gated prompt states */
    .prompt-gated-wrapper {
        position: relative;
    }

    /* When unlocked - show full content, hide gated */
    body.flowpast-unlocked .prompt-gated-wrapper .prompt-gated-content {
        display: none;
    }

    body.flowpast-unlocked .prompt-gated-wrapper .prompt-content-full {
        display: block !important;
    }

    /* Show/hide elements based on unlock state */
    body.flowpast-unlocked .btn-when-unlocked {
        display: inline-flex !important;
    }

    .prompt-viewer-wrapper {
        scroll-margin-top: 250px;
    }

    /* ========================================
   PROMPT VIEWER - MAIN WRAPPER
   ======================================== */
    .prompt-viewer-wrapper {
        margin: 30px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* ========================================
   PROMPT BOX CONTAINER
   ======================================== */
    .prompt-comparison-row {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        background: #fff;
    }

    /* ========================================
   HEADER WITH BUTTONS
   ======================================== */
    .prompt-row-header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
        flex-wrap: wrap;
    }

    .prompt-row-icon {
        font-size: 20px;
    }

    .prompt-row-title {
        font-weight: 600;
        font-size: 22px;
        color: #fff !important;
        text-decoration: underline
    }

    .prompt-header-buttons {
        margin-left: auto;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Header buttons */
    .prompt-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-header-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-header-copy:hover {
        background: #2a2a2a;
    }

    .prompt-header-copy.copied {
        background: #2e7d32;
    }

    .prompt-header-copy-green {
        background: #04AA6D !important;
        color: #fff !important;
    }

    .prompt-header-copy-green:hover {
        background: #039860 !important;
    }

    .prompt-header-copy-green.copied {
        background: #2e7d32 !important;
    }

    .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-header-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-1px);
    }

    /* ========================================
   PROMPT CONTENT - FULL (NO SCROLL)
   ======================================== */
    .prompt-box {
        background: #ffffff;
    }

    .prompt-content-full {
        padding: 24px;
        margin: 0;
        color: #202124;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.7;
        white-space: pre-wrap;
        word-wrap: break-word;
        /* No scroll - show full content */
        max-height: none;
        overflow: visible;
    }

    /* Highlighted variable in prompt */
    .prompt-variable {
        background: #fff3cd;
        color: #1967d2;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #ffc107;
    }

    .prompt-variable-filled {
        background: #d4edda;
        color: #155724;
        font-weight: 700;
        padding: 2px 4px;
        border-radius: 3px;
        border: 1px solid #28a745;
    }

    /* ========================================
   GATED CONTENT (NO ACCESS)
   ======================================== */
    .prompt-gated-content {
        padding: 24px;
        background: #ffffff;
        font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
        font-size: 13px;
        line-height: 1.8;
        max-height: none;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        cursor: default;
    }

    /* ## headers - larger, black */
    .prompt-header-visible {
        color: #202124;
        font-weight: 600;
        margin: 5px 0 0px 0;
        font-size: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* ### headers - smaller, black */
    .prompt-header-visible.subheader {
        color: #202124;
        font-weight: 600;
        margin: 5px 0;
        font-size: 18px;
    }

    .prompt-header-visible:first-child {
        margin-top: 0;
    }

    /* ========================================
   LOCKED SECTION BLOCK
   ======================================== */
    .locked-section {
        position: relative;
        margin: 4px 0 8px 0;
        border-radius: 6px;
        overflow: hidden;
        background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .locked-section-bg {
        position: relative;
    }

    .locked-section-lines {
        padding: 8px 12px;
        position: relative;
    }

    .locked-line {
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 3px;
        margin-bottom: 4px;
        margin-left: 12px;
    }

    .locked-line:last-child {
        margin-bottom: 0;
    }

    .locked-section-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 24px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }

    /* Subheader locked sections - slightly indented */
    /*  .prompt-header-visible.subheader+.locked-section {
        margin-left: 16px;
    } */

    /* ========================================
   COMPATIBILITY BADGES
   ======================================== */
    .prompt-compatibility {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }

    .compat-label {
        font-size: 13px;
        color: #5f6368;
        font-weight: 500;
    }

    .compat-badge {
        padding: 4px 10px;
        background: #e8f0fe;
        color: #1967d2;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    /* ========================================
   CTA ROW - FULL WIDTH BUTTONS
   ======================================== */
    .prompt-cta-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .prompt-cta-btn {
        flex: 1;
        min-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        border: none;
    }

    .prompt-cta-copy {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-copy:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-copy.copied {
        background: #2e7d32;
    }

    .prompt-cta-reset {
        background: #3a3a3a;
        color: #fff;
    }

    .prompt-cta-reset:hover {
        background: #2a2a2a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .prompt-cta-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
    }

    .prompt-cta-access:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    /* ========================================
    CUSTOMIZE YOUR PROMPT SECTION
    ======================================== */
    .prompt-customize-section {
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #fafbfc;
    }

    .customize-title {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
    }

    .customize-subtitle {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #5f6368;
    }

    .customize-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .customize-table th {
        text-align: left;
        padding: 12px;
        background: #f1f3f4;
        border: 1px solid #e0e0e0;
        font-size: 13px;
        font-weight: 600;
        color: #202124;
    }

    .customize-table td {
        padding: 12px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .customize-table .var-name {
        width: 25%;
        background: #f8f9fa;
    }

    .customize-table .var-name code {
        background: #fff3cd;
        color: #1967d2;
        border: 1px solid #ffc107;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        word-break: break-all;
        font-weight: 600;
    }

    .customize-table .var-desc {
        width: 35%;
        font-size: 13px;
        color: #5f6368;
        line-height: 1.5;
    }

    .customize-table .var-example {
        margin-top: 8px;
        padding: 8px 10px;
        background: #f8f9fa;
        border-left: 3px solid #dadce0;
        font-size: 12px;
        color: #5f6368;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }

    .customize-table .var-input {
        width: 40%;
    }

    .customize-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .customize-input:focus {
        outline: none;
        border-color: rgb(5, 152, 98);
        box-shadow: 0 0 0 3px rgba(5, 152, 98, 0.1);
    }

    .customize-input::placeholder {
        color: #9aa0a6;
        font-style: italic;
    }

    .copy-customized-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        background: rgb(5, 152, 98);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .copy-customized-btn:hover {
        background: rgb(4, 130, 83);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(5, 152, 98, 0.3);
    }

    .copy-customized-btn.copied {
        background: #2e7d32;
    }

    /* ========================================
    FULL PROMPT CODE HEADER
    ======================================== */
    .prompt-code-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        color: #fff !important;
        background: #141414;
        border-bottom: 1px solid #e0e0e0;
    }

    .prompt-code-title {
        font-size: 22px;
        font-weight: 600;
        text-decoration: underline;

    }

    .prompt-code-buttons {
        display: flex;
        gap: 8px;
    }

    .prompt-code-buttons .prompt-header-btn {
        padding: 8px 14px;
        font-size: 13px;
        background: #ffffff;
        color: #202124;
        border: 1px solid #dadce0;
    }

    .prompt-code-buttons .prompt-header-access {
        background: rgb(5, 152, 98);
        color: #fff !important;
        border-color: rgb(5, 152, 98);
    }

    .prompt-code-buttons .prompt-header-btn.prompt-header-access:hover {
        background: rgb(4, 130, 83) !important;
        border-color: rgb(4, 130, 83);
        color: #fff !important;
    }

    .prompt-code-buttons .prompt-header-btn:hover {
        background: #f1f3f4;
    }

    .prompt-code-buttons .prompt-header-copy.copied {
        background: #d4edda;
        color: #155724;
        border-color: #28a745;
    }

    .prompt-header-reset {
        background: #ffffff;
        color: #202124;
    }

    /* ========================================
   RESPONSIVE
   ======================================== */
    @media (max-width: 768px) {
        .prompt-row-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .prompt-header-buttons {
            margin-left: 0;
            width: 100%;
        }

        .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }

        .prompt-cta-row {
            flex-direction: column;
        }

        .prompt-cta-btn {
            width: 100%;
        }

        /* Customize table responsive */
        .customize-table,
        .customize-table thead,
        .customize-table tbody,
        .customize-table tr,
        .customize-table th,
        .customize-table td {
            display: block;
        }

        .customize-table thead {
            display: none;
        }

        .customize-table tr {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        .customize-table td {
            width: 100% !important;
            border: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .customize-table td:last-child {
            border-bottom: none;
        }

        .customize-table .var-name {
            background: #f1f3f4;
            font-weight: 600;
        }

        .prompt-code-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

        .prompt-code-buttons {
            width: 100%;
        }

        .prompt-code-buttons .prompt-header-btn {
            flex: 1;
            justify-content: center;
        }
    }
</style>

<script>
    function handlePromptCopy() {
        // Check if unlocked via cookie
        if (typeof window.flowpastIsUnlocked === 'function' && !window.flowpastIsUnlocked()) {
            // Show email popup
            if (typeof window.flowpastShowEmailPopup === 'function') {
                window.flowpastShowEmailPopup('prompt');
            }
            return;
        }

        // Copy the customized prompt (with filled variables)
        const customizedPrompt = getCustomizedPrompt();
        const copyButtons = document.querySelectorAll('.prompt-header-copy, .prompt-header-copy-green, .prompt-cta-copy, .copy-customized-btn');

        navigator.clipboard.writeText(customizedPrompt).then(() => {
            copyButtons.forEach(btn => {
                btn.classList.add('copied');
                const textSpan = btn.querySelector('span');
                if (textSpan) textSpan.textContent = 'Copied!';
            });

            setTimeout(() => {
                copyButtons.forEach(btn => {
                    btn.classList.remove('copied');
                    const textSpan = btn.querySelector('span');
                    if (textSpan) textSpan.textContent = 'Copy Full Prompt';
                });
            }, 2000);
        }).catch(err => {
            console.error('Failed to copy:', err);
        });
    }

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nDiagnose where organizational messages lose meaning and rebuild an engagement communication system using the Shannon\u2013Weaver framework (sender \u2192 encoding \u2192 channel \u2192 noise \u2192 decoding \u2192 receiver \u2192 feedback). Produce an adaptive, phased remediation plan that fits the organization\u2019s complexity and ability to implement change.\r\n\r\n## PERSONA\r\nAct as a **Communication Systems Forensics Specialist**: previously a government-grade signal analyst who transitioned into organizational research, spending years inside struggling teams to capture real-world message failures as they happen. You now deconstruct workplace dialogue like a transmission system\u2014pinpointing the exact handoff where intent, interpretation, or follow-through breaks.\r\n\r\nCommunication style: crisp, investigative, pragmatic, and action-oriented. Use plain language, minimal jargon, and name uncertainties explicitly.\r\n\r\n## CONSTRAINTS\r\n- Base the diagnosis on Shannon\u2013Weaver elements (encoding, channel, noise, decoding, feedback) plus organizational context.\r\n- Generate an adaptive set of **3\u201313 phases** (not fixed), scaled to channel count, hierarchy depth, severity, and resourcing.\r\n- Each phase must include outcomes, actions, and measurement signals.\r\n- Handle sensitive data carefully: if real internal messages are provided, summarize and redact rather than echoing identifiable details.\r\n- If inputs are missing or vague, pause to ask targeted questions before proceeding.\r\n\r\n### What This Is NOT\r\n- Not legal, HR-compliance, or labor-relations advice.\r\n- Not a therapy\/mediation script for personal conflict.\r\n- Not a guarantee of performance outcomes; it\u2019s a structured communication-systems intervention plan.\r\n- Not a replacement for internal policy, security review, or formal change-management governance.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis Statement (required):** Briefly restate what you believe the user wants, what inputs you have, what you\u2019re missing, and what you\u2019ll produce.\r\n2. **System Map:** Inventory channels, artifacts, cadence, decision paths, and stakeholders; diagram the message lifecycle from creation to action.\r\n3. **Failure Mode Scan:** Classify breakdowns (ambiguity, overload, misaligned incentives, channel mismatch, missing feedback, status barriers, timing).\r\n4. **Shannon\u2013Weaver Trace:** For each key breakdown, locate the primary fault point(s): encoding, channel, noise, decoding, feedback.\r\n5. **Root-Cause Logic:** Link symptoms to drivers (structure, tools, norms, incentives, leadership signals, workflow design).\r\n6. **Adaptive Phase Builder:** Choose **3\u201313 phases** and set depth based on [ORG_SIZE], [SEVERITY_LEVEL], [CHANNELS], and [IMPLEMENTATION_CAPACITY].\r\n7. **Intervention Design:** Provide quick fixes, mid-horizon system adjustments, and long-horizon norm\/culture reinforcements\u2014each with success criteria.\r\n8. **Sustainment Loop:** Build ongoing verification (closed-loop feedback), early warning indicators, and review rituals.\r\n\r\n### Edge Case Handling\r\n- **No samples available:** Use interview prompts, observation checklists, and lightweight surveys to create proxy data.\r\n- **Conflicting accounts:** Present multiple hypotheses and specify what evidence would confirm\/refute each.\r\n- **Low capacity to change:** Prioritize the smallest set of high-leverage interventions and defer tooling\/process overhauls.\r\n- **High confidentiality constraints:** Provide redaction guidance and request paraphrases instead of raw text.\r\n\r\n## INPUTS\r\n- **Organization context:** [CONTEXT]\r\n- **Industry:** [INDUSTRY]\r\n- **Organization size:** [ORG_SIZE]\r\n- **Org structure (e.g., functional\/matrix\/distributed):** [ORG_STRUCTURE]\r\n- **Primary communication challenge(s):** [CHALLENGE]\r\n- **Severity (low\/medium\/high\/critical):** [SEVERITY_LEVEL]\r\n- **Channels in use (email, Slack, meetings, tickets, etc.):** [CHANNELS]\r\n- **Examples of recent breakdowns (2\u20133 summaries):** [BREAKDOWN_EXAMPLES]\r\n- **Communication samples (optional, pasted or paraphrased):** [COMMUNICATION_SAMPLES]\r\n- **Primary goal (what \u201cbetter\u201d looks like):** [PRIMARY_GOAL]\r\n- **Implementation capacity (time\/people\/authority):** [IMPLEMENTATION_CAPACITY]\r\n- **Timeframe for improvement:** [TIMEFRAME]\r\n- **Constraints (policies, unions, compliance, tooling limits):** [CONSTRAINTS_NOTES]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a structured report with these sections:\r\n\r\n1. **Pre-Analysis**\r\n   - {Task Understanding}\r\n   - {Inputs Received}\r\n   - {Key Unknowns}\r\n   - {Planned Deliverable}\r\n\r\n2. **Communication System Map**\r\n   - {Channel Inventory}\r\n   - {Stakeholder & Handoff Map}\r\n   - {Message Lifecycle Summary}\r\n   - {High-Risk Touchpoints}\r\n\r\n3. **Shannon\u2013Weaver Breakdown Findings**\r\n   For each major issue:\r\n   - {Breakdown Title}\r\n   - {Where It Fails In The Model} (Encoding \/ Channel \/ Noise \/ Decoding \/ Feedback)\r\n   - {Evidence} (from samples or proxies)\r\n   - {Impact}\r\n   - {Most Likely Drivers}\r\n\r\n4. **Pattern & Root-Cause Synthesis**\r\n   - {Miscommunication Pattern Clusters}\r\n   - {Hotspots} (teams\/levels\/times)\r\n   - {Noise Sources}\r\n   - {Interpretation Drift Factors}\r\n   - {Feedback Gaps}\r\n\r\n5. **Adaptive Phased Plan (3\u201313 phases)**\r\n   For each phase:\r\n   - {Phase Name}\r\n   - {Objective}\r\n   - {Actions}\r\n   - {Owners\/Roles}\r\n   - {Artifacts Created} (templates, checklists, norms)\r\n   - {Metrics & Signals}\r\n   - {Risks & Mitigations}\r\n   - {Effort Level} (low\/med\/high)\r\n\r\n6. **Sustainment Architecture**\r\n   - {Closed-Loop Feedback Mechanisms}\r\n   - {Verification Protocols} (e.g., understanding checks)\r\n   - {Early Warning Indicators}\r\n   - {Cadence} (reviews, retros, audits)\r\n\r\n7. **Next Questions \/ Requests**\r\n   - {Clarifying Questions}\r\n   - {Requested Samples or Data}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The Shannon\u2013Weaver elements are explicitly used to locate each failure point.\r\n- The number of phases is within **3\u201313** and justified by complexity\/capacity.\r\n- Every phase includes measurable signals (not just activities).\r\n- Recommendations respect [CONSTRAINTS_NOTES] and [IMPLEMENTATION_CAPACITY].\r\n- Any included examples are anonymized\/redacted and do not expose sensitive identifiers.";
    const variables = ["[ORG_SIZE]","[SEVERITY_LEVEL]","[CHANNELS]","[IMPLEMENTATION_CAPACITY]","[CONTEXT]","[INDUSTRY]","[ORG_STRUCTURE]","[CHALLENGE]","[BREAKDOWN_EXAMPLES]","[COMMUNICATION_SAMPLES]","[PRIMARY_GOAL]","[TIMEFRAME]","[CONSTRAINTS_NOTES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

    // Live update prompt as user types
    document.querySelectorAll('.customize-input').forEach(input => {
        input.addEventListener('input', renderPromptWithHighlights);
    });

    function renderPromptWithHighlights() {
        const promptContent = document.getElementById('premium-prompt-content');
        if (!promptContent) return;

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

        // Collect filled values
        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                filledVariables[placeholder] = value;
            }
        });

        // Replace filled variables and highlight remaining
        let htmlContent = escapeHtml(updatedPrompt);

        variables.forEach(placeholder => {
            const escapedPlaceholder = escapeHtml(placeholder);
            const regex = new RegExp(escapeRegex(escapedPlaceholder), 'g');

            if (filledVariables[placeholder]) {
                // Show filled value with green highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable-filled">' + escapeHtml(filledVariables[placeholder]) + '</span>'
                );
            } else {
                // Show original placeholder with yellow highlight
                htmlContent = htmlContent.replace(regex,
                    '<span class="prompt-variable">' + escapedPlaceholder + '</span>'
                );
            }
        });

        promptContent.innerHTML = htmlContent;
    }

    function escapeRegex(string) {
        return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
    }

    function escapeHtml(text) {
        const div = document.createElement('div');
        div.textContent = text;
        return div.innerHTML;
    }

    function resetPrompt() {
        // Clear all input fields
        document.querySelectorAll('.customize-input').forEach(input => {
            input.value = '';
        });

        // Re-render with original placeholders highlighted
        renderPromptWithHighlights();

        // Visual feedback
        const resetBtns = document.querySelectorAll('.prompt-header-reset, .prompt-cta-reset');
        resetBtns.forEach(btn => {
            const originalText = btn.querySelector('span').textContent;
            btn.querySelector('span').textContent = 'Reset!';
            setTimeout(() => {
                btn.querySelector('span').textContent = originalText;
            }, 1000);
        });
    }


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

        document.querySelectorAll('.customize-input').forEach(input => {
            const placeholder = input.dataset.placeholder;
            const value = input.value.trim();

            if (value) {
                const regex = new RegExp(escapeRegex(placeholder), 'g');
                updatedPrompt = updatedPrompt.replace(regex, value);
            }
        });

        return updatedPrompt;
    }
</script>

</div>

<div class="pro-tips-section">

<h2 class="wp-block-heading">Pro Tips for Better AI Prompt Results</h2>



<ul class="wp-block-list">

<li><strong>Describe the product like a failure analyst, not a marketer.</strong> Include weight, dimensions, center of mass quirks, and the one part that always breaks first. For example: “1.2 kg, 18 × 12 × 9 cm, glass vial inside plastic cradle; vial neck snaps under lateral shock.” You will get materially better ISTA 3A test logic from that.</li>


<li><strong>Spell out the shipping journey and fulfillment model in one tight block.</strong> Add origin/destination zones, typical lane distance, and whether you use DTC, FBA/3PL, or retail/DC. Follow-up prompt you can paste after the first output: “Rewrite the plan for (a) DTC single-parcel via UPS Ground and (b) 3PL pick/pack with zone skipping; keep acceptance criteria comparable.”</li>


<li><strong>Give constraints that usually get ignored.</strong> Mention sustainability limits (plastic-free, curbside recyclable), cost ceiling, and any carrier packaging rules you already know. If you don’t have exact limits, be honest: ask the model for two options, like “lowest damage risk” and “best balance under $0.80/unit packaging cost.”</li>


<li><strong>Iterate on the acceptance criteria, not just the materials.</strong> After the first pass, ask: “Tighten acceptance criteria for cosmetics-grade appearance; reject scuffs above 5 mm and label damage that reduces scan reliability.” Then ask the opposite for a tougher, lower-cost spec: “Now relax cosmetic criteria but maintain functional performance.”</li>


<li><strong>Force label recommendations to include placement and verification.</strong> GS1 guidance is only useful when it becomes a pack-station habit. Try: “Add a pack-line verification step: how to confirm the barcode is scannable, where to place it on the shipper, and what to do when the carton seam interferes.” Honestly, this is where most ‘label fixes’ fail in real warehouses.</li>

</ul>

</div>

<div class="related-prompts-section">

<h2 class="wp-block-heading">Related Prompts</h2>



<p>Once you’ve documented a packaging playbook, these prompts help you communicate it internally, document rollout steps, and keep improvements on schedule.</p>



<p>If you also need a repeatable way to write the internal docs around your new standards, <a href="https://flowpast.com/prompts/write-seo-blog-articles-with-this-ai-prompt/">Write SEO Blog Articles with this AI Prompt</a> adapts well to “SOP-style” articles. Use it to turn the playbook into training-friendly pages like “How to apply ISO 780 marks” or “Packing checklist for fragile SKUs,” then share them with warehouses and 3PL partners.</p>



<p>For teams doing ongoing improvements (new cartons, new inserts, updated label stock), <a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a> can be repurposed into a 12-week operations calendar. Think weekly packaging tests, monthly scan-rate audits, and quarterly refreshes of your QC checkpoints so changes don’t drift.</p>



<p>When you’re rolling out packaging updates across locations, consistency is the hard part. <a href="https://flowpast.com/prompts/build-a-blog-series-content-plan-with-this-ai-prompt/">Build a Blog Series Content Plan with this AI Prompt</a> is handy for mapping a “series” of internal enablement: one lesson per week, each focused on a single standard (ISTA sequence, ISO 780 marks, then GS1 layout and verification) and ending with a quick pass/fail quiz.</p>


<br>


<p>Quick reference:</p>



<ul class="wp-block-list">

<li><a href="https://flowpast.com/prompts/write-seo-blog-articles-with-this-ai-prompt/">Write SEO Blog Articles with this AI Prompt</a>: Turn playbooks into clear SOP articles.</li>


<li><a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a>: Plan audits, tests, and updates weekly.</li>


<li><a href="https://flowpast.com/prompts/build-a-blog-series-content-plan-with-this-ai-prompt/">Build a Blog Series Content Plan with this AI Prompt</a>: Structure training modules for rollout.</li>

<li><a href="https://flowpast.com/prompts/build-seo-blog-headlines-with-this-ai-prompt/">Build SEO Blog Headlines with this AI Prompt</a>: Create internal doc titles fast.</li>

<li><a href="https://flowpast.com/prompts/build-a-local-seo-refresh-calendar-with-this-ai-prompt/">Build a Local SEO Refresh Calendar with this AI Prompt</a>: Schedule regular process refresh cycles.</li>
<!-- /wp:post-content -->
</div>

<div class="faq-section">
<!-- wp:heading {"level":2} -->
<h2 class="wp-block-heading">Common Questions</h2>
<!-- /wp:heading -->

<div class="faq-item">
<span class="question">Which roles benefit most from this packaging compliance playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Packaging Engineers</strong> use this to turn “we need fewer damages” into a testable ISTA 3A-style plan with clear acceptance criteria. <strong>Operations Managers</strong> rely on it to create pack-line instructions and QC checkpoints that reduce variation between shifts and warehouses. <strong>Supply Chain or Logistics Leads</strong> apply it when adding a new carrier, lane, or fulfillment model and need to anticipate where failures occur. <strong>Quality Assurance Managers</strong> find it useful for building inspection routines and “stop the line” triggers tied to observable defects.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this packaging compliance playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>E-commerce consumer goods</strong> teams use it for fragile-to-moderately-fragile items (glass, ceramics, personal care) where returns are frequent and reviews mention damage. <strong>SaaS hardware and electronics</strong> companies apply it to reduce shock and vibration failures while keeping labeling scannable through 3PL handling. <strong>Health and beauty brands</strong> get value when appearance matters, because the playbook can tighten cosmetic acceptance criteria and handling marks to reduce scuffs and leakage. <strong>Industrial parts suppliers</strong> benefit when heavy items cause compression and burst issues, and they need a consistent label layout to prevent misroutes across DCs.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a packaging compliance playbook produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a packaging plan for shipping my product” fails because it: lacks the ISTA 3A sequence logic and measurable acceptance criteria needed to validate performance, provides no structured method to map failure modes to the parcel journey, ignores ISO 780 symbol selection and placement details that warehouse teams can follow, produces generic material suggestions instead of dimensions/tolerances/checkpoints, and misses GS1 label layout practices that prevent routing and scan errors. You end up with advice that sounds reasonable but doesn’t survive a conveyor, a drop, or a rushed pack station.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this packaging compliance playbook prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. Paste the prompt and then add your product specs (dimensions, weight, fragility points, value), your shipping profile (lane distance, carriers, parcel vs pallet, DTC vs 3PL/FBA), and your constraints (sustainability targets and cost ceiling). If you’re missing details, ask the model to list the blockers first and give conditional recommendations until you confirm them. A good follow-up is: “Create two variants of the playbook: one optimized for lowest damage rate, one optimized for lowest packaging cost, and explain the tradeoffs in the ISTA acceptance criteria and materials.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this packaging compliance playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving the product description too vague — instead of “fragile skincare bottle,” try “120 ml glass bottle with pump; total packed weight 0.65 kg; pump collar cracks under top-load compression.” Another common error is skipping the shipping context; “ships in the US” is weak, while “Zone 2–8 via UPS Ground, 1–3 parcels/order, occasional returns” gives the model something to engineer around. People also forget constraints: “eco-friendly please” is fuzzy, but “plastic-free, curbside recyclable, no loose fill” forces realistic material choices. Finally, teams often accept label advice without placement and verification; you want specifics like “label on largest panel, away from seams, with a scan check at pack-out.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this packaging compliance playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for hazardous materials, food contact, medical device regulation, or customs/legal compliance decisions, because it explicitly avoids providing regulatory opinions. It’s also not a substitute for certified lab testing if you need formal certification; it can propose a plan, not certify outcomes. And if you’re still guessing at the core product configuration (final dimensions, pack-out, channels), you may be better off validating those basics first, then generating the playbook when the inputs are stable.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this packaging compliance playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Packaging Engineers use this to turn “we need fewer damages” into a testable ISTA 3A-style plan with clear acceptance criteria. Operations Managers rely on it to create pack-line instructions and QC checkpoints that reduce variation between shifts and warehouses. Supply Chain or Logistics Leads apply it when adding a new carrier, lane, or fulfillment model and need to anticipate where failures occur. Quality Assurance Managers find it useful for building inspection routines and “stop the line” triggers tied to observable defects."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this packaging compliance playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce consumer goods teams use it for fragile-to-moderately-fragile items (glass, ceramics, personal care) where returns are frequent and reviews mention damage. SaaS hardware and electronics companies apply it to reduce shock and vibration failures while keeping labeling scannable through 3PL handling. Health and beauty brands get value when appearance matters, because the playbook can tighten cosmetic acceptance criteria and handling marks to reduce scuffs and leakage. Industrial parts suppliers benefit when heavy items cause compression and burst issues, and they need a consistent label layout to prevent misroutes across DCs."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a packaging compliance playbook produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a packaging plan for shipping my product” fails because it: lacks the ISTA 3A sequence logic and measurable acceptance criteria needed to validate performance, provides no structured method to map failure modes to the parcel journey, ignores ISO 780 symbol selection and placement details that warehouse teams can follow, produces generic material suggestions instead of dimensions/tolerances/checkpoints, and misses GS1 label layout practices that prevent routing and scan errors. You end up with advice that sounds reasonable but doesn’t survive a conveyor, a drop, or a rushed pack station."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this packaging compliance playbook prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Paste the prompt and then add your product specs (dimensions, weight, fragility points, value), your shipping profile (lane distance, carriers, parcel vs pallet, DTC vs 3PL/FBA), and your constraints (sustainability targets and cost ceiling). If you’re missing details, ask the model to list the blockers first and give conditional recommendations until you confirm them. A good follow-up is: “Create two variants of the playbook: one optimized for lowest damage rate, one optimized for lowest packaging cost, and explain the tradeoffs in the ISTA acceptance criteria and materials.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this packaging compliance playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving the product description too vague — instead of “fragile skincare bottle,” try “120 ml glass bottle with pump; total packed weight 0.65 kg; pump collar cracks under top-load compression.” Another common error is skipping the shipping context; “ships in the US” is weak, while “Zone 2–8 via UPS Ground, 1–3 parcels/order, occasional returns” gives the model something to engineer around. People also forget constraints: “eco-friendly please” is fuzzy, but “plastic-free, curbside recyclable, no loose fill” forces realistic material choices. Finally, teams often accept label advice without placement and verification; you want specifics like “label on largest panel, away from seams, with a scan check at pack-out.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this packaging compliance playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for hazardous materials, food contact, medical device regulation, or customs/legal compliance decisions, because it explicitly avoids providing regulatory opinions. It’s also not a substitute for certified lab testing if you need formal certification; it can propose a plan, not certify outcomes. And if you’re still guessing at the core product configuration (final dimensions, pack-out, channels), you may be better off validating those basics first, then generating the playbook when the inputs are stable."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Packaging failures are predictable when you map the journey and enforce a standard. Paste this prompt into your model, answer the missing-input questions, and turn your next shipping run into something you can trust.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002887.webp" medium="image"></media:content>
            	</item>
	</channel>
</rss>
