<?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>Data Sync &#038; ETL &#8211; Flowpast.com &#8211; Your Workflow Automation Library</title>
	<atom:link href="https://flowpast.com/function/data-sync-etl/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:54:29 +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>Data Sync &#038; ETL &#8211; Flowpast.com &#8211; Your Workflow Automation Library</title>
	<link>https://flowpast.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>Recruitment Automation Rollout Blueprint AI Prompt</title>
		<link>https://flowpast.com/prompts/recruitment-automation-rollout-blueprint-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:51:23 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5003190</guid>

					<description><![CDATA[Adoption stalls in HR tech rollouts - a proven AI Prompt that builds a staged selection and adoption blueprint with risks, owners, and pilots. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: recruitment automation rollout -->
<div class="hook-introduction">

<p>Your recruitment automation rollout looks fine on paper, then it quietly stalls. Recruiters keep “doing it the old way,” hiring managers ignore the new workflow, and integrations get blamed for what is honestly an adoption problem. The result is wasted spend, messy data, and a bruised HR tech roadmap.</p>



<p>This <strong>recruitment automation rollout</strong> is built for <strong>HR Operations leads</strong> trying to standardize recruiting workflows across teams, <strong>Talent Acquisition managers</strong> who need faster time-to-hire without breaking candidate experience, and <strong>IT / HRIS owners</strong> who must integrate new tools into an already-fragile stack. The output is a staged selection and adoption blueprint with a dynamic 6–11 phase plan, clear owners, risks, decision gates, and pilot structure.</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 reframes “requirements” as testable hypotheses and asks for workflow evidence before recommending tools or rollout steps.</li>
          <li>It applies Gartner-style evaluation lenses (fit, vendor viability, execution capability, roadmap) and converts them into concrete selection decisions.</li>
          <li>It chooses a dynamic rollout plan length (6–11 stages) based on complexity, urgency, and integration realities instead of forcing a fixed framework.</li>
          <li>It bakes behavior-change diagnosis into each phase, surfacing incentive misalignment, role friction, and adoption blockers that commonly derail HR tech.</li>
          <li>It pauses to ask targeted clarification questions when inputs like budget, timeframe, or tech stack are missing, so the plan stays grounded.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are selecting recruiting automation software and need a disciplined way to compare vendors beyond feature checklists.</li>
          <li>Your last HR tool rollout underperformed because adoption lagged, usage was inconsistent, or teams created workaround processes.</li>
          <li>Stakeholders disagree on what “good” looks like (speed, quality, compliance, or candidate experience), and you need decision gates.</li>
          <li>Integrations are a real constraint (ATS, HRIS, SSO, background checks), and you cannot afford a long, brittle implementation.</li>
          <li>You are scaling hiring volume, expanding locations, or centralizing TA, and informal processes are no longer surviving the load.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A 6–11 stage rollout blueprint with phase goals, entry criteria, exit criteria, and decision gates.</li>
           <li>A vendor evaluation matrix that translates Gartner lenses into practical scoring criteria and selection thresholds.</li>
           <li>A risk register with owners, early-warning indicators, and mitigation actions tied to adoption and integration.</li>
           <li>A pilot plan including cohort selection, success metrics, training approach, and feedback loops for iteration.</li>
           <li>A stakeholder and incentives map showing likely resistance points and how to reduce friction in real workflows.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Recruitment Automation Rollout Blueprint</h2>


<!-- Prompt file not found: /home/flowpast/htdocs/flowpast.com/wp-content/data/prompts_scraped/5006499/prompt-2026.txt -->

</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 workflow artifacts.</strong> Paste in your current recruiting steps (even messy ones): intake, sourcing, screening, scheduling, offers, and handoffs. If you can, include two examples: one “easy hire” and one “hard hire.” Then ask, “Point out where automation will increase speed but hurt decision quality.”</li>


<li><strong>Define constraints like a project manager, not a shopper.</strong> Budget and timeframe matter, but so does what cannot break (SSO, ATS data integrity, compliance checks). A useful follow-up is: “Assume [TIMEFRAME] is non-negotiable. What gets cut, what gets sequenced later, and what risks spike?”</li>


<li><strong>Force adoption economics into the plan.</strong> Give the model your incentive reality: recruiter quotas, hiring manager priorities, or approval bottlenecks. Try: “List the top 5 reasons recruiters will bypass the new workflow, and design one countermeasure per reason that does not rely on ‘more training.’”</li>


<li><strong>Iterate the stages after the first output.</strong> The prompt will pick 6–11 stages, but you can tune it. After the first draft, ask: “Now compress the plan by one stage without increasing operational risk, and explain what evidence you would require to do that safely.”</li>


<li><strong>Ask for two competing rollout strategies.</strong> One plan should be conservative (minimize disruption), the other aggressive (maximize speed). Use: “Give me Strategy A (risk-averse) and Strategy B (speed-first), each with different pilots, decision gates, and a clear ‘stop rule’ if adoption fails.” Frankly, this comparison prevents a lot of internal arguing later.</li>

</ul>

</div>

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

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



<p>Once your rollout blueprint is clear, these prompts help you document decisions, share rationale, and create stakeholder-ready artifacts:</p>



<p>If you also need a tight, executive-facing summary for the steering committee, <a href="https://flowpast.com/prompts/write-academic-paper-abstracts-with-this-ai-prompt/">Write Academic Paper Abstracts with this AI Prompt</a> is surprisingly useful. Use it to compress your rollout plan into a “problem, method, expected outcome” abstract that stakeholders can read in under a minute.</p>



<p>For teams doing deeper evaluation documentation (selection rationale, integration assumptions, risk evidence), <a href="https://flowpast.com/prompts/write-a-scholarly-paper-section-with-this-ai-prompt/">Write a Scholarly Paper Section with this AI Prompt</a> helps you draft clean sections like “Constraints,” “Method,” and “Limitations.” That structure maps well to HR tech programs where governance and audit trails matter.</p>



<p>When you’re preparing a more complete internal report that combines vendor scoring, pilot results, and a phased adoption plan, <a href="https://flowpast.com/prompts/write-a-journal-ready-research-paper-with-this-ai-prompt/">Write a Journal-Ready Research Paper with this AI Prompt</a> can turn your notes into a cohesive narrative. It’s a practical way to keep decision-making consistent across regions or business units.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/write-academic-paper-abstracts-with-this-ai-prompt/">Write Academic Paper Abstracts with this AI Prompt</a>: One-page executive summary structure.</li>


<li><a href="https://flowpast.com/prompts/write-an-academic-research-paper-ai-prompt/">Write an Academic Research Paper AI Prompt</a>: Full-length, structured internal report drafting.</li>


<li><a href="https://flowpast.com/prompts/write-a-scholarly-paper-section-with-this-ai-prompt/">Write a Scholarly Paper Section with this AI Prompt</a>: Constraints, methods, and limitations sections.</li>


<li><a href="https://flowpast.com/prompts/draft-a-conference-paper-with-this-ai-prompt/">Draft a Conference Paper with this AI Prompt</a>: Turn pilot results into a presentation narrative.</li>

<li><a href="https://flowpast.com/prompts/write-a-journal-ready-research-paper-with-this-ai-prompt/">Write a Journal-Ready Research Paper with this AI Prompt</a>: Cohesive documentation with evidence and outcomes.</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 recruitment automation rollout AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>HR Operations Managers</strong> use this to turn “we need automation” into a staged program with owners, gates, and measurable adoption outcomes. <strong>Talent Acquisition Leaders</strong> rely on it to protect recruiter capacity while still improving cycle time, quality signals, and hiring manager responsiveness. <strong>HRIS / IT Integration Leads</strong> find it valuable because it forces clarity on the current tech stack, integration systems, and what must be sequenced to reduce risk. <strong>People Analytics teams</strong> benefit when they need clean definitions of success metrics and instrumentation before the pilot begins.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this recruitment automation rollout AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>High-volume hourly hiring (retail, logistics, hospitality)</strong> gets value because automation decisions must balance speed with compliance, candidate drop-off, and scheduling realities. <strong>Healthcare organizations</strong> can use the phased approach to manage credentialing, background checks, and complex approval chains without forcing a “big bang” rollout. <strong>Enterprise SaaS and tech firms</strong> benefit when they need integrations across ATS, HRIS, and analytics tools while dealing with inconsistent hiring manager behavior across departments. <strong>Manufacturing and multi-site operators</strong> find it useful for standardizing intake, requisition approvals, and regional variations that otherwise create fragmented adoption.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for recruitment automation rollout planning produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like &#8220;<em>Write me a rollout plan for recruitment automation software</em>&#8221; fails because it: lacks hard constraints such as budget, timeframe, and current tech stack; provides no evaluation framework that ties vendor scoring to workflow evidence; ignores human behavior barriers like incentives, friction, and workarounds; produces generic phases instead of a dynamic 6–11 stage plan matched to complexity; and misses integration realities by not mapping dependencies across ATS, HRIS, SSO, and compliance tools. You end up with a nice-looking plan that cannot survive day-to-day recruiting pressure.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this recruitment automation rollout prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, and you should. The prompt is designed to ground recommendations in budget, timeframe, current tech stack, integration systems, and any compliance context you share; if those are missing, it will ask targeted questions before proceeding. For best results, add details like hiring volume, recruiter-to-requisition ratio, top bottlenecks (screening, scheduling, approvals), and which systems are “source of truth.” A strong follow-up is: “Given our constraints, propose two pilot scopes and tell me what evidence would make you expand or stop after 30 days.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this recruitment automation rollout prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is giving a vague tech stack instead of a specific one; “we use some ATS” is weak, while “Greenhouse + Workday, Okta SSO, Checkr, and Slack approvals” lets the plan address real integration dependencies. Another common error is omitting timeframe and budget entirely, which forces unrealistic sequencing; “ASAP” is not actionable, but “90 days to pilot, 6 months to scale, $80K year-one services” is. Teams also forget to describe adoption constraints, like hiring manager participation or recruiter bandwidth; “people will be trained” is thin, while “10 recruiters, 120 req/month, managers resist intake forms” leads to practical change tactics. Finally, many users ask for a tool recommendation without sharing workflow evidence, so the output becomes a generic list instead of a decision-ready blueprint.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this recruitment automation rollout prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn&#8217;t ideal for one-off purchases where you just need a quick shortlist, for teams that refuse to share constraints like timeframe and current systems, or for organizations that have not validated the core recruiting workflow they want to standardize. It also won’t replace vendor-specific implementation runbooks unless you provide the vendor and request that depth. If you only need messaging assets (training emails, comms templates), start with a communications-focused framework and then return to this prompt once the operating model is clear.</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 recruitment automation rollout AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "HR Operations Managers use this to turn “we need automation” into a staged program with owners, gates, and measurable adoption outcomes. Talent Acquisition Leaders rely on it to protect recruiter capacity while still improving cycle time, quality signals, and hiring manager responsiveness. HRIS / IT Integration Leads find it valuable because it forces clarity on the current tech stack, integration systems, and what must be sequenced to reduce risk. People Analytics teams benefit when they need clean definitions of success metrics and instrumentation before the pilot begins."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this recruitment automation rollout AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "High-volume hourly hiring (retail, logistics, hospitality) gets value because automation decisions must balance speed with compliance, candidate drop-off, and scheduling realities. Healthcare organizations can use the phased approach to manage credentialing, background checks, and complex approval chains without forcing a “big bang” rollout. Enterprise SaaS and tech firms benefit when they need integrations across ATS, HRIS, and analytics tools while dealing with inconsistent hiring manager behavior across departments. Manufacturing and multi-site operators find it useful for standardizing intake, requisition approvals, and regional variations that otherwise create fragmented adoption."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for recruitment automation rollout planning produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like \"Write me a rollout plan for recruitment automation software\" fails because it: lacks hard constraints such as budget, timeframe, and current tech stack; provides no evaluation framework that ties vendor scoring to workflow evidence; ignores human behavior barriers like incentives, friction, and workarounds; produces generic phases instead of a dynamic 6–11 stage plan matched to complexity; and misses integration realities by not mapping dependencies across ATS, HRIS, SSO, and compliance tools. You end up with a nice-looking plan that cannot survive day-to-day recruiting pressure."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this recruitment automation rollout prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, and you should. The prompt is designed to ground recommendations in budget, timeframe, current tech stack, integration systems, and any compliance context you share; if those are missing, it will ask targeted questions before proceeding. For best results, add details like hiring volume, recruiter-to-requisition ratio, top bottlenecks (screening, scheduling, approvals), and which systems are “source of truth.” A strong follow-up is: “Given our constraints, propose two pilot scopes and tell me what evidence would make you expand or stop after 30 days.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this recruitment automation rollout prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is giving a vague tech stack instead of a specific one; “we use some ATS” is weak, while “Greenhouse + Workday, Okta SSO, Checkr, and Slack approvals” lets the plan address real integration dependencies. Another common error is omitting timeframe and budget entirely, which forces unrealistic sequencing; “ASAP” is not actionable, but “90 days to pilot, 6 months to scale, $80K year-one services” is. Teams also forget to describe adoption constraints, like hiring manager participation or recruiter bandwidth; “people will be trained” is thin, while “10 recruiters, 120 req/month, managers resist intake forms” leads to practical change tactics. Finally, many users ask for a tool recommendation without sharing workflow evidence, so the output becomes a generic list instead of a decision-ready blueprint."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this recruitment automation rollout prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn't ideal for one-off purchases where you just need a quick shortlist, for teams that refuse to share constraints like timeframe and current systems, or for organizations that have not validated the core recruiting workflow they want to standardize. It also won’t replace vendor-specific implementation runbooks unless you provide the vendor and request that depth. If you only need messaging assets (training emails, comms templates), start with a communications-focused framework and then return to this prompt once the operating model is clear."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Recruiting automation succeeds when the tool fits the workflow and the workflow fits the humans using it. Paste this prompt into your AI tool, answer the clarifying questions, and build a rollout plan that actually survives contact with the real world.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5003190.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Write API Usage Guides Developers Trust AI Prompt</title>
		<link>https://flowpast.com/prompts/write-api-usage-guides-developers-trust-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:49:10 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001599</guid>

					<description><![CDATA[API docs confuse callers - a proven AI Prompt that turns any function signature into a safe, maintainer-friendly usage guide. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: API usage guides -->
<div class="hook-introduction">

<p>Most API usage docs don’t fail because the writer is “bad.” They fail because they describe what a function <em>is</em>, not how to call it safely. So developers ship guesses, edge cases slip into production, and the maintainer gets paged later.</p>



<p>This <strong>API usage guides</strong> is built for <strong>platform engineers</strong> maintaining legacy endpoints with unclear intent, <strong>SDK maintainers</strong> who need consistent guidance across a growing surface area, and <strong>product engineers</strong> integrating an unfamiliar module under deadline pressure. The output is a scannable, maintainer-friendly guide that explains parameter intent, safe defaults, misuse risks, and practical call examples (plus targeted questions when details are missing).</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 converts a function or method signature into a “how to call it correctly” usage guide, not just a restatement of parameters.</li>
          <li>It performs a short pre-analysis that flags missing context, highlights risks, and separates assumptions from facts that need confirmation.</li>
          <li>It triages the interface and breaks the explanation into 4–14 stages based on complexity, coupling, and likelihood of misuse.</li>
          <li>It extracts the role of each parameter (selector, config, callback, context, destination) and spells out implied invariants and constraints.</li>
          <li>It documents safe patterns and misuse cases, so the interface becomes harder to call incorrectly and easier to maintain later.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You inherit a legacy module and the only “documentation” is a signature plus a few brittle call sites.</li>
          <li>A new internal API is being adopted across teams, and you need consistent guidance that prevents foot-guns.</li>
          <li>Support tickets show recurring integration mistakes, and you want docs that address the failures directly.</li>
          <li>You are shipping an SDK and need language-norm-aware guidance (nullability, optional args, naming) without inventing details.</li>
          <li>A function has many interacting parameters and reviews keep stalling on “what does this flag even do?”</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A structured usage guide with a pre-analysis section plus a staged breakdown (4–14 sections, sized to the interface).</li>
           <li>A parameter-by-parameter meaning map that explains intent, constraints, and how each input affects behavior.</li>
           <li>At least 2 ready-to-copy call examples (a safe “default” call and a more advanced call), formatted for the target language.</li>
           <li>A “Misuse to avoid” checklist with concrete failure modes (null traps, invalid combinations, unsafe defaults, ordering issues).</li>
           <li>A targeted questions list that a maintainer can answer to finalize docs without guesswork.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Maintainer-Friendly API Usage Guide 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>[FUNCTION_SIGNATURE]</code></td>
                                <td class="var-desc">
                                    Provide the full function or method signature, including its name, parameters, and return type as used in the code.                                    <div class="var-example">For example: "def calculate_tax(amount: float, tax_rate: float) -&gt; float"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[FUNCTION_SIGNATURE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PROGRAMMING_LANGUAGE]</code></td>
                                <td class="var-desc">
                                    Specify the programming language in which the function is written to ensure the documentation aligns with its conventions and syntax.                                    <div class="var-example">For example: "Python"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[PROGRAMMING_LANGUAGE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Describe the broader context where this function is used, including its purpose in the system or application.                                    <div class="var-example">For example: "Used in a financial application to calculate tax amounts for invoices."</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">
                                    Define the primary user group for the documentation, including their expertise level and role (e.g., developers, maintainers).                                    <div class="var-example">For example: "Mid-level Python developers maintaining legacy financial systems."</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>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Explain the specific difficulties or risks the audience faces when using this function, such as parameter misuse or edge cases.                                    <div class="var-example">For example: "Incorrect tax rate formats or failure to handle edge cases like negative amounts."</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>[BRAND_VOICE]</code></td>
                                <td class="var-desc">
                                    Describe the tone and style of the documentation, including any specific guidelines for phrasing or terminology.                                    <div class="var-example">For example: "Calm, precise, and focused on clarity for maintainers. Avoid jargon and prioritize actionable guidance."</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>[FORMAT]</code></td>
                                <td class="var-desc">
                                    Specify the desired format for the documentation output, such as plain text, Markdown, or structured JSON.                                    <div class="var-example">For example: "Markdown with code blocks for examples."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[FORMAT]"
                                            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">0) 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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Interface Triage</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">2) Parameter Meaning Extraction</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">3) Couplings &amp; Invalid Combinations</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">4) Value Rules &amp; Boundary Behavior</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">5) Behavior &amp; Consequences</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">6) Usage Patterns Library</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">7) Misuse-Proofing</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">8) Final Assembly</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</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">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></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">{Function Name}</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">{Signature}</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">{Parameters}</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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">{Ordering Rationale}</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">{Usage Examples}</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">{Common Mistakes}</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">{Best Practices}</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">{Pre-Call Safety 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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">{Follow-Up Questions (If Needed)}</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">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
Turn any provided function/method signature into maintainer-friendly documentation that explains *how to use it correctly*, *why each parameter exists*, and *how to avoid misuse*. The result should make the interface feel obvious, safe, and hard to call incorrectly.

## PERSONA
You are a seasoned **API Interface Curator**: a veteran systems engineer who specializes in decoding legacy interfaces and translating them into practical, modern developer guidance. Your style is calm, precise, and geared toward helping future maintainers understand intent—not just syntax.

## CONSTRAINTS
- Write for the **primary user segment** specified by the user (or infer it).
- Follow the norms of the stated programming language (naming conventions, nullability, optional args, etc.).
- Prefer clarity over cleverness; explain intent, tradeoffs, and safe usage.
- If information is missing, do not invent specifics—ask targeted questions or label assumptions explicitly.
- Avoid long essays; organize content so it can be scanned quickly.
- **What This Is NOT:** a full rewrite/refactor of the function, a complete system design document, or a tutorial on the programming language itself.

## PROCESS
### 0) Pre-Analysis (required)
Before producing the documentation, briefly state your understanding of:
- what the function appears to do,
- what details are missing,
- what you will assume vs what you need confirmed.

### 1) Interface Triage
Assess the signature’s difficulty and choose an appropriate breakdown plan:
- Determine the number of stages dynamically (roughly **4–14 stages**, depending on parameter count, coupling, and domain risk).
- Increase stages when parameters interact heavily or misuse is likely.
- Decrease stages when the interface is small and straightforward.

### 2) Parameter Meaning Extraction
For each parameter:
- Identify its role (input, configuration, selector, callback, context, destination, etc.).
- Note implied invariants (must be non-empty, must be sorted, must match length of X, etc.).
- Call out defaults and “silent behaviors” (what happens when omitted/zero/empty/null).

### 3) Couplings &amp; Invalid Combinations
Explain:
- dependencies (A required when B is set),
- mutually exclusive combinations,
- ordering logic (why the args are arranged this way—frequency, grouping, legacy compatibility, etc.).

### 4) Value Rules &amp; Boundary Behavior
Document:
- accepted ranges/formats,
- conversions/coercions,
- null/empty semantics,
- boundary conditions and edge cases.

### 5) Behavior &amp; Consequences
Map parameters to outcomes:
- output variations,
- side effects,
- performance or resource implications,
- error/exception modes.

### 6) Usage Patterns Library
Provide:
- common “good” call shapes,
- recommended defaults and safer options,
- anti-patterns and what to use instead.

### 7) Misuse-Proofing
Create:
- a pre-call checklist,
- validation suggestions,
- debugging tips keyed to parameter mistakes.

### 8) Final Assembly
Produce the complete documentation using the deliverable structure below.

### Edge Case Handling
If any of the following occur, respond accordingly:
- **Missing signature or language:** request them before proceeding.
- **Unknown parameter semantics:** ask 3–8 focused questions (not a long survey).
- **Conflicting user context:** list conflicts and propose a resolution path.
- **Overloaded/generic signatures:** document per overload or per type scenario, clearly separated.

## INPUTS
- **Function or method signature (include return type when available):** [FUNCTION_SIGNATURE]
- **Programming language:** [PROGRAMMING_LANGUAGE]
- **What the function is supposed to do (brief):** [CONTEXT]
- **Primary user segment (e.g., junior devs, SDK users, internal platform team):** [TARGET_AUDIENCE]
- **Any known parameter gotchas, constraints, defaults, or domain rules:** [CHALLENGE]
- **Preferred writing style (e.g., terse reference, friendly handbook, strict spec):** [BRAND_VOICE]
- **Desired output length/shape (if you have one):** [FORMAT]

## OUTPUT SPECIFICATION
Your output must be a single, cohesive usage guide with these sections:

### {Function Name}
- **Intent:** {Intent Summary}
- **When to use:** {When To Use}
- **When not to use:** {When Not To Use}

### {Signature}
```text
{Full Signature}
```

### {Parameters}
For each parameter, provide:

#### {Parameter Name}
- **Role:** {Role}
- **Type / shape:** {Type}
- **Required?** {Required}
- **Allowed values &amp; format:** {Valid Values}
- **Defaults &amp; omissions:** {Defaults}
- **Interactions:** {Dependencies}
- **Behavior impact:** {Behavior Impact}
- **Failure modes:** {Failure Modes}
- **Example call snippet:** {Parameter Example}

### {Ordering Rationale}
{Ordering Explanation}

### {Usage Examples}
#### {Example 1 Title}
```text
{Example 1 Code}
```
- **Why this is the “normal” call:** {Example 1 Notes}

#### {Example 2 Title}
```text
{Example 2 Code}
```
- **What’s different and why:** {Example 2 Notes}

### {Common Mistakes}
- {Mistake 1} — {Avoidance 1}
- {Mistake 2} — {Avoidance 2}
- {Mistake 3} — {Avoidance 3}

### {Best Practices}
- {Best Practice 1}
- {Best Practice 2}
- {Best Practice 3}

### {Pre-Call Safety Checklist}
- {Checklist Item 1}
- {Checklist Item 2}
- {Checklist Item 3}
- {Checklist Item 4}

### {Follow-Up Questions (If Needed)}
If anything is ambiguous, list the minimum set of questions required to finalize the guide: {Questions}

## QUALITY CHECKS
At the end, verify:
- The documentation matches the provided language conventions and terminology.
- Every parameter has purpose, constraints, and at least one safe example.
- All dependencies/invalid combinations are explicitly called out.
- At least one common path and one advanced/edge path example are included.
- Unknowns are labeled as assumptions or turned into clear follow-up questions.            </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\nTurn any provided function\/method signature into maintainer-friendly documentation that explains *how to use it correctly*, *why each parameter exists*, and *how to avoid misuse*. The result should make the interface feel obvious, safe, and hard to call incorrectly.\r\n\r\n## PERSONA\r\nYou are a seasoned **API Interface Curator**: a veteran systems engineer who specializes in decoding legacy interfaces and translating them into practical, modern developer guidance. Your style is calm, precise, and geared toward helping future maintainers understand intent\u2014not just syntax.\r\n\r\n## CONSTRAINTS\r\n- Write for the **primary user segment** specified by the user (or infer it).\r\n- Follow the norms of the stated programming language (naming conventions, nullability, optional args, etc.).\r\n- Prefer clarity over cleverness; explain intent, tradeoffs, and safe usage.\r\n- If information is missing, do not invent specifics\u2014ask targeted questions or label assumptions explicitly.\r\n- Avoid long essays; organize content so it can be scanned quickly.\r\n- **What This Is NOT:** a full rewrite\/refactor of the function, a complete system design document, or a tutorial on the programming language itself.\r\n\r\n## PROCESS\r\n### 0) Pre-Analysis (required)\r\nBefore producing the documentation, briefly state your understanding of:\r\n- what the function appears to do,\r\n- what details are missing,\r\n- what you will assume vs what you need confirmed.\r\n\r\n### 1) Interface Triage\r\nAssess the signature\u2019s difficulty and choose an appropriate breakdown plan:\r\n- Determine the number of stages dynamically (roughly **4\u201314 stages**, depending on parameter count, coupling, and domain risk).\r\n- Increase stages when parameters interact heavily or misuse is likely.\r\n- Decrease stages when the interface is small and straightforward.\r\n\r\n### 2) Parameter Meaning Extraction\r\nFor each parameter:\r\n- Identify its role (input, configuration, selector, callback, context, destination, etc.).\r\n- Note implied invariants (must be non-empty, must be sorted, must match length of X, etc.).\r\n- Call out defaults and \u201csilent behaviors\u201d (what happens when omitted\/zero\/empty\/null).\r\n\r\n### 3) Couplings & Invalid Combinations\r\nExplain:\r\n- dependencies (A required when B is set),\r\n- mutually exclusive combinations,\r\n- ordering logic (why the args are arranged this way\u2014frequency, grouping, legacy compatibility, etc.).\r\n\r\n### 4) Value Rules & Boundary Behavior\r\nDocument:\r\n- accepted ranges\/formats,\r\n- conversions\/coercions,\r\n- null\/empty semantics,\r\n- boundary conditions and edge cases.\r\n\r\n### 5) Behavior & Consequences\r\nMap parameters to outcomes:\r\n- output variations,\r\n- side effects,\r\n- performance or resource implications,\r\n- error\/exception modes.\r\n\r\n### 6) Usage Patterns Library\r\nProvide:\r\n- common \u201cgood\u201d call shapes,\r\n- recommended defaults and safer options,\r\n- anti-patterns and what to use instead.\r\n\r\n### 7) Misuse-Proofing\r\nCreate:\r\n- a pre-call checklist,\r\n- validation suggestions,\r\n- debugging tips keyed to parameter mistakes.\r\n\r\n### 8) Final Assembly\r\nProduce the complete documentation using the deliverable structure below.\r\n\r\n### Edge Case Handling\r\nIf any of the following occur, respond accordingly:\r\n- **Missing signature or language:** request them before proceeding.\r\n- **Unknown parameter semantics:** ask 3\u20138 focused questions (not a long survey).\r\n- **Conflicting user context:** list conflicts and propose a resolution path.\r\n- **Overloaded\/generic signatures:** document per overload or per type scenario, clearly separated.\r\n\r\n## INPUTS\r\n- **Function or method signature (include return type when available):** [FUNCTION_SIGNATURE]\r\n- **Programming language:** [PROGRAMMING_LANGUAGE]\r\n- **What the function is supposed to do (brief):** [CONTEXT]\r\n- **Primary user segment (e.g., junior devs, SDK users, internal platform team):** [TARGET_AUDIENCE]\r\n- **Any known parameter gotchas, constraints, defaults, or domain rules:** [CHALLENGE]\r\n- **Preferred writing style (e.g., terse reference, friendly handbook, strict spec):** [BRAND_VOICE]\r\n- **Desired output length\/shape (if you have one):** [FORMAT]\r\n\r\n## OUTPUT SPECIFICATION\r\nYour output must be a single, cohesive usage guide with these sections:\r\n\r\n### {Function Name}\r\n- **Intent:** {Intent Summary}\r\n- **When to use:** {When To Use}\r\n- **When not to use:** {When Not To Use}\r\n\r\n### {Signature}\r\n```text\r\n{Full Signature}\r\n```\r\n\r\n### {Parameters}\r\nFor each parameter, provide:\r\n\r\n#### {Parameter Name}\r\n- **Role:** {Role}\r\n- **Type \/ shape:** {Type}\r\n- **Required?** {Required}\r\n- **Allowed values & format:** {Valid Values}\r\n- **Defaults & omissions:** {Defaults}\r\n- **Interactions:** {Dependencies}\r\n- **Behavior impact:** {Behavior Impact}\r\n- **Failure modes:** {Failure Modes}\r\n- **Example call snippet:** {Parameter Example}\r\n\r\n### {Ordering Rationale}\r\n{Ordering Explanation}\r\n\r\n### {Usage Examples}\r\n#### {Example 1 Title}\r\n```text\r\n{Example 1 Code}\r\n```\r\n- **Why this is the \u201cnormal\u201d call:** {Example 1 Notes}\r\n\r\n#### {Example 2 Title}\r\n```text\r\n{Example 2 Code}\r\n```\r\n- **What\u2019s different and why:** {Example 2 Notes}\r\n\r\n### {Common Mistakes}\r\n- {Mistake 1} \u2014 {Avoidance 1}\r\n- {Mistake 2} \u2014 {Avoidance 2}\r\n- {Mistake 3} \u2014 {Avoidance 3}\r\n\r\n### {Best Practices}\r\n- {Best Practice 1}\r\n- {Best Practice 2}\r\n- {Best Practice 3}\r\n\r\n### {Pre-Call Safety Checklist}\r\n- {Checklist Item 1}\r\n- {Checklist Item 2}\r\n- {Checklist Item 3}\r\n- {Checklist Item 4}\r\n\r\n### {Follow-Up Questions (If Needed)}\r\nIf anything is ambiguous, list the minimum set of questions required to finalize the guide: {Questions}\r\n\r\n## QUALITY CHECKS\r\nAt the end, verify:\r\n- The documentation matches the provided language conventions and terminology.\r\n- Every parameter has purpose, constraints, and at least one safe example.\r\n- All dependencies\/invalid combinations are explicitly called out.\r\n- At least one common path and one advanced\/edge path example are included.\r\n- Unknowns are labeled as assumptions or turned into clear follow-up questions.";
    const variables = ["[FUNCTION_SIGNATURE]","[PROGRAMMING_LANGUAGE]","[CONTEXT]","[TARGET_AUDIENCE]","[CHALLENGE]","[BRAND_VOICE]","[FORMAT]"];
    // 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>Paste the signature and one real call site.</strong> The prompt can infer intent from names, but a real usage example exposes defaults and common combinations. After you paste both, ask: “Point out which arguments in the call are risky or ambiguous, and why.”</li>


<li><strong>Specify the primary user segment up front.</strong> “Write this for app developers integrating the SDK” leads to different guidance than “write this for maintainers extending the module.” A useful follow-up is: “Rewrite the guide for on-call engineers debugging production incidents, keep it short, add failure signals.”</li>


<li><strong>Force it to label assumptions, then resolve them.</strong> If you do not want invented behavior, tell it to treat unknowns as unknowns. Try: “In the pre-analysis, mark assumptions as ASSUMPTION and add 5 questions I can answer to remove them.”</li>


<li><strong>Iterate on parameter interactions, not wording.</strong> The best docs explain combinations and constraints (“A requires B”, “C is ignored when D is true”). After the first output, try asking: “Now make the interaction rules explicit, and add 3 invalid combinations with the expected error behavior.”</li>


<li><strong>Ask for a copy-ready section that matches your repo style.</strong> If your docs live in README.md, Javadoc, or docstrings, request the right format. Example: “Output a docstring version (language-idiomatic) plus a README section with headings: Summary, Parameters, Safe Defaults, Misuse, Examples.”</li>

</ul>

</div>

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

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



<p>If you’re standardizing how people learn and follow processes, these prompts pair well with maintainable API documentation.</p>



<p>If you also need a consistent ramp-up experience for new engineers who will be reading (and trusting) your docs, <a href="https://flowpast.com/prompts/build-a-full-employee-onboarding-journey-with-this-ai-prompt/">Build a Full Employee Onboarding Journey with this AI Prompt</a> helps you map the full path from day-one access to first meaningful contribution. It’s a practical complement when documentation is part of how your team prevents mistakes.</p>



<p>For teams doing enablement across multiple roles, <a href="https://flowpast.com/prompts/build-new-hire-onboarding-curriculum-with-this-ai-prompt/">Build New Hire Onboarding Curriculum with this AI Prompt</a> is useful when you want to turn “here are the docs” into an actual sequence of lessons, exercises, and checkpoints. That’s especially handy when your API surface is large and people learn it in slices.</p>



<p>When onboarding friction is the real problem (slow access, unclear ownership, missing steps), <a href="https://flowpast.com/prompts/build-a-frictionless-onboarding-journey-with-this-ai-prompt/">Build a Frictionless Onboarding Journey with this AI Prompt</a> helps identify where handoffs and ambiguity break momentum. Clean docs plus a clean journey is an underrated combo, honestly.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/build-a-full-employee-onboarding-journey-with-this-ai-prompt/">Build a Full Employee Onboarding Journey with this AI Prompt</a>: Map end-to-end new hire journey steps.</li>


<li><a href="https://flowpast.com/prompts/build-new-hire-onboarding-curriculum-with-this-ai-prompt/">Build New Hire Onboarding Curriculum with this AI Prompt</a>: Turn onboarding into lessons and checkpoints.</li>


<li><a href="https://flowpast.com/prompts/build-a-frictionless-onboarding-journey-with-this-ai-prompt/">Build a Frictionless Onboarding Journey with this AI Prompt</a>: Remove blockers from onboarding flow.</li>


<li><a href="https://flowpast.com/prompts/design-an-employee-onboarding-workflow-with-this-ai-prompt/">Design an Employee Onboarding Workflow with this AI Prompt</a>: Define owners, steps, and handoffs.</li>


<li><a href="https://flowpast.com/prompts/build-an-onboarding-retention-workflow-with-this-ai-prompt/">Build an Onboarding Retention Workflow with this AI Prompt</a>: Improve retention with structured follow-through.</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 API usage guides AI prompt?</span>

<p class="answer"><strong>SDK Maintainers</strong> use this to ship consistent, safe usage guidance across many functions without rewriting everything by hand. <strong>Platform Engineers</strong> rely on it when they inherit legacy interfaces and need to document intent and constraints before refactoring. <strong>Developer Experience (DX) Writers</strong> get a structured draft that’s already organized around “safe calls” and “misuse to avoid,” which is what readers actually need. <strong>Senior Product Engineers</strong> use it during integration reviews to clarify parameter interactions and reduce the odds of subtle production bugs.</p>

</div>

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

<p class="answer"><strong>SaaS companies</strong> use it to reduce support load by documenting correct integration patterns and common mistakes for public APIs and SDKs. <strong>Fintech teams</strong> apply it when parameters encode compliance-sensitive choices (idempotency keys, authentication context, retry semantics) and “almost correct” is still dangerous. <strong>Healthcare and health tech</strong> benefit when interfaces touch regulated data, where safe defaults and clear invariants matter more than clever examples. <strong>Enterprise B2B platforms</strong> get value because internal APIs often outlive the original authors, and maintainers need assumptions labeled clearly.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for writing API usage guides produce weak results?</span>

<p class="answer">A typical prompt like “<em>Write me documentation for this function</em>” fails because it: lacks a pre-analysis step to separate unknowns from facts, provides no staged breakdown to handle complexity, ignores parameter interactions (the real source of bugs), produces generic prose instead of safe call patterns and misuse warnings, and misses the “ask targeted questions, don’t invent” discipline. You end up with something that looks like docs but doesn’t prevent incorrect calls. That’s the gap this prompt is designed to close.</p>

</div>

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

<p class="answer">Yes. The biggest lever is the “primary user segment” and the programming language norms, because those choices affect examples, terminology, and what “safe defaults” even means. You can also supply extra context (one call site, error messages, invariants, expected side effects) so the prompt can reduce assumptions and ask fewer questions. After the first draft, a strong follow-up is: “Rewrite this as a copy-ready docstring for our codebase, then add a short README section with a Misuse checklist and two examples.”</p>

</div>

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

<p class="answer">The biggest mistake is pasting only a name and expecting accurate intent; “doStuff(user, flag)” is too vague, while “createInvoice(customerId: UUID, lineItems: LineItem[], dueDate?: ISODate, opts?: CreateInvoiceOptions)” gives the model real constraints to reason about. Another common error is omitting the target language and user segment, which leads to mismatched conventions and unhelpful examples; “TypeScript for SDK consumers” is far better than “any language.” People also skip real-world failure context; include at least one error message or misuse you’ve seen, not just the signature. Finally, teams forget to answer the prompt’s targeted questions, so assumptions remain and the docs stay “almost” trustworthy.</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this API usage guides prompt?</span>

<p class="answer">This prompt isn’t ideal for one-off snippets where the function will be thrown away next week, or for situations where you cannot share even a signature due to policy constraints. It’s also not a replacement for full system design docs when the problem is architecture, not usage. If you simply need boilerplate reference docs with no emphasis on safe calling patterns, a lightweight doc generator may be faster.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this API usage guides AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SDK Maintainers use this to ship consistent, safe usage guidance across many functions without rewriting everything by hand. Platform Engineers rely on it when they inherit legacy interfaces and need to document intent and constraints before refactoring. Developer Experience (DX) Writers get a structured draft that’s already organized around “safe calls” and “misuse to avoid,” which is what readers actually need. Senior Product Engineers use it during integration reviews to clarify parameter interactions and reduce the odds of subtle production bugs."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this API usage guides AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS companies use it to reduce support load by documenting correct integration patterns and common mistakes for public APIs and SDKs. Fintech teams apply it when parameters encode compliance-sensitive choices (idempotency keys, authentication context, retry semantics) and “almost correct” is still dangerous. Healthcare and health tech benefit when interfaces touch regulated data, where safe defaults and clear invariants matter more than clever examples. Enterprise B2B platforms get value because internal APIs often outlive the original authors, and maintainers need assumptions labeled clearly."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for writing API usage guides produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me documentation for this function” fails because it: lacks a pre-analysis step to separate unknowns from facts, provides no staged breakdown to handle complexity, ignores parameter interactions (the real source of bugs), produces generic prose instead of safe call patterns and misuse warnings, and misses the “ask targeted questions, don’t invent” discipline. You end up with something that looks like docs but doesn’t prevent incorrect calls. That’s the gap this prompt is designed to close."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this API usage guides prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The biggest lever is the “primary user segment” and the programming language norms, because those choices affect examples, terminology, and what “safe defaults” even means. You can also supply extra context (one call site, error messages, invariants, expected side effects) so the prompt can reduce assumptions and ask fewer questions. After the first draft, a strong follow-up is: “Rewrite this as a copy-ready docstring for our codebase, then add a short README section with a Misuse checklist and two examples.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this API usage guides prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is pasting only a name and expecting accurate intent; “doStuff(user, flag)” is too vague, while “createInvoice(customerId: UUID, lineItems: LineItem[], dueDate?: ISODate, opts?: CreateInvoiceOptions)” gives the model real constraints to reason about. Another common error is omitting the target language and user segment, which leads to mismatched conventions and unhelpful examples; “TypeScript for SDK consumers” is far better than “any language.” People also skip real-world failure context; include at least one error message or misuse you’ve seen, not just the signature. Finally, teams forget to answer the prompt’s targeted questions, so assumptions remain and the docs stay “almost” trustworthy."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this API usage guides prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off snippets where the function will be thrown away next week, or for situations where you cannot share even a signature due to policy constraints. It’s also not a replacement for full system design docs when the problem is architecture, not usage. If you simply need boilerplate reference docs with no emphasis on safe calling patterns, a lightweight doc generator may be faster."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Good API docs prevent mistakes before they happen. Paste your signature into the prompt, answer the targeted questions it asks, and publish something developers will actually trust.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001599.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Sales Analytics Playbook with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-sales-analytics-playbook-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:48:29 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001128</guid>

					<description><![CDATA[Sales workflows feel messy - use this AI Prompt to create a metrics-led playbook that streamlines pipeline steps and KPIs. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: sales analytics playbook -->
<div class="hook-introduction">

<p>Most sales teams have data. They just don’t have a system. Reports live in different tools, dashboards contradict each other, and “pipeline hygiene” becomes the default explanation for missed targets.</p>



<p>This <strong>sales analytics playbook</strong> is built for <strong>Sales Operations Managers</strong> who need to standardize stages and KPIs across reps, <strong>Revenue Leaders</strong> who want forecasting and pipeline decisions tied to measurable signals, and <strong>Consultants</strong> who must deliver a clear, metrics-led process for a client in a specific industry. The output is a structured playbook: data sources, workflow stages, decision signals, KPI definitions (with targets and review cadence), and operating standards your team can implement.</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 translates an industry’s sales reality into a measurable optimization plan, instead of generic “best practices.”</li>
          <li>It designs data inputs by source (CRM, product, billing, call recordings), then maps each input to metrics your team can extract.</li>
          <li>It rebuilds the sales workflow into explicit stages and substeps, and assigns data signals that trigger decisions at each step.</li>
          <li>It defines a measurement system with KPIs, formulas when useful, targets, and a review cadence you can run weekly and monthly.</li>
          <li>It applies dependency-grammar style so every recommendation has a clear subject, action, and object with tight cause-and-effect links.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>Your pipeline stages exist, but reps interpret them differently and you cannot trust conversion rates.</li>
          <li>Leadership wants “data-driven sales,” yet the team cannot agree on which metrics matter and what actions they imply.</li>
          <li>You’re rolling out a new CRM, forecasting model, or revenue process and need definitions before you enforce compliance.</li>
          <li>Win rates are flat while activity is up, and you suspect lead quality, deal qualification, or cycle friction is the real issue.</li>
          <li>You’re scaling headcount and onboarding speed matters, so you need a repeatable system that new reps can follow.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A full sales analytics playbook outline with 6 sections (pre-analysis through operating standards), ready to copy into your docs.</li>
           <li>A data-source map listing 6–10 sources with what each captures and which metrics come from each.</li>
           <li>A stage-by-stage workflow showing actions, owners, required fields, and decision signals (e.g., thresholds or flags) per stage.</li>
           <li>A KPI catalog of 12–20 metrics with definitions, formulas where relevant, targets, and review frequency.</li>
           <li>A standards checklist with immediate best practices tied to metrics, so coaching and audits stay objective.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Sales Analytics 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>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry for which the sales workflow playbook will be tailored. Be as specific as possible to ensure relevance.                                    <div class="var-example">For example: "Healthcare technology, specifically telemedicine platforms."</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>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide background information, existing tools or systems, and any constraints or goals relevant to the sales workflow.                                    <div class="var-example">For example: "The company uses Salesforce and HubSpot, with a small team of sales reps focused on enterprise clients. Budget constraints limit hiring additional staff."</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>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    State the main outcome the sales team wants to achieve through the playbook. This could include improving efficiency, increasing conversion rates, or reducing churn.                                    <div class="var-example">For example: "Increase conversion rates from qualified leads by 15% within six months."</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>[TONE]</code></td>
                                <td class="var-desc">
                                    Indicate the tone or style in which the playbook should be written, such as formal, conversational, or data-driven.                                    <div class="var-example">For example: "Crisp and professional, with a focus on actionable insights."</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>[FORMAT]</code></td>
                                <td class="var-desc">
                                    Specify the preferred length or level of detail for the playbook, such as a high-level overview or an in-depth guide.                                    <div class="var-example">For example: "A detailed 10-page document with step-by-step instructions and data-backed recommendations."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[FORMAT]"
                                            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></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></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">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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Industry Overview</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">2) Data Collection Strategies</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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">3) Sales Process Optimization (staged workflow)</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">4) KPIs and Metrics</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) Best Practices (implementation-ready)</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 practical, data-backed playbook that shows how to use measurable insights to simplify, standardize, and improve the sales workflow within a chosen industry. The playbook must read cleanly and logically by applying dependency-grammar thinking (clear subject → action → object relationships; minimal ambiguity; tight linkage between claims and evidence).

## PERSONA
You are a sales-operations and revenue-analytics specialist who designs measurable, repeatable sales systems. Your writing style is crisp, systems-oriented, and grounded in metrics. You explain complex topics by chaining ideas in simple, unambiguous sentences.

## CONSTRAINTS
- Use **markdown only** (headings, bullets, tables). Do **not** use XML tags.
- Every recommendation must connect to **data inputs** (what to measure, why it matters, how to use it).
- Keep content specific to **[INDUSTRY]**; exclude broad “sales tips” that don’t translate into measurable process changes.
- Apply dependency-grammar principles:
  - Prefer short sentences with explicit subjects and verbs.
  - Keep cause → effect links explicit (e.g., “{Metric} increases, so {Process Change} is required.”).
  - Avoid vague referents (“this,” “that,” “it”) when the noun can be repeated.

## PROCESS
1. **Pre-analysis (required):** Restate your understanding of [INDUSTRY] and the user’s goal in 3–5 bullet points. List assumptions you will use.
2. **Industry grounding:** Summarize the sales environment, then name the constraints that shape data-driven optimization.
3. **Data design:** Specify data sources, what each source captures, and the metrics that will be extracted.
4. **Workflow engineering:** Lay out an improved sales process in stages, with substeps and the exact data signals that inform each decision.
5. **Measurement system:** Define KPIs, formulas (when helpful), targets, and how often to review them.
6. **Operating standards:** Provide best practices that can be implemented immediately, each tied to a metric and an expected outcome.
7. **Edge cases:** If any input is missing or unclear, propose 2–3 plausible options and proceed with the most conservative choice. Clearly label what you inferred.

### What This Is NOT
- Not a generic sales training lesson or motivational guide.
- Not an implementation of a specific CRM/BI tool unless the user provides it in [CONTEXT].
- Not a legal, compliance, or privacy policy document (you may note common considerations, but do not draft policies).
- Not a promise of performance outcomes without stating assumptions and measurement requirements.

## INPUTS
- **Industry to tailor the guide to:** [INDUSTRY]
- **Background, existing stack, constraints, or goals (optional):** [CONTEXT]
- **Primary outcome the sales team wants (optional):** [PRIMARY_GOAL]
- **Preferred tone (optional):** [TONE]
- **Desired format length or level of detail (optional):** [FORMAT]

## OUTPUT SPECIFICATION
Deliver a markdown guide with the following sections and structures:

### 1) Industry Overview
- **Sales landscape in [INDUSTRY]**
  - {Key Characteristics}
  - {Market Trends}
- **Data-driven opportunities**
  - {Opportunities List}
- **Constraints and challenges**
  - {Challenges List}
  - {Implications For Measurement}

### 2) Data Collection Strategies
Provide a numbered list of at least three sources in this format:
1. **{Data Source Name}:** {Source Description}  
   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}
2. **{Data Source Name}:** {Source Description}  
   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}
3. **{Data Source Name}:** {Source Description}  
   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}

Include for each source:
- {Collection Method} (manual, automated, enrichment, integrations)
- {Data Quality Checks} (completeness, accuracy, timeliness)
- {Owner} (role accountable for upkeep)

### 3) Sales Process Optimization (staged workflow)
Provide **three stages** (rename stages to fit [INDUSTRY]) with the structure below:

#### Stage A: {Process Stage Name}
- **Substep A1:** {Description}
- **Substep A2:** {Description}
- **Data signals and decisions:**
  - {Data Point} → {Interpretation} → {Action}

#### Stage B: {Process Stage Name}
- **Substep B1:** {Description}
- **Substep B2:** {Description}
- **Data signals and decisions:**
  - {Data Point} → {Interpretation} → {Action}

#### Stage C: {Process Stage Name}
- **Substep C1:** {Description}
- **Substep C2:** {Description}
- **Data signals and decisions:**
  - {Data Point} → {Interpretation} → {Action}

### 4) KPIs and Metrics
Provide a markdown table:

| KPI / Metric | What it measures | How to calculate | Target | Review cadence | Primary owner |
|---|---|---|---|---|---|
| {KPI 1} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |
| {KPI 2} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |
| {KPI 3} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |

### 5) Best Practices (implementation-ready)
List at least three items using checkmarks:
- ✓ **{Best Practice Name}:** {What to do}  
  - **Data dependency:** {Required Data}  
  - **Expected effect:** {Metric Movement}  
  - **First step:** {Immediate Action}

## QUALITY CHECKS
At the end, include a short validation list that confirms:
- Dependency-grammar clarity: sentences have explicit subjects/verbs; minimal ambiguous pronouns.
- Every stage includes at least one measurable data signal tied to a decision/action.
- KPIs have targets and review cadences, and owners are assigned.
- Content is tailored to [INDUSTRY] and avoids generic filler.
- Any assumptions or inferred details are clearly labeled.            </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, data-backed playbook that shows how to use measurable insights to simplify, standardize, and improve the sales workflow within a chosen industry. The playbook must read cleanly and logically by applying dependency-grammar thinking (clear subject \u2192 action \u2192 object relationships; minimal ambiguity; tight linkage between claims and evidence).\r\n\r\n## PERSONA\r\nYou are a sales-operations and revenue-analytics specialist who designs measurable, repeatable sales systems. Your writing style is crisp, systems-oriented, and grounded in metrics. You explain complex topics by chaining ideas in simple, unambiguous sentences.\r\n\r\n## CONSTRAINTS\r\n- Use **markdown only** (headings, bullets, tables). Do **not** use XML tags.\r\n- Every recommendation must connect to **data inputs** (what to measure, why it matters, how to use it).\r\n- Keep content specific to **[INDUSTRY]**; exclude broad \u201csales tips\u201d that don\u2019t translate into measurable process changes.\r\n- Apply dependency-grammar principles:\r\n  - Prefer short sentences with explicit subjects and verbs.\r\n  - Keep cause \u2192 effect links explicit (e.g., \u201c{Metric} increases, so {Process Change} is required.\u201d).\r\n  - Avoid vague referents (\u201cthis,\u201d \u201cthat,\u201d \u201cit\u201d) when the noun can be repeated.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Restate your understanding of [INDUSTRY] and the user\u2019s goal in 3\u20135 bullet points. List assumptions you will use.\r\n2. **Industry grounding:** Summarize the sales environment, then name the constraints that shape data-driven optimization.\r\n3. **Data design:** Specify data sources, what each source captures, and the metrics that will be extracted.\r\n4. **Workflow engineering:** Lay out an improved sales process in stages, with substeps and the exact data signals that inform each decision.\r\n5. **Measurement system:** Define KPIs, formulas (when helpful), targets, and how often to review them.\r\n6. **Operating standards:** Provide best practices that can be implemented immediately, each tied to a metric and an expected outcome.\r\n7. **Edge cases:** If any input is missing or unclear, propose 2\u20133 plausible options and proceed with the most conservative choice. Clearly label what you inferred.\r\n\r\n### What This Is NOT\r\n- Not a generic sales training lesson or motivational guide.\r\n- Not an implementation of a specific CRM\/BI tool unless the user provides it in [CONTEXT].\r\n- Not a legal, compliance, or privacy policy document (you may note common considerations, but do not draft policies).\r\n- Not a promise of performance outcomes without stating assumptions and measurement requirements.\r\n\r\n## INPUTS\r\n- **Industry to tailor the guide to:** [INDUSTRY]\r\n- **Background, existing stack, constraints, or goals (optional):** [CONTEXT]\r\n- **Primary outcome the sales team wants (optional):** [PRIMARY_GOAL]\r\n- **Preferred tone (optional):** [TONE]\r\n- **Desired format length or level of detail (optional):** [FORMAT]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a markdown guide with the following sections and structures:\r\n\r\n### 1) Industry Overview\r\n- **Sales landscape in [INDUSTRY]**\r\n  - {Key Characteristics}\r\n  - {Market Trends}\r\n- **Data-driven opportunities**\r\n  - {Opportunities List}\r\n- **Constraints and challenges**\r\n  - {Challenges List}\r\n  - {Implications For Measurement}\r\n\r\n### 2) Data Collection Strategies\r\nProvide a numbered list of at least three sources in this format:\r\n1. **{Data Source Name}:** {Source Description}  \r\n   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}\r\n2. **{Data Source Name}:** {Source Description}  \r\n   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}\r\n3. **{Data Source Name}:** {Source Description}  \r\n   - **Key metrics to capture:** {Metric 1}, {Metric 2}, {Metric 3}\r\n\r\nInclude for each source:\r\n- {Collection Method} (manual, automated, enrichment, integrations)\r\n- {Data Quality Checks} (completeness, accuracy, timeliness)\r\n- {Owner} (role accountable for upkeep)\r\n\r\n### 3) Sales Process Optimization (staged workflow)\r\nProvide **three stages** (rename stages to fit [INDUSTRY]) with the structure below:\r\n\r\n#### Stage A: {Process Stage Name}\r\n- **Substep A1:** {Description}\r\n- **Substep A2:** {Description}\r\n- **Data signals and decisions:**\r\n  - {Data Point} \u2192 {Interpretation} \u2192 {Action}\r\n\r\n#### Stage B: {Process Stage Name}\r\n- **Substep B1:** {Description}\r\n- **Substep B2:** {Description}\r\n- **Data signals and decisions:**\r\n  - {Data Point} \u2192 {Interpretation} \u2192 {Action}\r\n\r\n#### Stage C: {Process Stage Name}\r\n- **Substep C1:** {Description}\r\n- **Substep C2:** {Description}\r\n- **Data signals and decisions:**\r\n  - {Data Point} \u2192 {Interpretation} \u2192 {Action}\r\n\r\n### 4) KPIs and Metrics\r\nProvide a markdown table:\r\n\r\n| KPI \/ Metric | What it measures | How to calculate | Target | Review cadence | Primary owner |\r\n|---|---|---|---|---|---|\r\n| {KPI 1} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |\r\n| {KPI 2} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |\r\n| {KPI 3} | {Description} | {Formula} | {Target} | {Cadence} | {Owner} |\r\n\r\n### 5) Best Practices (implementation-ready)\r\nList at least three items using checkmarks:\r\n- \u2713 **{Best Practice Name}:** {What to do}  \r\n  - **Data dependency:** {Required Data}  \r\n  - **Expected effect:** {Metric Movement}  \r\n  - **First step:** {Immediate Action}\r\n\r\n## QUALITY CHECKS\r\nAt the end, include a short validation list that confirms:\r\n- Dependency-grammar clarity: sentences have explicit subjects\/verbs; minimal ambiguous pronouns.\r\n- Every stage includes at least one measurable data signal tied to a decision\/action.\r\n- KPIs have targets and review cadences, and owners are assigned.\r\n- Content is tailored to [INDUSTRY] and avoids generic filler.\r\n- Any assumptions or inferred details are clearly labeled.";
    const variables = ["[INDUSTRY]","[CONTEXT]","[PRIMARY_GOAL]","[TONE]","[FORMAT]"];
    // 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>Pick a narrow industry slice.</strong> Don’t use a broad label like “SaaS” unless you add constraints (SMB vs enterprise, PLG vs sales-led, ACV range). Try a specific framing such as “vertical SaaS selling to multi-location dental practices with $8–25K ACV.” That level of detail forces the playbook to choose realistic signals and targets.</li>


<li><strong>Feed the model your real system boundaries.</strong> Before you run the prompt, write down which tools you actually have (CRM, marketing automation, billing, call recording, product analytics). Then follow up with: “Revise the data design so it only uses HubSpot + Stripe + Gong, and note any metrics that become estimates.”</li>


<li><strong>Force every stage to have a decision rule.</strong> A stage without a measurable “if/then” turns into opinion. After the first output, ask: “Add a decision signal to every stage, including a threshold (example: ‘3 stakeholders confirmed’ or ‘budget field populated + verified’), and say what happens when the signal is missing.”</li>


<li><strong>Use iteration to calibrate targets, not to rewrite the whole thing.</strong> Targets are where teams argue, honestly. Keep the structure and adjust assumptions: “Assume we are currently at 18% win rate, 42-day cycle, and 2.1x coverage. Propose realistic 90-day targets and the minimum process changes required.”</li>


<li><strong>Pair it with clarity-polish prompts before you present to executives.</strong> Once the playbook is drafted, paste the sections into a writing polish tool to tighten language and remove ambiguity. The prompt at <a href="https://flowpast.com/prompts/polish-workplace-writing-with-this-ai-prompt/">https://flowpast.com/prompts/polish-workplace-writing-with-this-ai-prompt/</a> is useful when you want a crisp “internal doc” voice that reads like a real operating manual.</li>

</ul>

</div>

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

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



<p>Once you’ve mapped the sales workflow and KPIs, these prompts help you improve the inputs, polish deliverables, and sharpen the customer problem definition behind your pipeline.</p>



<p>If you also need better discovery and qualification inputs, use <a href="https://flowpast.com/prompts/find-high-stakes-customer-problems-ai-prompt/">https://flowpast.com/prompts/find-high-stakes-customer-problems-ai-prompt/</a>. A sales analytics playbook becomes far more actionable when “why buyers buy” is stated in measurable terms (triggers, costs of delay, and the observable symptoms reps can validate in calls).</p>



<p>When your playbook is strong but the writing feels rough, <a href="https://flowpast.com/prompts/polish-any-draft-and-get-an-edit-report-ai-prompt/">https://flowpast.com/prompts/polish-any-draft-and-get-an-edit-report-ai-prompt/</a> helps you clean it up and spot structural issues. It’s especially handy if you’re turning the output into a client-facing deliverable and want an edit report that calls out unclear claims or missing context.</p>



<p>For teams distributing the playbook internally (or rolling it out as a change-management update), <a href="https://flowpast.com/prompts/polish-a-draft-newsletter-with-this-ai-prompt/">https://flowpast.com/prompts/polish-a-draft-newsletter-with-this-ai-prompt/</a> helps you turn the “new standards” into something people will actually read. Use it when you’re announcing new KPIs, new stage definitions, or new CRM requirements and need clear, friendly explanation.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/find-high-stakes-customer-problems-ai-prompt/">Find High-Stakes Customer Problems AI Prompt</a>: Define urgent buyer problems and triggers.</li>


<li><a href="https://flowpast.com/prompts/polish-any-draft-and-get-an-edit-report-ai-prompt/">Polish Any Draft and Get an Edit Report AI Prompt</a>: Improve structure and clarity with feedback.</li>


<li><a href="https://flowpast.com/prompts/polish-a-draft-newsletter-with-this-ai-prompt/">Polish a Draft Newsletter with this AI Prompt</a>: Rewrite internal updates for readability.</li>


<li><a href="https://flowpast.com/prompts/polish-workplace-writing-with-this-ai-prompt/">Polish Workplace Writing with this AI Prompt</a>: Make ops docs crisp and scannable.</li>


<li><a href="https://flowpast.com/prompts/polish-research-paper-passages-for-clarity-ai-prompt/">Polish Research Paper Passages for Clarity AI Prompt</a>: Tighten logic in technical explanations.</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 sales analytics playbook AI prompt?</span>

<p class="answer"><strong>Sales Operations Managers</strong> use this to turn inconsistent stage usage into a defined workflow with required fields, decision signals, and audit-ready standards. <strong>Revenue Operations Analysts</strong> benefit because the prompt forces a clean mapping from data sources to metrics, which makes dashboards and KPI definitions far easier to maintain. <strong>Heads of Sales</strong> apply it when they need coaching and forecasting to rely on objective indicators (coverage, stage conversion, cycle time) instead of gut feel. <strong>Fractional CROs and consultants</strong> use it to deliver a credible, industry-specific operating plan that connects process changes to measurable outcomes.</p>

</div>

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

<p class="answer"><strong>B2B SaaS</strong> teams use it to link product signals, trial usage, and pipeline stages, so qualification is driven by observable engagement instead of “good vibe” demos. <strong>Manufacturing and distribution</strong> orgs apply it to manage longer cycles, multi-stakeholder quotes, and margin constraints, with metrics like quote-to-order rate and time-in-stage by deal size. <strong>Professional services firms</strong> get value by standardizing qualification, proposal steps, and utilization-aware forecasting, since capacity and delivery risk should shape what “good pipeline” means. <strong>Healthcare and medical vendors</strong> leverage it when compliance, procurement steps, and committee buying add friction; the playbook clarifies the data signals that prove a deal is truly progressing.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a sales analytics playbook produce weak results?</span>

<p class="answer">A typical prompt like &#8216;<em>Write me a sales playbook with KPIs for my industry</em>&#8216; fails because it: lacks explicit data inputs (what system captures what), provides no stage-by-stage decision signals that tell reps what to do next, ignores industry constraints like buying committees or compliance steps, produces generic KPI lists instead of definitions with targets and review cadence, and misses clear cause-and-effect links (when a metric changes, which process change is required). This prompt is stricter: it forces metrics to justify recommendations. The result reads like an operating system, not a motivational blog post.</p>

</div>

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

<p class="answer">Yes, but customization happens in the inputs you provide around the prompt, since the template expects an [INDUSTRY] and then builds everything around it. Add your deal size bands, sales motion (inbound, outbound, channel), sales cycle length, and the tools that create your data (CRM, billing, call recording, product analytics). After the first run, follow up with: “Rewrite the workflow engineering section for a two-tier team (SDR → AE), and add the exact CRM fields we must enforce at each handoff.” You can also request alternative KPI targets based on your current baselines and constraints.</p>

</div>

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

<p class="answer">The biggest mistake is leaving [INDUSTRY] too vague — instead of “technology,” try “IT managed services selling cybersecurity bundles to 50–250 seat law firms.” Another common error is forgetting to name your data sources; “we track calls” is weak compared to “Gong call recordings + HubSpot activities + Stripe subscriptions.” Teams also skip baselines, which makes targets arbitrary; “improve win rate” becomes useful when you say “current win rate is 14% on SQLs, target 18% in 90 days.” Finally, people accept KPIs without operational definitions, so insist on definitions like “stage conversion = (# deals entering next stage) / (# deals entering current stage) measured weekly by segment.”</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this sales analytics playbook prompt?</span>

<p class="answer">This prompt isn’t ideal for one-off sales writing needs where you just want scripts or email templates, because it is built for systems and measurement. It’s also not a great fit if you cannot access any reliable data inputs (no CRM hygiene, no activity tracking, no source-of-truth), since the playbook depends on metrics to drive decisions. And if you haven’t validated your core offer yet, you may get more value from clarifying the customer problem and ICP before standardizing a workflow. In those cases, start with tighter problem discovery, then come back and formalize the analytics-led process.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this sales analytics playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Sales Operations Managers use this to turn inconsistent stage usage into a defined workflow with required fields, decision signals, and audit-ready standards. Revenue Operations Analysts benefit because the prompt forces a clean mapping from data sources to metrics, which makes dashboards and KPI definitions far easier to maintain. Heads of Sales apply it when they need coaching and forecasting to rely on objective indicators (coverage, stage conversion, cycle time) instead of gut feel. Fractional CROs and consultants use it to deliver a credible, industry-specific operating plan that connects process changes to measurable outcomes."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this sales analytics playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "B2B SaaS teams use it to link product signals, trial usage, and pipeline stages, so qualification is driven by observable engagement instead of “good vibe” demos. Manufacturing and distribution orgs apply it to manage longer cycles, multi-stakeholder quotes, and margin constraints, with metrics like quote-to-order rate and time-in-stage by deal size. Professional services firms get value by standardizing qualification, proposal steps, and utilization-aware forecasting, since capacity and delivery risk should shape what “good pipeline” means. Healthcare and medical vendors leverage it when compliance, procurement steps, and committee buying add friction; the playbook clarifies the data signals that prove a deal is truly progressing."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a sales analytics playbook produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like 'Write me a sales playbook with KPIs for my industry' fails because it: lacks explicit data inputs (what system captures what), provides no stage-by-stage decision signals that tell reps what to do next, ignores industry constraints like buying committees or compliance steps, produces generic KPI lists instead of definitions with targets and review cadence, and misses clear cause-and-effect links (when a metric changes, which process change is required). This prompt is stricter: it forces metrics to justify recommendations. The result reads like an operating system, not a motivational blog post."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this sales analytics playbook prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but customization happens in the inputs you provide around the prompt, since the template expects an [INDUSTRY] and then builds everything around it. Add your deal size bands, sales motion (inbound, outbound, channel), sales cycle length, and the tools that create your data (CRM, billing, call recording, product analytics). After the first run, follow up with: “Rewrite the workflow engineering section for a two-tier team (SDR → AE), and add the exact CRM fields we must enforce at each handoff.” You can also request alternative KPI targets based on your current baselines and constraints."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this sales analytics playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving [INDUSTRY] too vague — instead of “technology,” try “IT managed services selling cybersecurity bundles to 50–250 seat law firms.” Another common error is forgetting to name your data sources; “we track calls” is weak compared to “Gong call recordings + HubSpot activities + Stripe subscriptions.” Teams also skip baselines, which makes targets arbitrary; “improve win rate” becomes useful when you say “current win rate is 14% on SQLs, target 18% in 90 days.” Finally, people accept KPIs without operational definitions, so insist on definitions like “stage conversion = (# deals entering next stage) / (# deals entering current stage) measured weekly by segment.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this sales analytics playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off sales writing needs where you just want scripts or email templates, because it is built for systems and measurement. It’s also not a great fit if you cannot access any reliable data inputs (no CRM hygiene, no activity tracking, no source-of-truth), since the playbook depends on metrics to drive decisions. And if you haven’t validated your core offer yet, you may get more value from clarifying the customer problem and ICP before standardizing a workflow. In those cases, start with tighter problem discovery, then come back and formalize the analytics-led process."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>A sales process that can’t be measured can’t be managed. Run the prompt, choose your industry, and turn scattered reports into a playbook your team can execute next week.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001128.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build an Automated Referral Program with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-an-automated-referral-program-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:48:02 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002088</guid>

					<description><![CDATA[Referrals stall or get misattributed - this AI Prompt maps incentives, attribution, automations, and KPIs for a scalable program. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: automated referral program -->
<div class="hook-introduction">

<p>Referral programs usually fail for boring reasons. The tracking is flimsy, rewards get delayed, and you can’t tell which “referrals” were real versus friendly fraud. Then leadership asks for ROI, and you’re left stitching together screenshots from Stripe, HubSpot, and a spreadsheet that nobody trusts.</p>



<p>This <strong>automated referral program</strong> is built for <strong>growth marketers</strong> who need a measurable acquisition channel (not a vibes-based campaign), <strong>marketing ops leads</strong> who must connect attribution, messaging, and reward fulfillment cleanly, and <strong>founders</strong> who want a program they can hand to a builder without weeks of back-and-forth. The output is an end-to-end workflow: incentive design for both sides, tracking and fraud controls, automation steps from trigger to reward delivery, plus KPIs, rollout phases, and concrete optimization experiments.</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 two-sided reward system for the advocate and the invited friend, with explicit eligibility rules.</li>
          <li>It proposes tiered milestones (for example: first referral, three referrals, five referrals) and defines how tiers unlock.</li>
          <li>It lays out multiple attribution approaches (codes, links, account matching) and explains when each is the safest choice.</li>
          <li>It maps an automation blueprint from trigger to validation to messaging to reward issuance to reporting, including exception handling.</li>
          <li>It finishes with KPI definitions, a phased rollout plan with realistic timelines, and a set of tests to improve performance.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You have customers who love the product, but referrals are happening informally and you can’t track them.</li>
          <li>Your current “refer a friend” offer produces claims, but the attribution is disputed and support tickets pile up.</li>
          <li>You need to choose between referral tools or rolling your own workflow, and you want requirements before you buy.</li>
          <li>Competitors have referral loops baked in, and leadership wants a defensible program instead of a quick giveaway.</li>
          <li>You’re scaling acquisition and need a channel with predictable unit economics and clean downstream revenue reporting.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A two-sided incentive plan with 3 tiers, eligibility rules, and example reward values.</li>
           <li>Three attribution options with a decision guide and the exact fields to store for auditability.</li>
           <li>A step-by-step automation workflow (trigger → validation → message → approval → fulfillment → reporting) you can hand to a builder.</li>
           <li>A phased rollout plan with time ranges (pilot, expansion, full launch) and what to measure in each phase.</li>
           <li>A KPI scorecard (5–8 metrics) plus 6–10 experiments to improve conversion, reduce fraud, and lift LTV quality.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Automation-Ready Referral Program Workflow</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 detailed description of the product or service being referred, including its key features, benefits, and target use cases.                                    <div class="var-example">For example: "A cloud-based CRM tool designed for small businesses, offering automated lead tracking, email integration, and sales forecasting."</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>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Provide an example of a variable format using uppercase words separated by underscores, as used in the prompt.                                    <div class="var-example">For example: "[CUSTOMER_SEGMENT], [PROGRAM_GOAL], [REWARD_TIERS]"</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>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Include any relevant details about the current funnel, tools, pricing, or constraints that impact the referral program design.                                    <div class="var-example">For example: "The company uses HubSpot for marketing automation, has a free trial funnel converting at 12%, and offers tiered pricing starting at $50/month."</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 primary customer segment, including demographics, behaviors, and any specific characteristics relevant to the referral program.                                    <div class="var-example">For example: "Tech-savvy entrepreneurs aged 25-40 who run e-commerce businesses and are looking for tools to streamline operations."</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 in which the product operates, ensuring clarity for program design and messaging.                                    <div class="var-example">For example: "E-commerce software and tools for small-to-medium businesses."</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 for the referral program, such as increasing trials, paid users, or customer lifetime value.                                    <div class="var-example">For example: "Increase paid subscriptions by 20% within the first three months of program launch."</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>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Provide the total budget or maximum incentive amount allocated for the referral program, if applicable.                                    <div class="var-example">For example: "$10,000 allocated for rewards, with a maximum individual reward of $50 per referral."</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 desired timeline for launching the referral program, including any specific dates or time ranges.                                    <div class="var-example">For example: "Launch within Q1 2024, ideally by February 15th."</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 messaging that aligns with the brand, especially for customer-facing communications.                                    <div class="var-example">For example: "Friendly and approachable, with a focus on empowering users and building trust."</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 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</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></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="prompt-header-visible subheader">1) Incentive Design (Two-Sided)</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 subheader">2) Attribution &amp; Tracking Options</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">3) Automated Workflow Blueprint</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">4) Measurement Framework</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">5) Rollout Plan (Phased Timeline)</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">6) QA, Experiments, and Optimization</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">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
Design an end-to-end, automation-ready referral program workflow that motivates current customers to introduce new customers to [PRODUCT_DESCRIPTION], while ensuring accurate attribution, streamlined reward delivery, and measurable performance.

## PERSONA
Act as a referral-program architect and marketing-ops automation consultant. Communicate with crisp, implementation-minded guidance (clear choices, specific steps, minimal fluff), and assume the reader wants something they can hand to a builder immediately.

## CONSTRAINTS
- Build incentives for **both** sides: the advocate (existing customer) and the invited friend (new customer).
- Attribution must be reliable and fraud-aware (no “hand-wavy” tracking).
- The workflow must cover setup, tracking, messaging, approvals, reward fulfillment, and exception handling.
- Include metrics that directly reflect acquisition efficiency and downstream revenue quality.
- Provide a phased rollout plan with realistic time ranges (avoid single-day “magic” launches).
- Finish with concrete experiments and optimization moves.
- **Variable format compliance:** user-provided inputs use **[UPPERCASE_WITH_UNDERSCORES]**; AI-filled placeholders use **{Title Case}**.

### What This Is NOT
- Not a legal/compliance document (tax, sweepstakes law, GDPR/CCPA specifics).
- Not a vendor-specific build guide for a single tool (unless the user supplies tooling in [CONTEXT]).
- Not a brand campaign or creative concept deck; this is operational program design + automation logic.

## PROCESS
1. **Pre-analysis (required):** restate your understanding of [PRODUCT_DESCRIPTION] and [CONTEXT], list assumptions, and ask up to 3 clarifying questions if anything essential is missing.
2. Propose a reward system with tiers/milestones and clear eligibility rules.
3. Specify multiple tracking options, when to use each, and how attribution is stored.
4. Provide an automation blueprint from trigger → validation → messaging → reward issuance → reporting.
5. Define success metrics (leading + lagging indicators) with definitions and “how to calculate.”
6. Lay out a rollout schedule in phases with tasks and estimated durations (use slightly varied ranges, not exact clones).
7. Provide a testing plan plus optimizations; include at least one fraud/abuse test.
8. **Edge cases:** if inputs are incomplete, provide a “baseline version” plus a list of what to confirm next.

## INPUTS
- **Product/service description:** [PRODUCT_DESCRIPTION]
- **Primary user segment (who your customers are):** [TARGET_AUDIENCE]
- **Industry/niche:** [INDUSTRY]
- **Primary goal for the referral program (e.g., more trials, more paid users, higher AOV):** [PRIMARY_GOAL]
- **Any relevant background (current funnel, tools, pricing, constraints):** [CONTEXT]
- **Budget or incentive ceiling (optional):** [BUDGET]
- **Desired launch window (optional):** [TIMEFRAME]
- **Brand voice for customer-facing messages (optional):** [BRAND_VOICE]

## OUTPUT SPECIFICATION
### 1) Incentive Design (Two-Sided)
Provide:
- **Advocate (referrer) rewards**
  - {Advocate Reward Tier 1}: for {Milestone 1} (eligibility: {Rule})
  - {Advocate Reward Tier 2}: for {Milestone 2} (eligibility: {Rule})
  - {Advocate Reward Tier 3}: for {Milestone 3} (eligibility: {Rule})
- **Invitee (referee) rewards**
  - {Invitee Reward 1}: upon {Conversion Event}
  - {Invitee Reward 2}: upon {Activation Milestone}
  - {Invitee Reward 3}: upon {Retention Milestone}
- **Guardrails**
  - {Fraud Controls}
  - {Reward Expiration / Limits}
  - {Refund/Chargeback Handling}

### 2) Attribution &amp; Tracking Options
List at least 3 methods in this format:
1. **{Tracking Method}** — {How it works}, {Best for}, {Weaknesses}, {Data captured}
2. **{Tracking Method}** — {How it works}, {Best for}, {Weaknesses}, {Data captured}
3. **{Tracking Method}** — {How it works}, {Best for}, {Weaknesses}, {Data captured}

### 3) Automated Workflow Blueprint
Provide a numbered sequence with triggers, systems, and outputs:
1. **{Step Name}** — {Trigger}, {Action}, {System/Owner}, {Data written}
2. **{Step Name}** — {Trigger}, {Action}, {System/Owner}, {Data written}
3. **{Step Name}** — {Trigger}, {Action}, {System/Owner}, {Data written}
4. **{Step Name}** — {Trigger}, {Action}, {System/Owner}, {Data written}
5. **{Step Name}** — {Trigger}, {Action}, {System/Owner}, {Data written}
Include:
- {Event Schema} (key events and properties)
- {Reward Fulfillment Flow}
- {Exception Queue} (what gets flagged + how it’s resolved)

### 4) Measurement Framework
Provide at least 5 metrics in this format:
- **{Metric Name}** — {Definition}, {Formula}, {Why it matters}, {Where to find it}
Include a balance of:
- Acquisition (volume + conversion)
- Cost efficiency (CAC impact)
- Quality (retention/LTV)
- Operational health (time-to-reward, dispute rate)

### 5) Rollout Plan (Phased Timeline)
Create a table:
| Phase | Key Tasks | Estimated Duration |
|---|---|---|
| {Phase 1} | {Task A}; {Task B}; {Task C} | {Duration Range} |
| {Phase 2} | {Task A}; {Task B}; {Task C} | {Duration Range} |
| {Phase 3} | {Task A}; {Task B}; {Task C} | {Duration Range} |
| {Phase 4} | {Task A}; {Task B}; {Task C} | {Duration Range} |

### 6) QA, Experiments, and Optimization
Provide:
- **Tests (pre-launch + post-launch)**
  1. {Test}: {Goal}, {Method}, {Pass criteria}
  2. {Test}: {Goal}, {Method}, {Pass criteria}
  3. {Test}: {Goal}, {Method}, {Pass criteria}
- **Optimization plays**
  1. {Optimization}: {What to change}, {Expected effect}, {How to measure}
  2. {Optimization}: {What to change}, {Expected effect}, {How to measure}
  3. {Optimization}: {What to change}, {Expected effect}, {How to measure}

## QUALITY CHECKS
At the end, include a short validation list confirming:
- Incentives are two-sided, milestone-based, and financially plausible vs. [BUDGET] (or stated assumptions if missing).
- Tracking methods include attribution storage details and at least one fraud mitigation.
- Automation steps cover trigger → validation → messaging → reward delivery → reporting.
- Metrics include formulas and data sources (not just names).
- Timeline phases are sequenced logically with credible duration ranges and clear dependencies.            </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\nDesign an end-to-end, automation-ready referral program workflow that motivates current customers to introduce new customers to [PRODUCT_DESCRIPTION], while ensuring accurate attribution, streamlined reward delivery, and measurable performance.\r\n\r\n## PERSONA\r\nAct as a referral-program architect and marketing-ops automation consultant. Communicate with crisp, implementation-minded guidance (clear choices, specific steps, minimal fluff), and assume the reader wants something they can hand to a builder immediately.\r\n\r\n## CONSTRAINTS\r\n- Build incentives for **both** sides: the advocate (existing customer) and the invited friend (new customer).\r\n- Attribution must be reliable and fraud-aware (no \u201chand-wavy\u201d tracking).\r\n- The workflow must cover setup, tracking, messaging, approvals, reward fulfillment, and exception handling.\r\n- Include metrics that directly reflect acquisition efficiency and downstream revenue quality.\r\n- Provide a phased rollout plan with realistic time ranges (avoid single-day \u201cmagic\u201d launches).\r\n- Finish with concrete experiments and optimization moves.\r\n- **Variable format compliance:** user-provided inputs use **[UPPERCASE_WITH_UNDERSCORES]**; AI-filled placeholders use **{Title Case}**.\r\n\r\n### What This Is NOT\r\n- Not a legal\/compliance document (tax, sweepstakes law, GDPR\/CCPA specifics).\r\n- Not a vendor-specific build guide for a single tool (unless the user supplies tooling in [CONTEXT]).\r\n- Not a brand campaign or creative concept deck; this is operational program design + automation logic.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** restate your understanding of [PRODUCT_DESCRIPTION] and [CONTEXT], list assumptions, and ask up to 3 clarifying questions if anything essential is missing.\r\n2. Propose a reward system with tiers\/milestones and clear eligibility rules.\r\n3. Specify multiple tracking options, when to use each, and how attribution is stored.\r\n4. Provide an automation blueprint from trigger \u2192 validation \u2192 messaging \u2192 reward issuance \u2192 reporting.\r\n5. Define success metrics (leading + lagging indicators) with definitions and \u201chow to calculate.\u201d\r\n6. Lay out a rollout schedule in phases with tasks and estimated durations (use slightly varied ranges, not exact clones).\r\n7. Provide a testing plan plus optimizations; include at least one fraud\/abuse test.\r\n8. **Edge cases:** if inputs are incomplete, provide a \u201cbaseline version\u201d plus a list of what to confirm next.\r\n\r\n## INPUTS\r\n- **Product\/service description:** [PRODUCT_DESCRIPTION]\r\n- **Primary user segment (who your customers are):** [TARGET_AUDIENCE]\r\n- **Industry\/niche:** [INDUSTRY]\r\n- **Primary goal for the referral program (e.g., more trials, more paid users, higher AOV):** [PRIMARY_GOAL]\r\n- **Any relevant background (current funnel, tools, pricing, constraints):** [CONTEXT]\r\n- **Budget or incentive ceiling (optional):** [BUDGET]\r\n- **Desired launch window (optional):** [TIMEFRAME]\r\n- **Brand voice for customer-facing messages (optional):** [BRAND_VOICE]\r\n\r\n## OUTPUT SPECIFICATION\r\n### 1) Incentive Design (Two-Sided)\r\nProvide:\r\n- **Advocate (referrer) rewards**\r\n  - {Advocate Reward Tier 1}: for {Milestone 1} (eligibility: {Rule})\r\n  - {Advocate Reward Tier 2}: for {Milestone 2} (eligibility: {Rule})\r\n  - {Advocate Reward Tier 3}: for {Milestone 3} (eligibility: {Rule})\r\n- **Invitee (referee) rewards**\r\n  - {Invitee Reward 1}: upon {Conversion Event}\r\n  - {Invitee Reward 2}: upon {Activation Milestone}\r\n  - {Invitee Reward 3}: upon {Retention Milestone}\r\n- **Guardrails**\r\n  - {Fraud Controls}\r\n  - {Reward Expiration \/ Limits}\r\n  - {Refund\/Chargeback Handling}\r\n\r\n### 2) Attribution & Tracking Options\r\nList at least 3 methods in this format:\r\n1. **{Tracking Method}** \u2014 {How it works}, {Best for}, {Weaknesses}, {Data captured}\r\n2. **{Tracking Method}** \u2014 {How it works}, {Best for}, {Weaknesses}, {Data captured}\r\n3. **{Tracking Method}** \u2014 {How it works}, {Best for}, {Weaknesses}, {Data captured}\r\n\r\n### 3) Automated Workflow Blueprint\r\nProvide a numbered sequence with triggers, systems, and outputs:\r\n1. **{Step Name}** \u2014 {Trigger}, {Action}, {System\/Owner}, {Data written}\r\n2. **{Step Name}** \u2014 {Trigger}, {Action}, {System\/Owner}, {Data written}\r\n3. **{Step Name}** \u2014 {Trigger}, {Action}, {System\/Owner}, {Data written}\r\n4. **{Step Name}** \u2014 {Trigger}, {Action}, {System\/Owner}, {Data written}\r\n5. **{Step Name}** \u2014 {Trigger}, {Action}, {System\/Owner}, {Data written}\r\nInclude:\r\n- {Event Schema} (key events and properties)\r\n- {Reward Fulfillment Flow}\r\n- {Exception Queue} (what gets flagged + how it\u2019s resolved)\r\n\r\n### 4) Measurement Framework\r\nProvide at least 5 metrics in this format:\r\n- **{Metric Name}** \u2014 {Definition}, {Formula}, {Why it matters}, {Where to find it}\r\nInclude a balance of:\r\n- Acquisition (volume + conversion)\r\n- Cost efficiency (CAC impact)\r\n- Quality (retention\/LTV)\r\n- Operational health (time-to-reward, dispute rate)\r\n\r\n### 5) Rollout Plan (Phased Timeline)\r\nCreate a table:\r\n| Phase | Key Tasks | Estimated Duration |\r\n|---|---|---|\r\n| {Phase 1} | {Task A}; {Task B}; {Task C} | {Duration Range} |\r\n| {Phase 2} | {Task A}; {Task B}; {Task C} | {Duration Range} |\r\n| {Phase 3} | {Task A}; {Task B}; {Task C} | {Duration Range} |\r\n| {Phase 4} | {Task A}; {Task B}; {Task C} | {Duration Range} |\r\n\r\n### 6) QA, Experiments, and Optimization\r\nProvide:\r\n- **Tests (pre-launch + post-launch)**\r\n  1. {Test}: {Goal}, {Method}, {Pass criteria}\r\n  2. {Test}: {Goal}, {Method}, {Pass criteria}\r\n  3. {Test}: {Goal}, {Method}, {Pass criteria}\r\n- **Optimization plays**\r\n  1. {Optimization}: {What to change}, {Expected effect}, {How to measure}\r\n  2. {Optimization}: {What to change}, {Expected effect}, {How to measure}\r\n  3. {Optimization}: {What to change}, {Expected effect}, {How to measure}\r\n\r\n## QUALITY CHECKS\r\nAt the end, include a short validation list confirming:\r\n- Incentives are two-sided, milestone-based, and financially plausible vs. [BUDGET] (or stated assumptions if missing).\r\n- Tracking methods include attribution storage details and at least one fraud mitigation.\r\n- Automation steps cover trigger \u2192 validation \u2192 messaging \u2192 reward delivery \u2192 reporting.\r\n- Metrics include formulas and data sources (not just names).\r\n- Timeline phases are sequenced logically with credible duration ranges and clear dependencies.";
    const variables = ["[PRODUCT_DESCRIPTION]","[UPPERCASE_WITH_UNDERSCORES]","[CONTEXT]","[TARGET_AUDIENCE]","[INDUSTRY]","[PRIMARY_GOAL]","[BUDGET]","[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>Describe the product in operational terms.</strong> Don’t stop at “SaaS for teams.” Add pricing motion, sales cycle, and key activation event. Example add-on to the prompt: “Assume [PRODUCT_DESCRIPTION] is a $49/mo self-serve tool; activation happens when a user connects their data source and invites 1 teammate.”</li>


<li><strong>Give context on your stack, even if it’s messy.</strong> The prompt isn’t vendor-specific unless you supply tools in [CONTEXT], so include what you actually use (CRM, billing, data warehouse, email). Try: “In [CONTEXT], we use Stripe for billing, HubSpot CRM, and Klaviyo for email; we can add a lightweight referral tool if needed.”</li>


<li><strong>Pick the “reward moment” before you debate reward amounts.</strong> Honestly, most programs break because you reward too early (fraud) or too late (no motivation). Ask a follow-up: “Propose two reward timing models: reward on signup vs reward on first paid invoice, and show the fraud risk and expected conversion tradeoffs.”</li>


<li><strong>Force exception handling into the first draft.</strong> After you get the workflow, prompt again: “Now add edge cases: self-referrals, same household/IP, refunds within 30 days, and referral claimed after checkout. Provide the exact decision rules and what message gets sent.”</li>


<li><strong>Use the experiments list as your 90-day roadmap.</strong> When the prompt outputs experiments, don’t treat them as “ideas.” Ask for prioritization: “Rank the experiments by impact vs effort, then write the success metric, sample size assumption, and the minimum instrumentation needed for each.”</li>

</ul>

</div>

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

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



<p>Once your referral workflow is designed, these related prompts help you tighten the people side of execution, hiring, and documentation.</p>



<p>If you also need to hire the right operator to own referral automation (or backfill capacity on your ops team), <a href="https://flowpast.com/prompts/write-inclusive-job-postings-with-this-ai-prompt/">Write Inclusive Job Postings with this AI Prompt</a> helps you write clearer requirements and reduce bias in the role spec. That matters when the referral program touches data integrity, support workflows, and finance approvals.</p>



<p>For teams doing internal enablement, <a href="https://flowpast.com/prompts/build-a-harvard-style-linkedin-cv-with-this-ai-prompt/">Build a Harvard-Style LinkedIn CV with this AI Prompt</a> is useful when you’re evaluating marketing ops candidates and want consistent, structured profiles to compare. It pairs well right after you’ve defined the workflow and can articulate what “good” looks like.</p>



<p>When your team is interviewing and wants a systematic way to compare applicants for the builder role (ops, lifecycle, or data-leaning growth), <a href="https://flowpast.com/prompts/create-a-job-search-strategy-comparison-ai-prompt/">Create a Job Search Strategy Comparison AI Prompt</a> can be repurposed as a comparison framework. Use it to score candidates against the actual referral-program deliverables: attribution, automation logic, and reporting discipline.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/write-inclusive-job-postings-with-this-ai-prompt/">Write Inclusive Job Postings with this AI Prompt</a>: Draft clear, fair role requirements fast.</li>


<li><a href="https://flowpast.com/prompts/build-a-harvard-style-linkedin-cv-with-this-ai-prompt/">Build a Harvard-Style LinkedIn CV with this AI Prompt</a>: Standardize candidate profiles for review.</li>

<li><a href="https://flowpast.com/prompts/create-a-job-search-strategy-comparison-ai-prompt/">Create a Job Search Strategy Comparison AI Prompt</a>: Compare options using a scoring framework.</li>


<li><a href="https://flowpast.com/prompts/write-a-job-specific-cover-letter-with-this-ai-prompt/">Write a Job-Specific Cover Letter with this AI Prompt</a>: Tailor outreach for hard-to-hire talent.</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>: Build consistent follow-ups and sequences.</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 automated referral program AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Growth Marketing Managers</strong> use this to turn “referrals happen sometimes” into a trackable channel with clear triggers, messaging, and KPIs. <strong>Marketing Operations Leads</strong> lean on it to design attribution storage, automation steps, and exception handling that won’t collapse at month-end reporting. <strong>Lifecycle/CRM Managers</strong> apply it to coordinate advocate and friend messaging without blasting the wrong segment at the wrong time. <strong>Startup Founders</strong> use it to get a builder-ready spec quickly, so the program can ship in phases instead of living in a backlog forever.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this automated referral program AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>SaaS and subscription products</strong> get strong value because you can tie rewards to clean milestones like “first paid invoice” or “active for 30 days,” which reduces fraud and improves LTV quality. <strong>E-commerce brands</strong> can use it to design friend/advocate incentives around first purchase, repeat purchase, or high-margin categories, then build exception handling for returns and cancellations. <strong>Marketplaces</strong> benefit because attribution is tricky (two-sided supply and demand), and the workflow forces you to define who gets credit, when it triggers, and how to prevent self-referrals. <strong>Professional services firms</strong> can adapt it for referral introductions where the “conversion” is a booked consult or signed proposal, with manual approvals baked into the automation.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for designing a referral program workflow produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a referral program for my business” fails because it: lacks two-sided incentive logic and eligibility rules, provides no attribution storage plan you can audit later, ignores fraud and edge cases like refunds or duplicate accounts, produces generic “share your link” messaging instead of an end-to-end workflow with triggers and validations, and misses KPI definitions tied to acquisition efficiency and downstream revenue quality. You end up with copy ideas, not an automation-ready spec. This prompt is stricter on tracking, approvals, reward fulfillment, and reporting, which is where programs usually break.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this automated referral program prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, customize it by being specific in [PRODUCT_DESCRIPTION] and especially [CONTEXT], since the workflow changes based on your stack and conversion milestones. In [CONTEXT], include your billing system, CRM, email/SMS tool, refund window, and what counts as a “qualified” new customer (signup, first order, first paid invoice, or retained for X days). If you have manual steps (finance approvals, support review), say so; the prompt will incorporate exception handling and approvals. Useful follow-up: “Given my [CONTEXT], recommend one primary attribution method and one fallback, and list the exact fields we must log for dispute resolution.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this automated referral program prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving [PRODUCT_DESCRIPTION] too vague — instead of “a fitness app,” try “a $12/month fitness app with weekly challenges; activation is completing 3 workouts in 7 days.” Another common error is under-specifying [CONTEXT]; “we use email” is weak, while “Klaviyo email, Stripe billing, Shopify store, 30-day refund policy” lets the workflow be precise. People also forget to define the reward trigger clearly; “reward on referral” is risky, but “reward after the friend’s first paid invoice clears and no refund within 14 days” is enforceable. Finally, skipping fraud assumptions causes chaos later; include constraints like “block self-referrals, flag same payment method, and cap rewards per advocate per month.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this automated referral program prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for teams that only want a quick creative concept or a few social captions, because it’s built for operational design, tracking, and automation logic. It also won’t replace legal review if your rewards create tax, sweepstakes, or privacy obligations. And if you haven’t validated the core offer yet (churn is high, activation is unclear), you may be better off fixing the product funnel before formalizing referrals. In those cases, start with basic activation and retention work, then return when you can define a clean “qualified referral” milestone.</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 automated referral program AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Growth Marketing Managers use this to turn “referrals happen sometimes” into a trackable channel with clear triggers, messaging, and KPIs. Marketing Operations Leads lean on it to design attribution storage, automation steps, and exception handling that won’t collapse at month-end reporting. Lifecycle/CRM Managers apply it to coordinate advocate and friend messaging without blasting the wrong segment at the wrong time. Startup Founders use it to get a builder-ready spec quickly, so the program can ship in phases instead of living in a backlog forever."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this automated referral program AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS and subscription products get strong value because you can tie rewards to clean milestones like “first paid invoice” or “active for 30 days,” which reduces fraud and improves LTV quality. E-commerce brands can use it to design friend/advocate incentives around first purchase, repeat purchase, or high-margin categories, then build exception handling for returns and cancellations. Marketplaces benefit because attribution is tricky (two-sided supply and demand), and the workflow forces you to define who gets credit, when it triggers, and how to prevent self-referrals. Professional services firms can adapt it for referral introductions where the “conversion” is a booked consult or signed proposal, with manual approvals baked into the automation."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for designing a referral program workflow produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a referral program for my business” fails because it: lacks two-sided incentive logic and eligibility rules, provides no attribution storage plan you can audit later, ignores fraud and edge cases like refunds or duplicate accounts, produces generic “share your link” messaging instead of an end-to-end workflow with triggers and validations, and misses KPI definitions tied to acquisition efficiency and downstream revenue quality. You end up with copy ideas, not an automation-ready spec. This prompt is stricter on tracking, approvals, reward fulfillment, and reporting, which is where programs usually break."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this automated referral program prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, customize it by being specific in [PRODUCT_DESCRIPTION] and especially [CONTEXT], since the workflow changes based on your stack and conversion milestones. In [CONTEXT], include your billing system, CRM, email/SMS tool, refund window, and what counts as a “qualified” new customer (signup, first order, first paid invoice, or retained for X days). If you have manual steps (finance approvals, support review), say so; the prompt will incorporate exception handling and approvals. Useful follow-up: “Given my [CONTEXT], recommend one primary attribution method and one fallback, and list the exact fields we must log for dispute resolution.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this automated referral program prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving [PRODUCT_DESCRIPTION] too vague — instead of “a fitness app,” try “a $12/month fitness app with weekly challenges; activation is completing 3 workouts in 7 days.” Another common error is under-specifying [CONTEXT]; “we use email” is weak, while “Klaviyo email, Stripe billing, Shopify store, 30-day refund policy” lets the workflow be precise. People also forget to define the reward trigger clearly; “reward on referral” is risky, but “reward after the friend’s first paid invoice clears and no refund within 14 days” is enforceable. Finally, skipping fraud assumptions causes chaos later; include constraints like “block self-referrals, flag same payment method, and cap rewards per advocate per month.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this automated referral program prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams that only want a quick creative concept or a few social captions, because it’s built for operational design, tracking, and automation logic. It also won’t replace legal review if your rewards create tax, sweepstakes, or privacy obligations. And if you haven’t validated the core offer yet (churn is high, activation is unclear), you may be better off fixing the product funnel before formalizing referrals. In those cases, start with basic activation and retention work, then return when you can define a clean “qualified referral” milestone."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Referral revenue should be attributable, repeatable, and frankly boring to operate. Use this automated referral program prompt to turn good intentions into a workflow your team can actually build and measure.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002088.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Create a Market Feasibility Report with this AI Prompt</title>
		<link>https://flowpast.com/prompts/create-a-market-feasibility-report-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:47:01 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5000967</guid>

					<description><![CDATA[Unclear if a new market is worth entering - use this AI Prompt to build an executive-ready feasibility report with sizing, rivals, risks. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: market feasibility report -->
<div class="hook-introduction">

<p>You can spend weeks “researching a market” and still end up with a vague gut-check. Numbers don’t line up, competitors look fuzzy, and your team can’t agree on what “success” even means. The result is a launch decision made on momentum, not evidence.</p>



<p>This <strong>market feasibility report</strong> is built for <strong>product marketing leads</strong> who need a board-ready go/no-go narrative, <strong>founders</strong> deciding if expansion into a new region is worth the burn, and <strong>consultants</strong> pulling together a defensible point of view for a client workshop. The output is a scannable, executive-style feasibility report that covers sizing (TAM/SAM/SOM), segmentation, competitor mapping, go-to-market options, unit economics assumptions, and risk with citations.</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 the launch context and decision criteria so the analysis stays anchored to a clear go/no-go question.</li>
          <li>It lays out a targeted research plan, including the specific data types needed and credible source categories to pull from.</li>
          <li>It produces market sizing logic (TAM/SAM/SOM) and explains the method used, such as top-down, bottom-up, or triangulation.</li>
          <li>It builds segmentation and two realistic personas, then uses them to pressure-test demand and adoption friction.</li>
          <li>It maps competitors and routes to market, while explicitly separating evidence from assumptions when hard data is limited.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are preparing a leadership meeting where someone will ask, “Is this market real, or are we forcing it?”</li>
          <li>You have a product concept but lack a structured view of demand, price expectations, and who buys first.</li>
          <li>You need to compare two regions and decide where to pilot without boiling the ocean.</li>
          <li>A competitor just expanded into your target geography, and you need a fast, evidence-led response plan.</li>
          <li>You are moving from idea to budget request, and finance wants sizing, risk, and economics in one document.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A complete feasibility report outline with 8–12 executive sections, written in a board-facing tone.</li>
           <li>TAM/SAM/SOM estimates presented as ranges, plus a short explanation of the sizing approach used.</li>
           <li>Three customer segments and two personas, including buying triggers, objections, and expected channels.</li>
           <li>A competitor snapshot covering 3–5 rivals, positioning angles, and differentiation gaps to exploit.</li>
           <li>A risks-and-assumptions register with mitigation ideas and what data would validate each assumption.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Executive Market Feasibility Report 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">
                                    Copy the AI Prompt
                            </span>
            <div class="prompt-header-buttons">
                                <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 -->
        
        <!-- Full Prompt Code Header -->
        

        <!-- 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="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">Edge case handling (when inputs are incomplete)</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 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></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) Executive Brief</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) Market Overview</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">3) 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 class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">4) Customer 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 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">5) Market Entry Strategy (Trust Builder → Scale Path)</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">6) Financial Projections (3 Years)</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">7) Risk Assessment</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">8) Conclusion</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">9) Appendix</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">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 an executive-ready market feasibility report that determines whether launching **[PRODUCT_DESCRIPTION]** in **[TARGET_REGION]** is commercially viable. The report must synthesize market demand, customer segmentation, competitors, go-to-market options, economics, and key risks, supported by credible citations.

## PERSONA
You are a senior commercialization advisor and market intelligence analyst who has launched products across multiple regions. You write like a board-facing consultant: crisp, data-led, and decisive, while clearly separating evidence from assumptions.

## CONSTRAINTS
- Use only substantiated claims; flag any assumption explicitly as an assumption.
- Prefer current, reputable sources (government statistics, industry analysts, major consultancies, credible financial/market databases, leading trade associations, peer‑reviewed research, or established newswires).
- Keep the document scannable: short paragraphs, bullets, and clear headings.
- Maintain a professional tone for an executive leadership team.
- Provide balanced analysis: upside *and* downside must be covered.
- When precise numbers are unavailable, provide a range and explain the method used to estimate it.
- Include lightweight “visuals” as markdown tables (and optional ASCII charts) when they improve clarity.

## PROCESS
1. **Pre-analysis (required):** Briefly restate your understanding of the launch context (product/service + region), what decision the study supports, and what success looks like.
2. **Research plan:** Identify which data you need (market size, growth, segment behaviors, pricing norms, channel structure, competitors) and where you’ll source it.
3. **Market sizing &amp; demand logic:** Quantify TAM/SAM/SOM where possible; explain the sizing approach (top‑down, bottom‑up, or triangulated).
4. **Segmentation &amp; customer reality check:** Define 3 meaningful customer segments; then build 2 personas grounded in the segments.
5. **Competitive mapping:** Identify 3 major competitors (or closest substitutes), summarize positioning, strengths, weaknesses, and differentiation gaps.
6. **Entry blueprint:** Recommend positioning, pricing approach, channels, and promotions—aligned to segment behaviors and competitive dynamics.
7. **Unit economics &amp; 3-year outlook:** Provide a 3-year forecast with assumptions, margin logic, major operating expense categories, and break-even analysis.
8. **Risk register:** List market, competitive, and operational risks, each with mitigations and early warning indicators.
9. **Decision:** Provide a clear launch recommendation (Go / Go-with-conditions / No-Go) tied to evidence and assumptions.

### Edge case handling (when inputs are incomplete)
- If **[PRODUCT_DESCRIPTION]** lacks key details (target buyer, pricing level, business model, category), ask up to 5 clarifying questions first.  
- If answers aren’t provided, proceed with explicit assumptions and provide 2–3 alternative scenarios.
- If **[TARGET_REGION]** is too broad (e.g., “Europe”), propose a shortlist of priority sub-regions and justify the choice.

### What this is NOT (scope boundaries)
- Not a legal opinion (regulatory compliance, IP, incorporation, contracts).
- Not formal accounting, tax, or audited financial advice.
- Not a substitute for primary research execution (surveys/interviews), though it may recommend it.
- Not an implementation project plan with task-by-task resourcing—only a launch strategy outline.

## INPUTS
- **Product/service description:** [PRODUCT_DESCRIPTION]
- **Target region for launch:** [TARGET_REGION]
- **Company/brand name (optional):** [COMPANY_NAME]
- **Industry/category (optional):** [INDUSTRY]
- **Primary goal for the launch (optional):** [PRIMARY_GOAL]
- **Budget constraints (optional):** [BUDGET]
- **Launch timeline (optional):** [TIMEFRAME]
- **Known challenge or concern (optional):** [CHALLENGE]
- **Preferred writing tone (optional):** [TONE]
- **Preferred deliverable format constraints (optional):** [FORMAT]
- **Key terms to include (optional):** [KEYWORDS]
- **Additional background (optional):** [CONTEXT]

## OUTPUT SPECIFICATION
Use the following deliverable structure and fill all sections. Use headings exactly as listed.

### 1) Executive Brief
- **Key Findings:** 3 bullets
- **Launch Recommendation:** {Go / Go-With-Conditions / No-Go} + 2–4 sentences rationale
- **Decision Triggers:** {Trigger} list (what must be true to proceed)

### 2) Market Overview
- **Market Size &amp; Growth:** {TAM} / {SAM} / {SOM} with {Currency}, {Year}, {CAGR}  
  - Include a table: {Metric} | {Value/Range} | {Source}
- **Customer Segments (3):**
  - Segment 1: {Segment Name} — {Who they are}, {Primary need}, {Why now}
  - Segment 2: {Segment Name} — {Who they are}, {Primary need}, {Why now}
  - Segment 3: {Segment Name} — {Who they are}, {Primary need}, {Why now}
- **Trends &amp; Drivers:** 5–7 bullets with citations

### 3) Competitive Landscape
- **Major Competitors (3):**
  - {Competitor Name}: {One-paragraph overview}, {Positioning}, {Approx. pricing}, {Strengths}, {Weaknesses}
- **Differentiation Opportunities (Competitive Advantages):**
  - 4–6 bullets: {Advantage} → {Proof/Reason} → {Implication}

### 4) Customer Analysis
- **Persona A:** {Persona Name}
  - Demographics/Firmographics: {Details}
  - Needs &amp; Pain Points: {Bullets}
  - Buying Behavior: {Triggers}, {Decision criteria}, {Objections}, {Buying journey}
- **Persona B:** {Persona Name}
  - Demographics/Firmographics: {Details}
  - Needs &amp; Pain Points: {Bullets}
  - Buying Behavior: {Triggers}, {Decision criteria}, {Objections}, {Buying journey}

### 5) Market Entry Strategy (Trust Builder → Scale Path)
- **Positioning &amp; USP:** {Positioning statement} + {Unique selling proposition}  
  - Include 2–3 alternative positioning angles if uncertainty is high.
- **Pricing Strategy:** {Pricing model}, {Price points/range}, {Rationale}, {Expected elasticity notes}
- **Distribution Channels:** {Channel 1}, {Channel 2}, {Channel 3} with pros/cons and requirements
- **Marketing &amp; Promotions Plan:**  
  - Hook mechanism: {First-message concept}  
  - Channels: {Paid}, {Organic}, {Partnerships}  
  - First 90–110 days outline: {Phase} → {Goal} → {Key activities} → {Success metrics}

### 6) Financial Projections (3 Years)
- **Assumptions Table:** {Assumption} | {Value} | {Basis/Source}
- **3-Year Sales Forecast:** a table by year with {Units/Customers}, {Revenue}, {Growth}
- **Gross Margin:** {Gross Margin %} with explanation of COGS drivers
- **Operating Expenses:** major categories with estimated ranges
- **Break-Even Point:** {Time to break even} and/or {Volume to break even} with brief method note  
- Include at least one simple visualization (table or ASCII chart) for revenue trajectory.

### 7) Risk Assessment
- **Market Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}
- **Competitive Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}
- **Operational Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}
- **Mitigation Strategies:** 5–8 bullets mapped to highest risks

### 8) Conclusion
- 1 short paragraph summarizing viability
- 3 recommended next steps: {Next Step} with {Owner} and {Timeframe}

### 9) Appendix
- **Research Method:** {Approach} (e.g., triangulation, comparable markets, proxy metrics)
- **Data Sources:** bulleted list
- **References:** numbered list with links (and publication dates when available)

## QUALITY CHECKS
Before finalizing, verify:
- Sources are cited for all material claims and numbers (or assumptions are clearly labeled).
- Market sizing method is explained and internally consistent (no conflicting totals).
- Recommendation aligns with evidence and explicitly states conditions/unknowns.
- Financials include assumptions, margins, opex categories, and a break-even calculation.
- The document is easy to scan (headings, bullets, and at least one table/visual).            </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 an executive-ready market feasibility report that determines whether launching **[PRODUCT_DESCRIPTION]** in **[TARGET_REGION]** is commercially viable. The report must synthesize market demand, customer segmentation, competitors, go-to-market options, economics, and key risks, supported by credible citations.\r\n\r\n## PERSONA\r\nYou are a senior commercialization advisor and market intelligence analyst who has launched products across multiple regions. You write like a board-facing consultant: crisp, data-led, and decisive, while clearly separating evidence from assumptions.\r\n\r\n## CONSTRAINTS\r\n- Use only substantiated claims; flag any assumption explicitly as an assumption.\r\n- Prefer current, reputable sources (government statistics, industry analysts, major consultancies, credible financial\/market databases, leading trade associations, peer\u2011reviewed research, or established newswires).\r\n- Keep the document scannable: short paragraphs, bullets, and clear headings.\r\n- Maintain a professional tone for an executive leadership team.\r\n- Provide balanced analysis: upside *and* downside must be covered.\r\n- When precise numbers are unavailable, provide a range and explain the method used to estimate it.\r\n- Include lightweight \u201cvisuals\u201d as markdown tables (and optional ASCII charts) when they improve clarity.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Briefly restate your understanding of the launch context (product\/service + region), what decision the study supports, and what success looks like.\r\n2. **Research plan:** Identify which data you need (market size, growth, segment behaviors, pricing norms, channel structure, competitors) and where you\u2019ll source it.\r\n3. **Market sizing & demand logic:** Quantify TAM\/SAM\/SOM where possible; explain the sizing approach (top\u2011down, bottom\u2011up, or triangulated).\r\n4. **Segmentation & customer reality check:** Define 3 meaningful customer segments; then build 2 personas grounded in the segments.\r\n5. **Competitive mapping:** Identify 3 major competitors (or closest substitutes), summarize positioning, strengths, weaknesses, and differentiation gaps.\r\n6. **Entry blueprint:** Recommend positioning, pricing approach, channels, and promotions\u2014aligned to segment behaviors and competitive dynamics.\r\n7. **Unit economics & 3-year outlook:** Provide a 3-year forecast with assumptions, margin logic, major operating expense categories, and break-even analysis.\r\n8. **Risk register:** List market, competitive, and operational risks, each with mitigations and early warning indicators.\r\n9. **Decision:** Provide a clear launch recommendation (Go \/ Go-with-conditions \/ No-Go) tied to evidence and assumptions.\r\n\r\n### Edge case handling (when inputs are incomplete)\r\n- If **[PRODUCT_DESCRIPTION]** lacks key details (target buyer, pricing level, business model, category), ask up to 5 clarifying questions first.  \r\n- If answers aren\u2019t provided, proceed with explicit assumptions and provide 2\u20133 alternative scenarios.\r\n- If **[TARGET_REGION]** is too broad (e.g., \u201cEurope\u201d), propose a shortlist of priority sub-regions and justify the choice.\r\n\r\n### What this is NOT (scope boundaries)\r\n- Not a legal opinion (regulatory compliance, IP, incorporation, contracts).\r\n- Not formal accounting, tax, or audited financial advice.\r\n- Not a substitute for primary research execution (surveys\/interviews), though it may recommend it.\r\n- Not an implementation project plan with task-by-task resourcing\u2014only a launch strategy outline.\r\n\r\n## INPUTS\r\n- **Product\/service description:** [PRODUCT_DESCRIPTION]\r\n- **Target region for launch:** [TARGET_REGION]\r\n- **Company\/brand name (optional):** [COMPANY_NAME]\r\n- **Industry\/category (optional):** [INDUSTRY]\r\n- **Primary goal for the launch (optional):** [PRIMARY_GOAL]\r\n- **Budget constraints (optional):** [BUDGET]\r\n- **Launch timeline (optional):** [TIMEFRAME]\r\n- **Known challenge or concern (optional):** [CHALLENGE]\r\n- **Preferred writing tone (optional):** [TONE]\r\n- **Preferred deliverable format constraints (optional):** [FORMAT]\r\n- **Key terms to include (optional):** [KEYWORDS]\r\n- **Additional background (optional):** [CONTEXT]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse the following deliverable structure and fill all sections. Use headings exactly as listed.\r\n\r\n### 1) Executive Brief\r\n- **Key Findings:** 3 bullets\r\n- **Launch Recommendation:** {Go \/ Go-With-Conditions \/ No-Go} + 2\u20134 sentences rationale\r\n- **Decision Triggers:** {Trigger} list (what must be true to proceed)\r\n\r\n### 2) Market Overview\r\n- **Market Size & Growth:** {TAM} \/ {SAM} \/ {SOM} with {Currency}, {Year}, {CAGR}  \r\n  - Include a table: {Metric} | {Value\/Range} | {Source}\r\n- **Customer Segments (3):**\r\n  - Segment 1: {Segment Name} \u2014 {Who they are}, {Primary need}, {Why now}\r\n  - Segment 2: {Segment Name} \u2014 {Who they are}, {Primary need}, {Why now}\r\n  - Segment 3: {Segment Name} \u2014 {Who they are}, {Primary need}, {Why now}\r\n- **Trends & Drivers:** 5\u20137 bullets with citations\r\n\r\n### 3) Competitive Landscape\r\n- **Major Competitors (3):**\r\n  - {Competitor Name}: {One-paragraph overview}, {Positioning}, {Approx. pricing}, {Strengths}, {Weaknesses}\r\n- **Differentiation Opportunities (Competitive Advantages):**\r\n  - 4\u20136 bullets: {Advantage} \u2192 {Proof\/Reason} \u2192 {Implication}\r\n\r\n### 4) Customer Analysis\r\n- **Persona A:** {Persona Name}\r\n  - Demographics\/Firmographics: {Details}\r\n  - Needs & Pain Points: {Bullets}\r\n  - Buying Behavior: {Triggers}, {Decision criteria}, {Objections}, {Buying journey}\r\n- **Persona B:** {Persona Name}\r\n  - Demographics\/Firmographics: {Details}\r\n  - Needs & Pain Points: {Bullets}\r\n  - Buying Behavior: {Triggers}, {Decision criteria}, {Objections}, {Buying journey}\r\n\r\n### 5) Market Entry Strategy (Trust Builder \u2192 Scale Path)\r\n- **Positioning & USP:** {Positioning statement} + {Unique selling proposition}  \r\n  - Include 2\u20133 alternative positioning angles if uncertainty is high.\r\n- **Pricing Strategy:** {Pricing model}, {Price points\/range}, {Rationale}, {Expected elasticity notes}\r\n- **Distribution Channels:** {Channel 1}, {Channel 2}, {Channel 3} with pros\/cons and requirements\r\n- **Marketing & Promotions Plan:**  \r\n  - Hook mechanism: {First-message concept}  \r\n  - Channels: {Paid}, {Organic}, {Partnerships}  \r\n  - First 90\u2013110 days outline: {Phase} \u2192 {Goal} \u2192 {Key activities} \u2192 {Success metrics}\r\n\r\n### 6) Financial Projections (3 Years)\r\n- **Assumptions Table:** {Assumption} | {Value} | {Basis\/Source}\r\n- **3-Year Sales Forecast:** a table by year with {Units\/Customers}, {Revenue}, {Growth}\r\n- **Gross Margin:** {Gross Margin %} with explanation of COGS drivers\r\n- **Operating Expenses:** major categories with estimated ranges\r\n- **Break-Even Point:** {Time to break even} and\/or {Volume to break even} with brief method note  \r\n- Include at least one simple visualization (table or ASCII chart) for revenue trajectory.\r\n\r\n### 7) Risk Assessment\r\n- **Market Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}\r\n- **Competitive Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}\r\n- **Operational Risks:** {Risk} | {Likelihood} | {Impact} | {Early signal}\r\n- **Mitigation Strategies:** 5\u20138 bullets mapped to highest risks\r\n\r\n### 8) Conclusion\r\n- 1 short paragraph summarizing viability\r\n- 3 recommended next steps: {Next Step} with {Owner} and {Timeframe}\r\n\r\n### 9) Appendix\r\n- **Research Method:** {Approach} (e.g., triangulation, comparable markets, proxy metrics)\r\n- **Data Sources:** bulleted list\r\n- **References:** numbered list with links (and publication dates when available)\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- Sources are cited for all material claims and numbers (or assumptions are clearly labeled).\r\n- Market sizing method is explained and internally consistent (no conflicting totals).\r\n- Recommendation aligns with evidence and explicitly states conditions\/unknowns.\r\n- Financials include assumptions, margins, opex categories, and a break-even calculation.\r\n- The document is easy to scan (headings, bullets, and at least one table\/visual).";
    const variables = [];
    // 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>Define the decision and success metrics up front.</strong> Don’t just paste a product and a region. Add the decision you’re making (pilot vs full launch, channel choice, pricing band) and what success looks like in 6–12 months (revenue, active customers, CAC payback). Follow-up prompt: “Assume success means $1.5M ARR within 12 months and CAC payback under 6 months; adjust the feasibility conclusion accordingly.”</li>


<li><strong>Write the product description like a positioning statement.</strong> Include target buyer, core job-to-be-done, and one clear differentiator. For example: “AI-powered invoice reconciliation for mid-market logistics firms, integrates with NetSuite and SAP, reduces close time by 30%.” Then ask: “List the 5 strongest reasons this differentiator may not matter in the target region.”</li>

<li><strong>Force explicit assumptions when data is fuzzy.</strong> This prompt is designed to flag assumptions, but you can push it further. Ask it to separate “Evidence,” “Assumption,” and “Confidence level” for each major claim, especially market size and pricing norms. A simple add-on: “Create a table of the top 10 assumptions with confidence (High/Med/Low) and what would validate each.”</li>


<li><strong>Iterate the market sizing method.</strong> After you get TAM/SAM/SOM once, request a second pass using a different approach. Try: “Re-estimate SOM using a bottom-up model (ICP count × expected penetration × annual price). Show the math and identify the most sensitive variables.”</li>


<li><strong>Stress-test go-to-market with constraints.</strong> Real launches have limits: budget caps, sales capacity, compliance, or partner availability. Add a constraint and re-run the GTM section: “Assume a $120K launch budget, no local entity for 9 months, and only partner-led sales; propose the best GTM path and what gets deprioritized.” Honestly, this is where the prompt becomes most practical.</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 your feasibility work is drafted, these prompts help you turn the decision into a focused operating plan.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you also need a way to translate the feasibility conclusion into daily execution, <a href="https://flowpast.com/prompts/build-a-daily-productivity-plan-with-this-ai-prompt/">Build a Daily Productivity Plan with this AI Prompt</a> helps you schedule the highest-leverage tasks that move validation forward (expert calls, landing-page tests, partner outreach). It’s especially useful when your report recommends a time-boxed pilot and you want momentum without chaos.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For teams doing a concentrated research sprint, <a href="https://flowpast.com/prompts/build-a-full-day-productivity-blueprint-ai-prompt/">Build a Full-Day Productivity Blueprint AI Prompt</a> pairs well with this feasibility prompt. Use it to structure a single-day “market intensive” where you gather inputs, pressure-test assumptions, and leave with a draft narrative and next steps.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When leadership asks for a repeatable way to track progress after the go decision, <a href="https://flowpast.com/prompts/build-a-goal-aligned-productivity-scorecard-ai-prompt/">Build a Goal-Aligned Productivity Scorecard AI Prompt</a> helps you define measurable outcomes tied to the report’s success criteria. It’s a clean handoff from strategy (the feasibility report) to accountability (weekly scorecards).</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-daily-productivity-plan-with-this-ai-prompt/">Build a Daily Productivity Plan with this AI Prompt</a>: Turn validation priorities into daily actions.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-full-day-productivity-blueprint-ai-prompt/">Build a Full-Day Productivity Blueprint AI Prompt</a>: Plan a one-day research sprint.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-goal-aligned-productivity-scorecard-ai-prompt/">Build a Goal-Aligned Productivity Scorecard AI Prompt</a>: Track outcomes tied to launch goals.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/create-a-field-productivity-playbook-ai-prompt/">Create a Field Productivity Playbook AI Prompt</a>: Standardize outreach and field execution.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-remote-team-productivity-system-ai-prompt/">Build a Remote Team Productivity System AI Prompt</a>: Keep a distributed launch team aligned.</li>
<!-- /wp:list-item -->
</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 market feasibility report AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Product Marketing Managers</strong> use it to turn scattered research into a single narrative leadership can approve, complete with segments, positioning implications, and go-to-market options. <strong>Strategy and Corporate Development leads</strong> rely on it for expansion decisions, especially when they must justify regional prioritization with defensible sizing logic. <strong>Startup Founders</strong> benefit because it forces clear assumptions and highlights what must be validated before spending heavily. <strong>Independent consultants</strong> apply it to deliver client-ready outputs faster while still separating evidence from conjecture.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this market feasibility report AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>SaaS and B2B software</strong> teams use it to evaluate entry into a new geography where buyer roles, compliance expectations, and channel norms change, even if the product is the same. <strong>Consumer packaged goods (CPG)</strong> brands apply it to understand distribution structure, price ladders, and private-label competition before launching into a retailer-led region. <strong>Healthcare and regulated services</strong> get value because the prompt encourages balanced upside/downside and makes assumptions explicit when precise data is hard to obtain. <strong>Industrial and logistics providers</strong> use it to map segments and routes to market (direct sales, partners, tenders) and to sanity-check adoption friction.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for writing a market feasibility report produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “<em>Write me a market feasibility report for my product</em>” fails because it: lacks a defined decision context and success criteria, so the report reads like a generic overview. It provides no sizing framework (TAM/SAM/SOM) or method, which makes numbers feel invented. It ignores segmentation and persona reality checks, so the “customer” is everyone and no one. It blurs evidence and assumptions, which is deadly in executive settings. And it skips structured risk analysis, leaving leadership without a clear view of what could break the launch.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this market feasibility report prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. The two biggest levers are PRODUCT_DESCRIPTION and TARGET_REGION, and you will get better output when both are specific (buyer, use case, pricing model, and any compliance or distribution constraints). You can also customize the decision being supported, such as “pilot in one city vs nationwide launch” or “partner-led vs direct sales,” and ask the prompt to re-rank go-to-market options accordingly. A helpful follow-up is: “Rewrite the report assuming our primary constraint is a 90-day pilot window and no dedicated sales headcount; update sizing, GTM, and risk.” If you already have internal numbers (conversion rates, ARPA, margins), paste them and request an updated unit economics section using your inputs.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this market feasibility report prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving PRODUCT_DESCRIPTION too vague — instead of “a fitness app,” try “a subscription strength-training app for women 35–55, $19/month, with PT-led programs and wearable integrations.” Another common error is choosing TARGET_REGION as a broad label (bad: “Europe”; better: “Germany, starting with Berlin and Hamburg, online-only for the first 6 months”). People also forget to state the decision being made, which leads to a report that describes a market but never answers “should we launch.” Finally, users accept single-point market size figures; push for ranges and methods, then ask what variables would change the conclusion.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this market feasibility report prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for one-page “idea napkins” where you only want a quick brainstorm and won’t check sources. It’s also not the best fit if you have zero clarity on the product concept yet, because feasibility work depends on a defined buyer, problem, and business model. And if your organization requires primary research only (surveys, interviews, paid panels) before any recommendation, this prompt is better used as a planning tool than a final answer. In those cases, use it to generate the research plan and assumptions list, then validate with real-world data.</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 market feasibility report AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Product Marketing Managers use it to turn scattered research into a single narrative leadership can approve, complete with segments, positioning implications, and go-to-market options. Strategy and Corporate Development leads rely on it for expansion decisions, especially when they must justify regional prioritization with defensible sizing logic. Startup Founders benefit because it forces clear assumptions and highlights what must be validated before spending heavily. Independent consultants apply it to deliver client-ready outputs faster while still separating evidence from conjecture."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this market feasibility report AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS and B2B software teams use it to evaluate entry into a new geography where buyer roles, compliance expectations, and channel norms change, even if the product is the same. Consumer packaged goods (CPG) brands apply it to understand distribution structure, price ladders, and private-label competition before launching into a retailer-led region. Healthcare and regulated services get value because the prompt encourages balanced upside/downside and makes assumptions explicit when precise data is hard to obtain. Industrial and logistics providers use it to map segments and routes to market (direct sales, partners, tenders) and to sanity-check adoption friction."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for writing a market feasibility report produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a market feasibility report for my product” fails because it: lacks a defined decision context and success criteria, so the report reads like a generic overview. It provides no sizing framework (TAM/SAM/SOM) or method, which makes numbers feel invented. It ignores segmentation and persona reality checks, so the “customer” is everyone and no one. It blurs evidence and assumptions, which is deadly in executive settings. And it skips structured risk analysis, leaving leadership without a clear view of what could break the launch."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this market feasibility report prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The two biggest levers are PRODUCT_DESCRIPTION and TARGET_REGION, and you will get better output when both are specific (buyer, use case, pricing model, and any compliance or distribution constraints). You can also customize the decision being supported, such as “pilot in one city vs nationwide launch” or “partner-led vs direct sales,” and ask the prompt to re-rank go-to-market options accordingly. A helpful follow-up is: “Rewrite the report assuming our primary constraint is a 90-day pilot window and no dedicated sales headcount; update sizing, GTM, and risk.” If you already have internal numbers (conversion rates, ARPA, margins), paste them and request an updated unit economics section using your inputs."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this market feasibility report prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving PRODUCT_DESCRIPTION too vague — instead of “a fitness app,” try “a subscription strength-training app for women 35–55, $19/month, with PT-led programs and wearable integrations.” Another common error is choosing TARGET_REGION as a broad label (bad: “Europe”; better: “Germany, starting with Berlin and Hamburg, online-only for the first 6 months”). People also forget to state the decision being made, which leads to a report that describes a market but never answers “should we launch.” Finally, users accept single-point market size figures; push for ranges and methods, then ask what variables would change the conclusion."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this market feasibility report prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-page “idea napkins” where you only want a quick brainstorm and won’t check sources. It’s also not the best fit if you have zero clarity on the product concept yet, because feasibility work depends on a defined buyer, problem, and business model. And if your organization requires primary research only (surveys, interviews, paid panels) before any recommendation, this prompt is better used as a planning tool than a final answer. In those cases, use it to generate the research plan and assumptions list, then validate with real-world data."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Feasibility isn’t about finding perfect data. It’s about making the decision legible, defensible, and fast. Paste the prompt into the viewer, fill in your product and region details, and generate a report your leadership team can actually act on.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5000967.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Replacement Recovery Workflow with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-replacement-recovery-workflow-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:46:17 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002883</guid>

					<description><![CDATA[Replacements spiral into chaos - use this AI Prompt to build a DMAIC recovery workflow with guardrails, metrics, and abuse controls. Explore thousands of AI prompts by function and industry.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: replacement recovery workflow -->

<div class="hook-introduction">

<p>Replacement requests sound simple until you scale them. Then they turn into a messy mix of inconsistent approvals, rising fraud, slow tickets, and customers who feel like they’re “being investigated” instead of helped. Costs creep up quietly, and the ops team ends up firefighting the same failure modes every week.</p>



<p>This <strong>replacement recovery workflow</strong> is built for <strong>Fulfillment Operations Managers</strong> dealing with lost-in-transit spikes, <strong>Customer Support Leads</strong> trying to shorten handle time without opening fraud loopholes, and <strong>E-commerce Directors</strong> who need to protect margin while keeping loyalty intact. The output is an interactive, staged operating model that uses DMAIC plus Service Recovery Paradox thinking, including guardrails, metrics, edge-case rules, and a “type continue to advance” build process.</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 current replacement situation, highlights the top three operational tensions, and labels assumptions before proposing solutions.</li>
          <li>It designs an end-to-end replacement-item workflow using DMAIC as the backbone, from define and measure through control.</li>
          <li>It applies Service Recovery Paradox logic so recovery actions measurably increase loyalty instead of merely closing tickets.</li>
          <li>It builds abuse-resistant decisioning, including claimant patterns, SKU risk tiers, and incentive-safe policies.</li>
          <li>It forces edge-case coverage (high-value SKUs, backorders, partial shipments, marketplace vs DTC, regulated items) so exceptions don’t become the real process.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>Your “instant replacement” policy is getting gamed, and you need tighter controls without tanking CSAT.</li>
          <li>Replacements are taking too long because teams argue over rules, evidence thresholds, and who owns each step.</li>
          <li>You are about to enter peak season, and even small failure rates will overwhelm support and warehouse teams.</li>
          <li>Carrier performance, packaging failures, or pick/pack errors are increasing, and replacements are masking the root cause.</li>
          <li>You need to standardize a multi-channel reality (marketplace + DTC) where policies and data visibility differ.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A staged DMAIC recovery plan with phase count matched to complexity and risk.</li>
           <li>A replacement decision framework (approve, deny, investigate, refund, reship later) with clear triggers and evidence rules.</li>
           <li>Policy guardrails and abuse controls, including repeat-claimant handling and high-value SKU thresholds.</li>
           <li>A metrics pack (speed, trust, cost, and fraud signals) that avoids vanity KPI traps.</li>
           <li>A control plan with monitoring routines, escalation paths, and “what to fix next” prompts for continuous improvement.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: DMAIC Replacement Recovery Workflow 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>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide a brief understanding of the organization&#039;s current situation, including industry, size, and any relevant challenges or dynamics.                                    <div class="var-example">For example: "A mid-sized tech company experiencing rapid growth, with teams struggling under heavy workloads and unclear priorities following a recent reorganization."</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>[EMPLOYEE_DATA_SOURCE]</code></td>
                                <td class="var-desc">
                                    Specify the type of data being analyzed, such as surveys, feedback forms, or performance reviews, and any related details about its scope or collection method.                                    <div class="var-example">For example: "Annual employee engagement survey with 500 respondents across all departments and anonymized feedback from exit interviews conducted over the past year."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[EMPLOYEE_DATA_SOURCE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[ORGANIZATIONAL_CONSTRAINTS]</code></td>
                                <td class="var-desc">
                                    List any known limitations the organization faces, such as budget, time, resource availability, or leadership alignment issues, that might impact recommendations.                                    <div class="var-example">For example: "Limited budget for new initiatives and a leadership team focused on short-term revenue growth, with minimal bandwidth for structural changes in the next quarter."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[ORGANIZATIONAL_CONSTRAINTS]"
                                            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 intended audience for the analysis and recommendations, including their roles, responsibilities, and decision-making authority.                                    <div class="var-example">For example: "Senior leadership team and HR department responsible for organizational strategy, workforce planning, and employee wellbeing initiatives."</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>[TONE]</code></td>
                                <td class="var-desc">
                                    Specify the tone or style in which the analysis and recommendations should be presented, considering the audience and context.                                    <div class="var-example">For example: "Calm, precise, and professional, avoiding sensationalism while clearly addressing risks and actionable solutions in corporate language."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TONE]"
                                            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 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 class="locked-line" style="width: 83%;"></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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Burnout Risk Assessment Summary</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) Exhaustion (MBI Dimension 1)</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) Cynicism / Detachment (MBI Dimension 2)</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) Reduced Efficacy (MBI Dimension 3)</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) Cross-Dimension Diagnosis (Root Cause View)</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">6) Prioritized Action Plan (Table 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 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
Assess workplace burnout risk using the Maslach Burnout Inventory (MBI) lens, extracting early warning signals from employee survey/feedback text, linking those signals to organizational drivers, and producing a prevention-first intervention plan that targets systemic causes rather than individual “resilience” tips.

## PERSONA
Act as an organizational burnout forensics specialist: a former high-growth tech operator who personally hit severe burnout, then retrained deeply in the Maslach approach. Your writing style is calm, precise, and human—direct about risk, careful not to sensationalize, and fluent in “corporate-speak translation.”

## CONSTRAINTS
- Use the three MBI dimensions as the core organizing frame: **exhaustion**, **cynicism**, **reduced efficacy**.
- Base claims on the provided data; cite evidence snippets or specific data points.
- Separate **routine stress** from **burnout trajectory**; do not over-diagnose normal frustration.
- Prioritize **system-level contributors** (work design, staffing, role clarity, leadership signals, incentives, process load) over individual coping tactics.
- Recommendations must be **actionable**, **measurable**, and mindful of stated limits (budget/time/resources).
- Handle sensitive content respectfully; avoid medical or clinical diagnosis language.

### What This Is NOT
- Not a medical assessment, therapy, or a statement that any individual “has burnout.”
- Not a generic wellness menu (e.g., “try meditation”) unless it is explicitly tied to an organizational root cause and paired with systemic change.
- Not a legal/HR compliance opinion or investigation into specific people.

## PROCESS
1. **Pre-Analysis Understanding (required):** Start by briefly stating your understanding of the organization context and what the provided dataset appears to contain, plus any assumptions you must make.
2. **Signal Extraction:** Identify phrases, patterns, and metrics that indicate each MBI dimension. Translate euphemisms (e.g., “capacity challenges,” “engagement drift,” “performance headwinds”) into likely human experience while staying evidence-based.
3. **Stress vs. Burnout Sorting:** Label signals as (a) normal acute stress, (b) persistent strain, or (c) escalating burnout risk—explain why.
4. **Organizational Driver Mapping:** For each dimension, connect signals to plausible organizational factors (e.g., workload volatility, unclear priorities, meeting load, staffing gaps, manager capability, low recognition, role conflict, lack of autonomy, unfairness).
5. **Pattern Cuts:** Look for differences by team, role, tenure, geography, demographic group (only if present in the data), and highlight hotspots and protective pockets.
6. **Intervention Design:** Propose a three-horizon plan:
   - Rapid stabilizers (near-term relief and risk containment)
   - Structural fixes (work redesign and operating model adjustments)
   - Cultural/leadership shifts (norms, incentives, accountability)
7. **Edge Cases / Missing Info:** If inputs are thin or ambiguous, flag what’s missing, provide best-effort provisional findings, and list the minimum extra data needed to increase confidence.

## INPUTS
- **Organization type:** [CONTEXT]
- **Employee data (survey text, metrics, feedback reports):** [EMPLOYEE_DATA_SOURCE]
- **Constraints (budget, time, resources, change limitations):** [ORGANIZATIONAL_CONSTRAINTS]
- **Primary user segment (optional):** [TARGET_AUDIENCE]
- **Preferred tone (optional):** [TONE]

## OUTPUT SPECIFICATION
Use clear headings and subheadings. Write in structured paragraphs plus bullets for evidence. Bold the most important risks and actions.

### 1) Burnout Risk Assessment Summary
Include:
- {Overall Risk Level} (Low / Medium / High / Critical)
- {Top 3-5 Critical Findings} (bullets, bold key phrases)
- {Most Affected Groups/Functions} (if identifiable)
- {Confidence Level} (High/Medium/Low based on data completeness)

### 2) Exhaustion (MBI Dimension 1)
Provide:
- **Severity:** {Exhaustion Severity} (Low/Medium/High/Critical)
- **Evidence:** bullet list of {Evidence Snippet} items (quotes or data points)
- **Interpretation:** what the evidence suggests (physical/emotional/cognitive depletion)
- **Likely Organizational Contributors:** {Contributor List}
- **Early-Warning Markers to Monitor Next:** {Monitoring Indicators}

### 3) Cynicism / Detachment (MBI Dimension 2)
Provide:
- **Severity:** {Cynicism Severity}
- **Evidence:** {Evidence Snippet} bullets (e.g., withdrawal, sarcasm, blame language, “why bother” tone)
- **Interpretation:** what the distancing looks like in this org
- **Likely Organizational Contributors:** {Contributor List}
- **Protective Factors Present (if any):** {Protective Factors}

### 4) Reduced Efficacy (MBI Dimension 3)
Provide:
- **Severity:** {Efficacy Severity}
- **Evidence:** {Evidence Snippet} bullets (self-doubt, error rates if present, “no impact,” stalled progress)
- **Interpretation:** how confidence/achievement is eroding
- **Likely Organizational Contributors:** {Contributor List}
- **Second-Order Risks:** {Downstream Risks} (quality, safety, customer impact, attrition)

### 5) Cross-Dimension Diagnosis (Root Cause View)
Summarize:
- {Primary Systemic Drivers} ranked
- {Hotspots} (teams/roles) and {Bright Spots} (where strain is lower and why)
- {Stress vs Burnout Boundary Notes} (where language indicates normal pressure vs chronic harm)

### 6) Prioritized Action Plan (Table Required)
Include a table with columns:
- **Intervention**
- **Timeline** (Immediate / Near-term / Long-term, with approximate windows)
- **Resources Needed**
- **Expected Impact** (measurable outcome + who benefits)
Also add:
- {Top 3 “Start This Week” Actions}
- {Metrics to Track} (leading + lagging indicators; avoid vanity metrics)

## QUALITY CHECKS
Before finalizing, verify:
- [ ] Each MBI dimension includes **severity**, **evidence**, and **organizational drivers** (not just symptoms).
- [ ] At least one section clearly distinguishes **normal stress** from **burnout escalation** using the provided data.
- [ ] Recommendations are **measurable** and feasible within [ORGANIZATIONAL_CONSTRAINTS].
- [ ] Language avoids medical diagnosis and does not individualize blame.
- [ ] If inputs are incomplete, missing elements are explicitly listed with a minimal data request.            </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\nAssess workplace burnout risk using the Maslach Burnout Inventory (MBI) lens, extracting early warning signals from employee survey\/feedback text, linking those signals to organizational drivers, and producing a prevention-first intervention plan that targets systemic causes rather than individual \u201cresilience\u201d tips.\r\n\r\n## PERSONA\r\nAct as an organizational burnout forensics specialist: a former high-growth tech operator who personally hit severe burnout, then retrained deeply in the Maslach approach. Your writing style is calm, precise, and human\u2014direct about risk, careful not to sensationalize, and fluent in \u201ccorporate-speak translation.\u201d\r\n\r\n## CONSTRAINTS\r\n- Use the three MBI dimensions as the core organizing frame: **exhaustion**, **cynicism**, **reduced efficacy**.\r\n- Base claims on the provided data; cite evidence snippets or specific data points.\r\n- Separate **routine stress** from **burnout trajectory**; do not over-diagnose normal frustration.\r\n- Prioritize **system-level contributors** (work design, staffing, role clarity, leadership signals, incentives, process load) over individual coping tactics.\r\n- Recommendations must be **actionable**, **measurable**, and mindful of stated limits (budget\/time\/resources).\r\n- Handle sensitive content respectfully; avoid medical or clinical diagnosis language.\r\n\r\n### What This Is NOT\r\n- Not a medical assessment, therapy, or a statement that any individual \u201chas burnout.\u201d\r\n- Not a generic wellness menu (e.g., \u201ctry meditation\u201d) unless it is explicitly tied to an organizational root cause and paired with systemic change.\r\n- Not a legal\/HR compliance opinion or investigation into specific people.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis Understanding (required):** Start by briefly stating your understanding of the organization context and what the provided dataset appears to contain, plus any assumptions you must make.\r\n2. **Signal Extraction:** Identify phrases, patterns, and metrics that indicate each MBI dimension. Translate euphemisms (e.g., \u201ccapacity challenges,\u201d \u201cengagement drift,\u201d \u201cperformance headwinds\u201d) into likely human experience while staying evidence-based.\r\n3. **Stress vs. Burnout Sorting:** Label signals as (a) normal acute stress, (b) persistent strain, or (c) escalating burnout risk\u2014explain why.\r\n4. **Organizational Driver Mapping:** For each dimension, connect signals to plausible organizational factors (e.g., workload volatility, unclear priorities, meeting load, staffing gaps, manager capability, low recognition, role conflict, lack of autonomy, unfairness).\r\n5. **Pattern Cuts:** Look for differences by team, role, tenure, geography, demographic group (only if present in the data), and highlight hotspots and protective pockets.\r\n6. **Intervention Design:** Propose a three-horizon plan:\r\n   - Rapid stabilizers (near-term relief and risk containment)\r\n   - Structural fixes (work redesign and operating model adjustments)\r\n   - Cultural\/leadership shifts (norms, incentives, accountability)\r\n7. **Edge Cases \/ Missing Info:** If inputs are thin or ambiguous, flag what\u2019s missing, provide best-effort provisional findings, and list the minimum extra data needed to increase confidence.\r\n\r\n## INPUTS\r\n- **Organization type:** [CONTEXT]\r\n- **Employee data (survey text, metrics, feedback reports):** [EMPLOYEE_DATA_SOURCE]\r\n- **Constraints (budget, time, resources, change limitations):** [ORGANIZATIONAL_CONSTRAINTS]\r\n- **Primary user segment (optional):** [TARGET_AUDIENCE]\r\n- **Preferred tone (optional):** [TONE]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse clear headings and subheadings. Write in structured paragraphs plus bullets for evidence. Bold the most important risks and actions.\r\n\r\n### 1) Burnout Risk Assessment Summary\r\nInclude:\r\n- {Overall Risk Level} (Low \/ Medium \/ High \/ Critical)\r\n- {Top 3-5 Critical Findings} (bullets, bold key phrases)\r\n- {Most Affected Groups\/Functions} (if identifiable)\r\n- {Confidence Level} (High\/Medium\/Low based on data completeness)\r\n\r\n### 2) Exhaustion (MBI Dimension 1)\r\nProvide:\r\n- **Severity:** {Exhaustion Severity} (Low\/Medium\/High\/Critical)\r\n- **Evidence:** bullet list of {Evidence Snippet} items (quotes or data points)\r\n- **Interpretation:** what the evidence suggests (physical\/emotional\/cognitive depletion)\r\n- **Likely Organizational Contributors:** {Contributor List}\r\n- **Early-Warning Markers to Monitor Next:** {Monitoring Indicators}\r\n\r\n### 3) Cynicism \/ Detachment (MBI Dimension 2)\r\nProvide:\r\n- **Severity:** {Cynicism Severity}\r\n- **Evidence:** {Evidence Snippet} bullets (e.g., withdrawal, sarcasm, blame language, \u201cwhy bother\u201d tone)\r\n- **Interpretation:** what the distancing looks like in this org\r\n- **Likely Organizational Contributors:** {Contributor List}\r\n- **Protective Factors Present (if any):** {Protective Factors}\r\n\r\n### 4) Reduced Efficacy (MBI Dimension 3)\r\nProvide:\r\n- **Severity:** {Efficacy Severity}\r\n- **Evidence:** {Evidence Snippet} bullets (self-doubt, error rates if present, \u201cno impact,\u201d stalled progress)\r\n- **Interpretation:** how confidence\/achievement is eroding\r\n- **Likely Organizational Contributors:** {Contributor List}\r\n- **Second-Order Risks:** {Downstream Risks} (quality, safety, customer impact, attrition)\r\n\r\n### 5) Cross-Dimension Diagnosis (Root Cause View)\r\nSummarize:\r\n- {Primary Systemic Drivers} ranked\r\n- {Hotspots} (teams\/roles) and {Bright Spots} (where strain is lower and why)\r\n- {Stress vs Burnout Boundary Notes} (where language indicates normal pressure vs chronic harm)\r\n\r\n### 6) Prioritized Action Plan (Table Required)\r\nInclude a table with columns:\r\n- **Intervention**\r\n- **Timeline** (Immediate \/ Near-term \/ Long-term, with approximate windows)\r\n- **Resources Needed**\r\n- **Expected Impact** (measurable outcome + who benefits)\r\nAlso add:\r\n- {Top 3 \u201cStart This Week\u201d Actions}\r\n- {Metrics to Track} (leading + lagging indicators; avoid vanity metrics)\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- [ ] Each MBI dimension includes **severity**, **evidence**, and **organizational drivers** (not just symptoms).\r\n- [ ] At least one section clearly distinguishes **normal stress** from **burnout escalation** using the provided data.\r\n- [ ] Recommendations are **measurable** and feasible within [ORGANIZATIONAL_CONSTRAINTS].\r\n- [ ] Language avoids medical diagnosis and does not individualize blame.\r\n- [ ] If inputs are incomplete, missing elements are explicitly listed with a minimal data request.";
    const variables = ["[CONTEXT]","[EMPLOYEE_DATA_SOURCE]","[ORGANIZATIONAL_CONSTRAINTS]","[TARGET_AUDIENCE]","[TONE]"];
    // 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 baselines, even if they’re rough.</strong> The prompt will ask for missing details, but you’ll get sharper guardrails if you provide today’s replacement rate, lost-in-transit rate, and average resolution time. If you don’t know, estimate and label it (“~2.3% of orders request replacements; median time to resolve is 3 days”). It’s better than guessing silently.</li>


<li><strong>Define “trust” in measurable terms.</strong> Service Recovery Paradox sounds fluffy until you quantify it. Tell the model what loyalty proxy you can actually see, like repeat purchase within 60 days, negative review rate, chargeback rate, or post-contact NPS. Follow-up prompt: “Use repeat purchase within 45 days as the loyalty metric; propose two recovery treatments and how we’d test them.”</li>


<li><strong>Segment by risk, not by emotion.</strong> Many teams write rules like “VIP customers get instant replacements,” which can be expensive and easy to abuse. Instead, provide segments such as: first-time buyers, repeat customers with 0 prior claims, repeat claimants (2+ claims in 90 days), and high-value basket shoppers. Ask: “Create a tiered policy matrix by claimant history and SKU value bands.”</li>


<li><strong>After the first output, force tradeoff stress tests.</strong> The prompt naturally balances speed, cost, and fraud resistance, but you should push it harder. Try: “Now make option 1 30% faster with slightly higher cost, and option 2 20% cheaper with slightly slower resolution. Explain the failure modes and where it breaks.”</li>


<li><strong>Use edge cases as your acceptance criteria.</strong> Honestly, if the workflow fails on backorders and partial shipments, it will fail in production. Feed 3-5 ugly examples (lost-in-transit high-value SKU, partial shipment missing 1 unit, regulated item replacement restrictions), then ask: “Rewrite the decision rules so these cases are unambiguous, including escalation ownership and customer messaging constraints.”</li>

</ul>

</div>

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

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



<p>Once your replacement recovery workflow is stable, these prompts help you reduce repeat incidents and recover margin on the back end:</p>



<p>If you also need to offset replacement costs with smarter revenue capture, <a href="https://flowpast.com/prompts/build-post-purchase-cross-sell-flows-with-this-ai-prompt/">Build Post-Purchase Cross-Sell Flows with this AI Prompt</a> is a practical next step. When a replacement is shipped, the timing and message need to be sensitive; a structured post-purchase flow helps you choose offers that feel helpful, not opportunistic.</p>



<p>For teams doing larger catalog cleanups, <a href="https://flowpast.com/prompts/find-high-margin-low-return-product-categories-ai-prompt/">Find High-Margin Low-Return Product Categories AI Prompt</a> pairs well with recovery work. Replacements often hide which SKUs are actually creating the operational drag, so identifying “profit-dense, low-return” categories helps you shift merchandising and ad spend toward healthier lines.</p>



<p>When your leadership wants a cleaner plan for increasing AOV (without increasing support burden), use <a href="https://flowpast.com/prompts/create-complementary-product-bundles-with-this-ai-prompt/">Create Complementary Product Bundles with this AI Prompt</a>. Bundles can reduce downstream replacement noise by improving product fit and expectations, especially when you bundle accessories that prevent damage or misuse.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/build-post-purchase-cross-sell-flows-with-this-ai-prompt/">Build Post-Purchase Cross-Sell Flows with this AI Prompt</a>: Post-purchase offers timed to customer events.</li>


<li><a href="https://flowpast.com/prompts/find-high-margin-low-return-product-categories-ai-prompt/">Find High-Margin Low-Return Product Categories AI Prompt</a>: Spot profitable categories with fewer returns.</li>


<li><a href="https://flowpast.com/prompts/create-complementary-product-bundles-with-this-ai-prompt/">Create Complementary Product Bundles with this AI Prompt</a>: Bundle ideas that improve fit and value.</li>


<li><a href="https://flowpast.com/prompts/build-an-upsell-and-cross-sell-playbook-with-this-ai-prompt/">Build an Upsell and Cross-Sell Playbook with this AI Prompt</a>: Full upsell/cross-sell strategy and rules.</li>


<li><a href="https://flowpast.com/prompts/build-cross-sell-and-up-sell-playbooks-ai-prompt/">Build Cross-Sell and Up-Sell Playbooks AI Prompt</a>: Offer mapping by segment and moment.</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 replacement recovery workflow AI prompt?</span>

<p class="answer"><strong>Head of Customer Support</strong> uses this to standardize replacement decisions so agents stop improvising and escalations drop. <strong>Fulfillment / Warehouse Operations Managers</strong> rely on it to connect replacement volume to pick-pack, inventory accuracy, and carrier handoff issues, not just “customer claims.” <strong>Fraud and Risk Analysts</strong> apply it to design evidence thresholds and repeat-claimant controls that don’t create new incentives to game the system. <strong>Customer Experience Managers</strong> use the Service Recovery Paradox elements to test recovery treatments that actually lift loyalty, not just short-term satisfaction.</p>

</div>

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

<p class="answer"><strong>DTC e-commerce brands</strong> get value because replacement speed and tone directly impact repeat purchase, and fraud rings often target easy “reship” policies. The prompt helps them build tiered rules for claimant history, SKU value, and delivery proof. <strong>Marketplaces and multi-channel sellers</strong> benefit when marketplace policies conflict with DTC policies, because the workflow forces channel-specific decisioning and escalation paths. <strong>Subscription box and replenishment businesses</strong> use it to reduce churn by treating missing/late boxes as a recoverable experience, with controlled compensation and tight SLAs. <strong>Consumer electronics and high-value goods</strong> teams apply it to high-risk edge cases like serial numbers, porch piracy claims, and regulated shipping constraints.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a replacement recovery workflow produce weak results?</span>

<p class="answer">A typical prompt like “Write me a replacement workflow for my store” fails because it: lacks a DMAIC backbone, so it never reaches measurement and control. It provides no abuse-resistant decision rules, which accidentally encourages “replacement shopping” and repeat claiming. It ignores operational constraints like backorders, marketplace visibility gaps, and contact-center capacity, so the workflow reads well but won’t run. It produces generic steps instead of edge-case handling for high-value SKUs, partial shipments, and lost-in-transit scenarios, where most real disputes happen. And it misses Service Recovery Paradox thinking, so you get cost-cutting guidance rather than loyalty-improving recovery treatments you can test.</p>

</div>

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

<p class="answer">Yes. The prompt is designed to pause and ask for the minimum missing inputs, then adapt to your volume, current SLAs, customer segments, technical and integration limits, and operational capacity. You can steer it by being explicit about constraints (for example, “no carrier API access,” “WMS updates nightly,” or “agents cannot request ID verification in checkout markets”). After the first staged release, ask a follow-up like: “Rebuild the workflow for 15,000 orders/day, 65% marketplace, 48-hour replacement SLA, and a strict limit on manual reviews. Show what must be automated vs. handled by specialists.”</p>

</div>

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

<p class="answer">The biggest mistake is leaving your context too vague, like “We do a lot of replacements,” instead of “We ship 4,000 orders/day, replacements are 2.8%, and 40% are ‘delivered-not-received’ claims.” Another common error is not naming your hard constraints; “We can integrate anything” leads to unrealistic automations, while “We only have Shopify + Zendesk, no custom app changes for 60 days” produces an implementable plan. Teams also forget to specify abuse patterns they already see (bad: “some fraud”; good: “repeat claimants with 3+ DNR claims in 30 days, often on high-value SKUs”). Finally, people skip edge cases; if you don’t mention backorders, partial shipments, and regulated items up front, you’ll end up patching the process later with inconsistent exceptions.</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this replacement recovery workflow prompt?</span>

<p class="answer">This prompt isn’t ideal for one-off situations where you only need a single email template or a quick “approve/deny” script. It also won’t help much if you have not validated your basic fulfillment data (order status accuracy, inventory truth, carrier scan reliability), because DMAIC recommendations depend on measurable signals. And if your team wants a lightweight checklist rather than an operating model with guardrails and controls, it may feel like overkill. In those cases, start by documenting your current steps and failure reasons for two weeks, then come back with real examples.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this replacement recovery workflow AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Head of Customer Support uses this to standardize replacement decisions so agents stop improvising and escalations drop. Fulfillment / Warehouse Operations Managers rely on it to connect replacement volume to pick-pack, inventory accuracy, and carrier handoff issues, not just “customer claims.” Fraud and Risk Analysts apply it to design evidence thresholds and repeat-claimant controls that don’t create new incentives to game the system. Customer Experience Managers use the Service Recovery Paradox elements to test recovery treatments that actually lift loyalty, not just short-term satisfaction."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this replacement recovery workflow AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "DTC e-commerce brands get value because replacement speed and tone directly impact repeat purchase, and fraud rings often target easy “reship” policies. The prompt helps them build tiered rules for claimant history, SKU value, and delivery proof. Marketplaces and multi-channel sellers benefit when marketplace policies conflict with DTC policies, because the workflow forces channel-specific decisioning and escalation paths. Subscription box and replenishment businesses use it to reduce churn by treating missing/late boxes as a recoverable experience, with controlled compensation and tight SLAs. Consumer electronics and high-value goods teams apply it to high-risk edge cases like serial numbers, porch piracy claims, and regulated shipping constraints."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a replacement recovery workflow produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a replacement workflow for my store” fails because it: lacks a DMAIC backbone, so it never reaches measurement and control. It provides no abuse-resistant decision rules, which accidentally encourages “replacement shopping” and repeat claiming. It ignores operational constraints like backorders, marketplace visibility gaps, and contact-center capacity, so the workflow reads well but won’t run. It produces generic steps instead of edge-case handling for high-value SKUs, partial shipments, and lost-in-transit scenarios, where most real disputes happen. And it misses Service Recovery Paradox thinking, so you get cost-cutting guidance rather than loyalty-improving recovery treatments you can test."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this replacement recovery workflow prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The prompt is designed to pause and ask for the minimum missing inputs, then adapt to your volume, current SLAs, customer segments, technical and integration limits, and operational capacity. You can steer it by being explicit about constraints (for example, “no carrier API access,” “WMS updates nightly,” or “agents cannot request ID verification in checkout markets”). After the first staged release, ask a follow-up like: “Rebuild the workflow for 15,000 orders/day, 65% marketplace, 48-hour replacement SLA, and a strict limit on manual reviews. Show what must be automated vs. handled by specialists.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this replacement recovery workflow prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving your context too vague, like “We do a lot of replacements,” instead of “We ship 4,000 orders/day, replacements are 2.8%, and 40% are ‘delivered-not-received’ claims.” Another common error is not naming your hard constraints; “We can integrate anything” leads to unrealistic automations, while “We only have Shopify + Zendesk, no custom app changes for 60 days” produces an implementable plan. Teams also forget to specify abuse patterns they already see (bad: “some fraud”; good: “repeat claimants with 3+ DNR claims in 30 days, often on high-value SKUs”). Finally, people skip edge cases; if you don’t mention backorders, partial shipments, and regulated items up front, you’ll end up patching the process later with inconsistent exceptions."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this replacement recovery workflow prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off situations where you only need a single email template or a quick “approve/deny” script. It also won’t help much if you have not validated your basic fulfillment data (order status accuracy, inventory truth, carrier scan reliability), because DMAIC recommendations depend on measurable signals. And if your team wants a lightweight checklist rather than an operating model with guardrails and controls, it may feel like overkill. In those cases, start by documenting your current steps and failure reasons for two weeks, then come back with real examples."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Replacements don’t have to be a margin leak or a fraud magnet. Put this prompt into your AI tool, follow the staged “continue” flow, and walk away with a recovery operating model your team can actually run.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002883.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Partnership Activity Tracker with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-partnership-activity-tracker-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:45:07 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5000965</guid>

					<description><![CDATA[Partnerships lack clarity - the ultimate AI Prompt that builds a KPI tracker table with goals, status, and ROI notes. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: partnership activity tracker -->
<div class="hook-introduction">

<p>Your partnerships look “busy” on the surface. But when you try to answer simple questions—What did we do? What did it produce? What should we do next?—the data is scattered across email threads, spreadsheets, and someone’s memory. That’s where ROI quietly disappears.</p>



<p>This <strong>partnership activity tracker</strong> is built for <strong>partnership managers</strong> who need a consistent way to report progress to leadership, <strong>growth marketers</strong> juggling co-marketing swaps and referral pushes, and <strong>ops leads</strong> who want a light-weight system before implementing anything heavier than a spreadsheet. The output is a single 4-column tracker table (Partner Name, Activity, Goal, Outcome) plus the categories, KPI criteria, and follow-ups you need to run partnerships like an operating rhythm.</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 generates a partnership-management worksheet for your company that you can run as a weekly or monthly tracker.</li>
          <li>It populates realistic partner rows with a mix of statuses (✅/⏳/❌) so you can see what “good tracking” looks like.</li>
          <li>It forces measurable goals by design, including targets like dates, lead counts, conversion rates, revenue, and reach.</li>
          <li>It defines KPI measurement criteria tied to common partnership activity types, so outcomes aren’t subjective.</li>
          <li>It recommends prioritized follow-ups based on the activities and outcomes, turning the tracker into a next-actions list.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You have partnerships in motion, but leadership keeps asking for a clear ROI view and you can’t answer quickly.</li>
          <li>Your team is doing co-marketing, referrals, or channel deals, yet goals are fuzzy (“drive awareness”) and hard to grade.</li>
          <li>You’re about to start a new partner push and want a simple operating cadence before adding tools or processes.</li>
          <li>A few partners are underperforming and you need a consistent way to diagnose what’s failing across activities.</li>
          <li>You’re scaling partnership volume and need the same structure to compare outcomes across different partner types.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>One tracker table with exactly 4 columns: Partner Name, Activity, Goal, and Outcome.</li>
           <li>10–20 representative partner rows (examples) with quantifiable goals and mixed ✅/⏳/❌ statuses.</li>
           <li>A categorized list of partnership activities to track, covering co-marketing, referrals, integrations, events, and more.</li>
           <li>Outcome/KPI criteria by activity type, so each row has a clear definition of “worked” versus “didn’t.”</li>
           <li>A prioritized follow-up plan with concrete next steps to improve results and evaluate ROI consistently.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Partnership Activity Tracker Worksheet</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">
                                    Copy the AI Prompt
                            </span>
            <div class="prompt-header-buttons">
                                <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 -->
        
        <!-- Full Prompt Code Header -->
        

        <!-- 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></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></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="prompt-header-visible subheader">Partnership Activity Tracker for [COMPANY_NAME]</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">Activity Categories to Track</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">Goal-Design Guidance (Measurable Targets)</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">Outcome/KPI Criteria</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">Next Actions (ROI-Focused)</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">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></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 partnership-management worksheet for **[COMPANY_NAME]** that helps monitor collaboration work, define measurable targets, and record performance so ROI can be evaluated consistently.

## PERSONA
Act as a partnership operations strategist who builds tracking systems, KPI frameworks, and execution plans for alliances, affiliates, channel partners, and co-marketing relationships. Write with a crisp, businesslike style.

## CONSTRAINTS
- Provide a single tracker table with **exactly 4 columns**: Partner Name, Activity, Goal, Outcome.
- Use outcome markers in the Outcome column:
  - ✅ = done / positive result
  - ⏳ = underway
  - ❌ = finished with poor result or not finished
- Goals must be specific and quantifiable (dates, numbers, conversion rates, revenue, leads, reach, etc.).
- Include additional sections: activity categories to track, goal-design guidance, result/KPI criteria, and recommended follow-ups.
- If details are missing, make sensible placeholder assumptions and label them clearly.

### What This Is NOT
- Not a legal partnership agreement, contract language, or compliance guidance.
- Not a full financial model or valuation report.
- Not a CRM implementation guide; it’s a tracking template and operating checklist.

## PROCESS
1. **Pre-analysis (required):** Briefly restate what you’re producing and how it will be used for [COMPANY_NAME].
2. Draft a comprehensive set of common partnership activities (co-marketing, referrals, integrations, reseller/channel, events, content, joint offers, etc.).
3. Populate the tracker with multiple representative partner rows (mix of statuses ✅/⏳/❌) and measurable goals.
4. Define outcome measurement criteria (KPIs) tied to each activity type.
5. Provide prioritized next actions to improve results and ROI.
6. If [COMPANY_NAME] is the only input provided, keep partner names generic (e.g., “Partner A”) and make goals realistic but clearly marked as examples.

## INPUTS
- **Company name:** [COMPANY_NAME]
- **Context/background (optional):** [CONTEXT]
- **Primary goal for partnerships (optional):** [PRIMARY_GOAL]
- **Industry (optional):** [INDUSTRY]
- **Time horizon (optional):** [TIMEFRAME]

## OUTPUT SPECIFICATION
### Partnership Activity Tracker for [COMPANY_NAME]
| Partner Name | Activity | Goal | Outcome |
|---|---|---|---|
| {Partner Name} | {Activity} | {Measurable Goal} | ✅/⏳/❌ {Outcome Notes} |

**Outcome Key**
- ✅ = Completed/Successful  
- ⏳ = In Progress  
- ❌ = Incomplete/Unsuccessful  

### Activity Categories to Track
- {Activity Category 1}  
- {Activity Category 2}  
- {Activity Category 3}  
- {Activity Category 4}  
- {Activity Category 5}  

### Goal-Design Guidance (Measurable Targets)
- {Goal Tip 1}  
- {Goal Tip 2}  
- {Goal Tip 3}  
- {Goal Tip 4}  

### Outcome/KPI Criteria
- {Measurement Criterion 1}  
- {Measurement Criterion 2}  
- {Measurement Criterion 3}  
- {Measurement Criterion 4}  

### Next Actions (ROI-Focused)
- {Next Step 1}  
- {Next Step 2}  
- {Next Step 3}  
- {Next Step 4}  

## QUALITY CHECKS
- The tracker table has **4 columns only** and includes multiple rows spanning ✅/⏳/❌.
- Every goal includes at least one measurable element (number, %, $, deadline, or KPI threshold).
- Outcome notes align with the selected status icon and describe what happened.
- Activity categories, KPIs, and next actions are actionable and relevant to partnership performance.
- Any assumptions due to missing inputs are explicitly labeled as examples/assumptions.            </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 partnership-management worksheet for **[COMPANY_NAME]** that helps monitor collaboration work, define measurable targets, and record performance so ROI can be evaluated consistently.\r\n\r\n## PERSONA\r\nAct as a partnership operations strategist who builds tracking systems, KPI frameworks, and execution plans for alliances, affiliates, channel partners, and co-marketing relationships. Write with a crisp, businesslike style.\r\n\r\n## CONSTRAINTS\r\n- Provide a single tracker table with **exactly 4 columns**: Partner Name, Activity, Goal, Outcome.\r\n- Use outcome markers in the Outcome column:\r\n  - \u2705 = done \/ positive result\r\n  - \u23f3 = underway\r\n  - \u274c = finished with poor result or not finished\r\n- Goals must be specific and quantifiable (dates, numbers, conversion rates, revenue, leads, reach, etc.).\r\n- Include additional sections: activity categories to track, goal-design guidance, result\/KPI criteria, and recommended follow-ups.\r\n- If details are missing, make sensible placeholder assumptions and label them clearly.\r\n\r\n### What This Is NOT\r\n- Not a legal partnership agreement, contract language, or compliance guidance.\r\n- Not a full financial model or valuation report.\r\n- Not a CRM implementation guide; it\u2019s a tracking template and operating checklist.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Briefly restate what you\u2019re producing and how it will be used for [COMPANY_NAME].\r\n2. Draft a comprehensive set of common partnership activities (co-marketing, referrals, integrations, reseller\/channel, events, content, joint offers, etc.).\r\n3. Populate the tracker with multiple representative partner rows (mix of statuses \u2705\/\u23f3\/\u274c) and measurable goals.\r\n4. Define outcome measurement criteria (KPIs) tied to each activity type.\r\n5. Provide prioritized next actions to improve results and ROI.\r\n6. If [COMPANY_NAME] is the only input provided, keep partner names generic (e.g., \u201cPartner A\u201d) and make goals realistic but clearly marked as examples.\r\n\r\n## INPUTS\r\n- **Company name:** [COMPANY_NAME]\r\n- **Context\/background (optional):** [CONTEXT]\r\n- **Primary goal for partnerships (optional):** [PRIMARY_GOAL]\r\n- **Industry (optional):** [INDUSTRY]\r\n- **Time horizon (optional):** [TIMEFRAME]\r\n\r\n## OUTPUT SPECIFICATION\r\n### Partnership Activity Tracker for [COMPANY_NAME]\r\n| Partner Name | Activity | Goal | Outcome |\r\n|---|---|---|---|\r\n| {Partner Name} | {Activity} | {Measurable Goal} | \u2705\/\u23f3\/\u274c {Outcome Notes} |\r\n\r\n**Outcome Key**\r\n- \u2705 = Completed\/Successful  \r\n- \u23f3 = In Progress  \r\n- \u274c = Incomplete\/Unsuccessful  \r\n\r\n### Activity Categories to Track\r\n- {Activity Category 1}  \r\n- {Activity Category 2}  \r\n- {Activity Category 3}  \r\n- {Activity Category 4}  \r\n- {Activity Category 5}  \r\n\r\n### Goal-Design Guidance (Measurable Targets)\r\n- {Goal Tip 1}  \r\n- {Goal Tip 2}  \r\n- {Goal Tip 3}  \r\n- {Goal Tip 4}  \r\n\r\n### Outcome\/KPI Criteria\r\n- {Measurement Criterion 1}  \r\n- {Measurement Criterion 2}  \r\n- {Measurement Criterion 3}  \r\n- {Measurement Criterion 4}  \r\n\r\n### Next Actions (ROI-Focused)\r\n- {Next Step 1}  \r\n- {Next Step 2}  \r\n- {Next Step 3}  \r\n- {Next Step 4}  \r\n\r\n## QUALITY CHECKS\r\n- The tracker table has **4 columns only** and includes multiple rows spanning \u2705\/\u23f3\/\u274c.\r\n- Every goal includes at least one measurable element (number, %, $, deadline, or KPI threshold).\r\n- Outcome notes align with the selected status icon and describe what happened.\r\n- Activity categories, KPIs, and next actions are actionable and relevant to partnership performance.\r\n- Any assumptions due to missing inputs are explicitly labeled as examples\/assumptions.";
    const variables = [];
    // 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>Define “partnership” the way your org actually uses it.</strong> If you lump affiliates, integrations, and co-marketing into one bucket, the goals will get weird fast. Add a quick note before running the prompt like: “For us, partnerships include co-marketing swaps and referral partners, but not paid affiliates.”</li>


<li><strong>Give the model 3 anchor metrics you care about.</strong> The prompt will create quantifiable goals either way, but you’ll get tighter alignment if you specify your scoreboard. Try: “Primary KPIs: sourced pipeline $, booked revenue, and qualified leads. Secondary: webinar sign-ups and newsletter subscribers.”</li>


<li><strong>Ask for a cadence and owner field as a separate layer (without changing the table).</strong> The table must remain 4 columns, so don’t fight it. Instead, follow up with: “Now propose a weekly operating cadence and assign an owner role per row (Partner Manager, Marketing Ops, Sales Ops), but keep the tracker table unchanged.”</li>


<li><strong>Force better goals by adding constraints after the first run.</strong> If goals come back soft, iterate deliberately: “Rewrite every Goal to include a date and a number, and ensure at least 30% of rows include a revenue or pipeline metric.” Small instruction. Big quality lift.</li>


<li><strong>Turn the follow-ups into stakeholder-ready communication.</strong> Once you like the tracker, repurpose the outcomes into a crisp internal update. A good follow-up prompt is: “Convert the prioritized next actions into a 1-page initiative memo with risks and dependencies,” then use a structured format similar to https://flowpast.com/prompts/write-a-founder-style-initiative-memo-with-this-ai-prompt/ so leadership gets clarity quickly.</li>

</div>

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

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



<p>Once your tracker is in place, these related prompts help you present progress, align stakeholders, and ship partner-facing assets faster.</p>



<p>If you also need to rally internal teams around a partner motion, the memo format in <a href="https://flowpast.com/prompts/write-a-founder-style-initiative-memo-with-this-ai-prompt/">Write a Founder-Style Initiative Memo with this AI Prompt</a> pairs well with your tracker. Use it right after your first month of data to explain what’s working, what’s blocked, and what you’re prioritizing next.</p>



<p>For teams doing webinars, joint events, or partner announcements, <a href="https://flowpast.com/prompts/build-a-technical-slide-deck-outline-with-this-ai-prompt/">Build a Technical Slide Deck Outline with this AI Prompt</a> can turn your “Activity + Goal” rows into a clear presentation structure. It’s especially useful when you must brief sales, solutions, or execs on what a partner integration actually does.</p>



<p>When you need a higher-stakes external moment (a co-launch, a new strategic alliance, or a platform partnership), <a href="https://flowpast.com/prompts/write-a-product-launch-keynote-with-this-ai-prompt/">Write a Product Launch Keynote with this AI Prompt</a> helps you tell a clean story. Your tracker gives you the facts; the keynote prompt helps you package them into a narrative people will remember, honestly.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/write-a-founder-style-initiative-memo-with-this-ai-prompt/">Write a Founder-Style Initiative Memo with this AI Prompt</a>: Turn tracker insights into leadership alignment.</li>


<li><a href="https://flowpast.com/prompts/build-a-technical-slide-deck-outline-with-this-ai-prompt/">Build a Technical Slide Deck Outline with this AI Prompt</a>: Present partner initiatives with clear structure.</li>

<li><a href="https://flowpast.com/prompts/write-a-product-launch-keynote-with-this-ai-prompt/">Write a Product Launch Keynote with this AI Prompt</a>: Announce a partnership with narrative and polish.</li>


<li><a href="https://flowpast.com/prompts/build-a-ted-style-talk-package-with-this-ai-prompt/">Build a TED-Style Talk Package with this AI Prompt</a>: Shape a partner story into a talk.</li>


<li><a href="https://flowpast.com/prompts/write-unity-focused-political-speeches-ai-prompt/">Write Unity-Focused Political Speeches AI Prompt</a>: Borrow unity framing for sensitive alliances.</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 partnership activity tracker AI prompt?</span>

<p class="answer"><strong>Partnership Managers</strong> use this to keep every collaboration tied to a measurable goal and a visible status, instead of reporting “we’re talking” updates. <strong>Partner Ops and RevOps Leads</strong> rely on it to standardize tracking across co-marketing, referrals, and channel motions without rolling out a full CRM workflow. <strong>Growth Marketers</strong> find it valuable when they’re running joint webinars, newsletter swaps, or content collabs and need to prove contribution to leads or pipeline. <strong>Startup Founders</strong> apply it to sanity-check which partners deserve more time next month and which should be paused.</p>

</div>

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

<p class="answer"><strong>SaaS companies</strong> use this to track integrations, marketplace listings, and co-marketing campaigns with clear KPIs like activated accounts, influenced pipeline, and webinar-to-demo conversion. <strong>E-commerce brands</strong> apply it to brand collaborations, influencer partnerships that behave like affiliates, and retail/wholesale relationships, using goals such as units sold, AOV lift, or email list growth by date. <strong>Professional services firms</strong> leverage it for referral relationships (agencies, consultants, implementation partners) where goals can be “X qualified intros” or “Y closed-won projects” over a quarter. <strong>Media and community businesses</strong> find it valuable for newsletter swaps, sponsorship bundles, and event collaborations where reach, sign-ups, and renewal revenue matter.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for partnership tracking produce weak results?</span>

<p class="answer">A typical prompt like “Write me a partnership tracker for my business” fails because it: lacks strict structure (so you get inconsistent columns and no operating rhythm), provides no quantifiable goal requirement (so goals become vague like “increase exposure”), ignores outcome markers (so statuses can’t be scanned quickly), produces generic activities without KPI criteria (so you still can’t evaluate ROI), and misses follow-up recommendations (so the tracker doesn’t drive better decisions). This prompt is better because it forces a 4-column table, demands measurable targets, and ties outcomes to activity-specific KPIs.</p>

</div>

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

<p class="answer">Yes, but customization happens in the inputs you provide around the company context, since the prompt itself is designed to output a consistent 4-column table. Replace [COMPANY_NAME] with your exact brand, then add a short note about your partnership types (for example: “We prioritize referral partners and co-marketing; no integrations this quarter”). If you have targets, include them so the goals snap to your reality (monthly lead target, pipeline target, event calendar dates). After the first output, ask: “Rewrite the tracker so 70% of goals are pipeline or revenue-linked, and add 5 rows specific to our top channel partners.”</p>

</div>

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

<p class="answer">The biggest mistake is leaving [COMPANY_NAME] too vague or inconsistent, which leads to placeholder assumptions that may not match your motion; don’t use “My company,” use “Acme Payroll for teams of 50–200.” Another common error is accepting generic goals; instead of “Get more leads,” push for “Generate 120 webinar sign-ups by May 30 and convert 8% to demos.” People also forget to define what “Outcome” means in their context, so they never adjust the KPI criteria; if demos are your win condition, say so. Finally, teams sometimes treat ❌ as “bad” rather than “data,” when the point is to capture underperformance and choose better follow-ups next cycle.</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this partnership activity tracker prompt?</span>

<p class="answer">This prompt isn’t ideal for legal or compliance work, since it’s explicitly not a contract, agreement, or policy generator. It’s also not the right tool if you need a full financial model for partnership valuation, or if you’re trying to implement a CRM from scratch. And if you refuse to quantify goals, you will hate the output because it pushes hard toward numbers and dates. In those cases, start with a basic internal discovery doc, then come back once you’re ready to track performance consistently.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this partnership activity tracker AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Partnership Managers use this to keep every collaboration tied to a measurable goal and a visible status, instead of reporting “we’re talking” updates. Partner Ops and RevOps Leads rely on it to standardize tracking across co-marketing, referrals, and channel motions without rolling out a full CRM workflow. Growth Marketers find it valuable when they’re running joint webinars, newsletter swaps, or content collabs and need to prove contribution to leads or pipeline. Startup Founders apply it to sanity-check which partners deserve more time next month and which should be paused."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this partnership activity tracker AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS companies use this to track integrations, marketplace listings, and co-marketing campaigns with clear KPIs like activated accounts, influenced pipeline, and webinar-to-demo conversion. E-commerce brands apply it to brand collaborations, influencer partnerships that behave like affiliates, and retail/wholesale relationships, using goals such as units sold, AOV lift, or email list growth by date. Professional services firms leverage it for referral relationships (agencies, consultants, implementation partners) where goals can be “X qualified intros” or “Y closed-won projects” over a quarter. Media and community businesses find it valuable for newsletter swaps, sponsorship bundles, and event collaborations where reach, sign-ups, and renewal revenue matter."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for partnership tracking produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a partnership tracker for my business” fails because it: lacks strict structure (so you get inconsistent columns and no operating rhythm), provides no quantifiable goal requirement (so goals become vague like “increase exposure”), ignores outcome markers (so statuses can’t be scanned quickly), produces generic activities without KPI criteria (so you still can’t evaluate ROI), and misses follow-up recommendations (so the tracker doesn’t drive better decisions). This prompt is better because it forces a 4-column table, demands measurable targets, and ties outcomes to activity-specific KPIs."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this partnership activity tracker prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but customization happens in the inputs you provide around the company context, since the prompt itself is designed to output a consistent 4-column table. Replace [COMPANY_NAME] with your exact brand, then add a short note about your partnership types (for example: “We prioritize referral partners and co-marketing; no integrations this quarter”). If you have targets, include them so the goals snap to your reality (monthly lead target, pipeline target, event calendar dates). After the first output, ask: “Rewrite the tracker so 70% of goals are pipeline or revenue-linked, and add 5 rows specific to our top channel partners.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this partnership activity tracker prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving [COMPANY_NAME] too vague or inconsistent, which leads to placeholder assumptions that may not match your motion; don’t use “My company,” use “Acme Payroll for teams of 50–200.” Another common error is accepting generic goals; instead of “Get more leads,” push for “Generate 120 webinar sign-ups by May 30 and convert 8% to demos.” People also forget to define what “Outcome” means in their context, so they never adjust the KPI criteria; if demos are your win condition, say so. Finally, teams sometimes treat ❌ as “bad” rather than “data,” when the point is to capture underperformance and choose better follow-ups next cycle."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this partnership activity tracker prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for legal or compliance work, since it’s explicitly not a contract, agreement, or policy generator. It’s also not the right tool if you need a full financial model for partnership valuation, or if you’re trying to implement a CRM from scratch. And if you refuse to quantify goals, you will hate the output because it pushes hard toward numbers and dates. In those cases, start with a basic internal discovery doc, then come back once you’re ready to track performance consistently."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Partnerships don’t fail because people stop trying. They fail because nobody can see what’s working. Paste the prompt into your AI tool, generate your tracker, and start running partnerships with measurable goals and clean follow-through.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5000965.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Consolidate Messy CSV Files Safely AI Prompt</title>
		<link>https://flowpast.com/prompts/consolidate-messy-csv-files-safely-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:45:06 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001595</guid>

					<description><![CDATA[Merges keep breaking - a proven AI Prompt that consolidates messy CSVs with audit logs, merge stats, and data-quality checks. Access our full AI prompt library for every model.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: consolidate messy CSV -->
<div class="hook-introduction">

<p>Merging CSVs sounds simple until you do it with real files. Headers don’t match, types silently change, rows disappear, and nobody can explain why last month’s “same report” now has different totals.</p>



<p>This <strong>consolidate messy CSV</strong> prompt is built for <strong>ops analysts</strong> who inherit “final_v7.csv” folders from three teams, <strong>data consultants</strong> who need a repeatable client-safe integration workflow, and <strong>RevOps managers</strong> reconciling exports from CRM, billing, and support tools. The output is an end-to-end, executable consolidation workflow (with code), plus an auditable merge summary, row-level anomaly checks, and data-quality findings you can share internally.</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 reproducible CSV consolidation workflow that treats merges as a high-risk operation, not a quick concat.</li>
          <li>It standardizes and diagnoses headers (case, whitespace, punctuation, odd characters) while documenting every rename decision.</li>
          <li>It detects type coercion risks and forces explicit conversions only when necessary, with justification and logging.</li>
          <li>It runs row-level integrity checks to surface unexpected row inflation/deflation, key violations, and orphan records.</li>
          <li>It produces a tidy-data aligned target table plan (one variable per column, one observation per row) and flags violations.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re combining exports from multiple systems and the same “customer_id” field behaves differently across files.</li>
          <li>Your last merge “worked,” but finance or leadership is questioning why totals changed with no audit trail.</li>
          <li>You see duplicated rows after joins, or a suspicious drop in row count after a merge, and you need proof of what happened.</li>
          <li>Different teams keep shipping CSVs with inconsistent headers (“Created At”, “created_at”, “created-at”), and manual fixes are eating hours.</li>
          <li>You’re scaling a reporting pipeline and want safe defaults that prevent silent data loss before it hits dashboards.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A step-by-step consolidation plan with a checklist of pre-analysis questions and risk points to confirm.</li>
           <li>Executable code for import, header normalization, schema alignment, and merge logic (structured as a repeatable workflow).</li>
           <li>A merge audit summary that reports row counts by stage, join outcomes, column diffs, and conversion notes.</li>
           <li>A data-quality findings report with specific warnings (collisions, missingness changes, key issues) and recommended next actions.</li>
           <li>A documented resolution path for column-name collisions, including decision options and the exact impact of each choice.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Auditable Messy CSV Consolidation Workflow</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>[PASTE_CSV_CONTENT_OR_DESCRIBE_FILE_LOCATIONS]</code></td>
                                <td class="var-desc">
                                    Provide the content of the CSV files directly or specify their file paths. Ensure all sources are accessible and clearly identified.                                    <div class="var-example">For example: "File paths: &#039;/data/source1.csv&#039;, &#039;/data/source2.csv&#039;. Alternatively, paste CSV content: &#039;header1,header2\ndata1,data2\ndata3,data4&#039;."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PASTE_CSV_CONTENT_OR_DESCRIBE_FILE_LOCATIONS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[KEY_COLUMNS_FOR_ALIGNMENT]</code></td>
                                <td class="var-desc">
                                    List the column names that should be used to align and merge data across the CSV files. These columns must have consistent meaning and format across all files.                                    <div class="var-example">For example: "[&#039;customer_id&#039;, &#039;order_date&#039;]"</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[KEY_COLUMNS_FOR_ALIGNMENT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[DUPLICATE_HANDLING_PREFERENCE]</code></td>
                                <td class="var-desc">
                                    Specify how duplicate rows or values should be handled during the merge process. Options might include &#039;remove duplicates&#039;, &#039;keep all&#039;, or &#039;flag duplicates&#039;.                                    <div class="var-example">For example: "&#039;flag duplicates and add a column indicating duplication status&#039;"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[DUPLICATE_HANDLING_PREFERENCE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[FORMAT]</code></td>
                                <td class="var-desc">
                                    Indicate the desired format for the consolidated dataset. Common choices include &#039;CSV&#039;, &#039;JSON&#039;, or &#039;Excel&#039;.                                    <div class="var-example">For example: "&#039;CSV&#039;"</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 additional context about the data integration project, such as the goal, constraints, or specific challenges to address.                                    <div class="var-example">For example: "The goal is to consolidate sales data from multiple regions to analyze trends. Files may have inconsistent headers and missing values."</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 class="locked-line" style="width: 95%;"></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 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</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></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) File 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 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">2) Alignment Strategy</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) Generated Merge Code (with inline comments)</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">4) Execution Summary</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) Data Quality Warnings</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">6) Final Merged Data Preview</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">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 robust, reproducible workflow (with executable code) to consolidate multiple messy CSV sources into a single tidy dataset, preventing record loss, column misalignment, accidental type coercion, and undocumented transformations—while producing an auditable merge summary and data-quality findings.

## PERSONA  
You are a data integration reliability engineer with a background in database administration and incident response. You treat CSV consolidation as a high-risk operation: cautious, evidence-driven, and fully traceable. You favor clear diagnostics, safe defaults, and meticulous documentation over “quick merges.”

## CONSTRAINTS  
- Align with Tidy Data: one variable per column, one observation per row, one observational unit per table.  
- Do not drop or impute missing values implicitly. Any removal/fill requires explicit user approval and must be logged.  
- Keep original data types whenever feasible; if a conversion is required, announce it, justify it, and record it.  
- Handle header inconsistencies (case, whitespace, punctuation, odd characters) without guessing silently.  
- Detect column-name collisions (same header label but incompatible meaning/content) and force an explicit resolution path.  
- Include row-level checks to catch merge anomalies (unexpected row inflation/deflation, key violations, orphan records).  
- Never assume column order. Never perform quiet coercions. Never allow silent data loss.  
- Prioritize data lineage, merge integrity, and actionable error messages.

### What This Is NOT  
- Not a generic “concat everything” snippet with no validation.  
- Not a one-off manual merge that can’t be reproduced.  
- Not a promise to repair unknown business logic (e.g., redefining entities) without user input.  
- Not a data cleansing project beyond issues required to safely integrate and report.

## PROCESS  
1. **Pre-Analysis (state understanding first):** Restate the integration goal, list provided inputs, and identify any missing details needed to proceed safely.  
2. **Ingest plan:** Ask the user to upload/paste CSVs or provide file paths, plus the intended alignment keys and duplicate policy. If anything is unclear, ask targeted questions before generating final code.  
3. **Per-file profiling:** For each CSV, infer and display: columns, inferred types, example values, row counts, missingness, and potential key uniqueness.  
4. **Header normalization proposal:** Propose a reversible column-name standardization mapping (original → normalized) and require confirmation if it could affect meaning.  
5. **Join/key discovery:** Identify candidate alignment columns across files and assign confidence scores with reasons (name similarity, value overlap, uniqueness, format compatibility).  
6. **Merge strategy selection:** Choose between append (row-bind) vs join (key-based) per file pair; specify join type(s) and expectations (row count changes, unmatched keys).  
7. **Validation layer:** Add checks before and after merging (schema compatibility, key validity, duplicate detection, type drift, row-level sanity checks).  
8. **Duplicate logic:** Implement the user’s preference (keep-first/keep-last/keep-all/custom), explicitly tied to declared key columns.  
9. **Audit trail:** Emit logs/artifacts capturing transformations, type changes, renames, dedupe actions, and row-count deltas by stage.  
10. **Deliver outputs:** Provide the merged dataset, summary stats, a data-quality report, and a preview.

### Edge Case Handling  
- If CSVs have different encodings/delimiters/quote rules, include detection and explicit parser settings.  
- If keys are missing in some files, propose fallback options (composite keys, fuzzy matching) but do not apply them without approval.  
- If headers collide with conflicting content, keep both versions with disambiguated names and flag for user decision.  
- If types disagree (e.g., numeric vs string IDs), preserve the safest representation (often string) and document why.

## INPUTS  
- **Your CSV sources (paste content or provide paths/URLs):** [PASTE_CSV_CONTENT_OR_DESCRIBE_FILE_LOCATIONS]  
- **Columns that should align records across files (single or composite keys):** [KEY_COLUMNS_FOR_ALIGNMENT]  
- **How to handle duplicates:** [DUPLICATE_HANDLING_PREFERENCE]  
- **Preferred tooling/language (e.g., Python/pandas, R/tidyverse, SQL + scripting):** [FORMAT]  
- **Any additional context/constraints (deadlines, known data quirks, required join type, etc.):** [CONTEXT]

## OUTPUT SPECIFICATION  
Produce a structured deliverable with these sections:

### 1) File Analysis  
- A schema comparison table listing, per file:  
  - {File Name}  
  - {Row Count}  
  - {Column Name} (original and normalized)  
  - {Inferred Type}  
  - {Example Values}  
  - {Missingness Rate}

### 2) Alignment Strategy  
- A ranked list of suggested join keys:  
  - {Candidate Key}  
  - {Confidence Score} (0–100)  
  - {Rationale}  
  - {Risks / Ambiguities}  
- The final proposed merge plan: {Join Type}, {Key Columns}, {Per-File Role} (base vs lookup/append source)

### 3) Generated Merge Code (with inline comments)  
Code must:  
- Read each CSV with explicit parsing options  
- Normalize headers with a reversible mapping  
- Validate schema compatibility and key constraints pre-merge  
- Merge using the agreed keys/join types  
- Apply dedupe logic per user preference  
- Emit an audit trail (logs + transformation summary)  
- Output the merged dataset to disk and print a preview

### 4) Execution Summary  
- {Rows In Per File}  
- {Rows Out}  
- {Duplicates Found} and {Duplicates Removed/Retained}  
- {Type Conversions} (with before/after)  
- {Unmatched Keys} counts per file (if join-based)  
- {Column Conflicts} and how they were resolved

### 5) Data Quality Warnings  
Bulleted list of issues, each including:  
- {Issue}  
- {Impact}  
- {Where Detected}  
- {Suggested Fix}

### 6) Final Merged Data Preview  
- Display first {Preview Row Count} rows (default 10) with column names.

## QUALITY CHECKS  
Before finishing, verify and explicitly confirm:  
- No rows were dropped or altered without being counted and reported.  
- Missing values were not implicitly filled or removed.  
- All renames/type conversions have a recorded justification and are reproducible.  
- Merge keys were validated (null rates, uniqueness where expected, mismatch reporting).  
- Column alignment is deterministic (not dependent on column order) and conflicts are surfaced, not hidden.            </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 robust, reproducible workflow (with executable code) to consolidate multiple messy CSV sources into a single tidy dataset, preventing record loss, column misalignment, accidental type coercion, and undocumented transformations\u2014while producing an auditable merge summary and data-quality findings.\r\n\r\n## PERSONA  \r\nYou are a data integration reliability engineer with a background in database administration and incident response. You treat CSV consolidation as a high-risk operation: cautious, evidence-driven, and fully traceable. You favor clear diagnostics, safe defaults, and meticulous documentation over \u201cquick merges.\u201d\r\n\r\n## CONSTRAINTS  \r\n- Align with Tidy Data: one variable per column, one observation per row, one observational unit per table.  \r\n- Do not drop or impute missing values implicitly. Any removal\/fill requires explicit user approval and must be logged.  \r\n- Keep original data types whenever feasible; if a conversion is required, announce it, justify it, and record it.  \r\n- Handle header inconsistencies (case, whitespace, punctuation, odd characters) without guessing silently.  \r\n- Detect column-name collisions (same header label but incompatible meaning\/content) and force an explicit resolution path.  \r\n- Include row-level checks to catch merge anomalies (unexpected row inflation\/deflation, key violations, orphan records).  \r\n- Never assume column order. Never perform quiet coercions. Never allow silent data loss.  \r\n- Prioritize data lineage, merge integrity, and actionable error messages.\r\n\r\n### What This Is NOT  \r\n- Not a generic \u201cconcat everything\u201d snippet with no validation.  \r\n- Not a one-off manual merge that can\u2019t be reproduced.  \r\n- Not a promise to repair unknown business logic (e.g., redefining entities) without user input.  \r\n- Not a data cleansing project beyond issues required to safely integrate and report.\r\n\r\n## PROCESS  \r\n1. **Pre-Analysis (state understanding first):** Restate the integration goal, list provided inputs, and identify any missing details needed to proceed safely.  \r\n2. **Ingest plan:** Ask the user to upload\/paste CSVs or provide file paths, plus the intended alignment keys and duplicate policy. If anything is unclear, ask targeted questions before generating final code.  \r\n3. **Per-file profiling:** For each CSV, infer and display: columns, inferred types, example values, row counts, missingness, and potential key uniqueness.  \r\n4. **Header normalization proposal:** Propose a reversible column-name standardization mapping (original \u2192 normalized) and require confirmation if it could affect meaning.  \r\n5. **Join\/key discovery:** Identify candidate alignment columns across files and assign confidence scores with reasons (name similarity, value overlap, uniqueness, format compatibility).  \r\n6. **Merge strategy selection:** Choose between append (row-bind) vs join (key-based) per file pair; specify join type(s) and expectations (row count changes, unmatched keys).  \r\n7. **Validation layer:** Add checks before and after merging (schema compatibility, key validity, duplicate detection, type drift, row-level sanity checks).  \r\n8. **Duplicate logic:** Implement the user\u2019s preference (keep-first\/keep-last\/keep-all\/custom), explicitly tied to declared key columns.  \r\n9. **Audit trail:** Emit logs\/artifacts capturing transformations, type changes, renames, dedupe actions, and row-count deltas by stage.  \r\n10. **Deliver outputs:** Provide the merged dataset, summary stats, a data-quality report, and a preview.\r\n\r\n### Edge Case Handling  \r\n- If CSVs have different encodings\/delimiters\/quote rules, include detection and explicit parser settings.  \r\n- If keys are missing in some files, propose fallback options (composite keys, fuzzy matching) but do not apply them without approval.  \r\n- If headers collide with conflicting content, keep both versions with disambiguated names and flag for user decision.  \r\n- If types disagree (e.g., numeric vs string IDs), preserve the safest representation (often string) and document why.\r\n\r\n## INPUTS  \r\n- **Your CSV sources (paste content or provide paths\/URLs):** [PASTE_CSV_CONTENT_OR_DESCRIBE_FILE_LOCATIONS]  \r\n- **Columns that should align records across files (single or composite keys):** [KEY_COLUMNS_FOR_ALIGNMENT]  \r\n- **How to handle duplicates:** [DUPLICATE_HANDLING_PREFERENCE]  \r\n- **Preferred tooling\/language (e.g., Python\/pandas, R\/tidyverse, SQL + scripting):** [FORMAT]  \r\n- **Any additional context\/constraints (deadlines, known data quirks, required join type, etc.):** [CONTEXT]\r\n\r\n## OUTPUT SPECIFICATION  \r\nProduce a structured deliverable with these sections:\r\n\r\n### 1) File Analysis  \r\n- A schema comparison table listing, per file:  \r\n  - {File Name}  \r\n  - {Row Count}  \r\n  - {Column Name} (original and normalized)  \r\n  - {Inferred Type}  \r\n  - {Example Values}  \r\n  - {Missingness Rate}\r\n\r\n### 2) Alignment Strategy  \r\n- A ranked list of suggested join keys:  \r\n  - {Candidate Key}  \r\n  - {Confidence Score} (0\u2013100)  \r\n  - {Rationale}  \r\n  - {Risks \/ Ambiguities}  \r\n- The final proposed merge plan: {Join Type}, {Key Columns}, {Per-File Role} (base vs lookup\/append source)\r\n\r\n### 3) Generated Merge Code (with inline comments)  \r\nCode must:  \r\n- Read each CSV with explicit parsing options  \r\n- Normalize headers with a reversible mapping  \r\n- Validate schema compatibility and key constraints pre-merge  \r\n- Merge using the agreed keys\/join types  \r\n- Apply dedupe logic per user preference  \r\n- Emit an audit trail (logs + transformation summary)  \r\n- Output the merged dataset to disk and print a preview\r\n\r\n### 4) Execution Summary  \r\n- {Rows In Per File}  \r\n- {Rows Out}  \r\n- {Duplicates Found} and {Duplicates Removed\/Retained}  \r\n- {Type Conversions} (with before\/after)  \r\n- {Unmatched Keys} counts per file (if join-based)  \r\n- {Column Conflicts} and how they were resolved\r\n\r\n### 5) Data Quality Warnings  \r\nBulleted list of issues, each including:  \r\n- {Issue}  \r\n- {Impact}  \r\n- {Where Detected}  \r\n- {Suggested Fix}\r\n\r\n### 6) Final Merged Data Preview  \r\n- Display first {Preview Row Count} rows (default 10) with column names.\r\n\r\n## QUALITY CHECKS  \r\nBefore finishing, verify and explicitly confirm:  \r\n- No rows were dropped or altered without being counted and reported.  \r\n- Missing values were not implicitly filled or removed.  \r\n- All renames\/type conversions have a recorded justification and are reproducible.  \r\n- Merge keys were validated (null rates, uniqueness where expected, mismatch reporting).  \r\n- Column alignment is deterministic (not dependent on column order) and conflicts are surfaced, not hidden.";
    const variables = ["[PASTE_CSV_CONTENT_OR_DESCRIBE_FILE_LOCATIONS]","[KEY_COLUMNS_FOR_ALIGNMENT]","[DUPLICATE_HANDLING_PREFERENCE]","[FORMAT]","[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>Start by listing your “truth fields” and failure modes.</strong> Before you run anything, write down the columns you cannot afford to corrupt (for example: <em>customer_id</em>, <em>invoice_id</em>, <em>created_at</em>, <em>amount</em>). Then tell the model what “bad” looks like: “If row count changes by more than 1%, stop and explain why.”</li>


<li><strong>Give it 2–3 sample rows per file.</strong> Paste a tiny snippet (including headers) from each CSV so it can spot formatting drift early, like “$1,200.00” vs “1200” or “01/02/2025” vs “2025-02-01”. Follow up with: “Based on these samples, propose safe import settings and explain what you will not guess.”</li>


<li><strong>Force explicit keys, even if you think they’re obvious.</strong> If the merge depends on a key, name it and define uniqueness expectations: “Primary key is (account_id, month). It must be unique per file.” If you are unsure, ask: “Identify candidate keys and show collision counts for each.”</li>


<li><strong>Iterate on collision handling, not just the merge.</strong> After the first output, push a second pass: “Now simulate a column-name collision where ‘status’ means lifecycle stage in one file and payment status in another. Provide two resolution options and what the tidy target schema becomes.”</li>


<li><strong>Ask for an audit log you can hand to stakeholders.</strong> Don’t settle for “here’s the code.” Add: “Write a merge summary section in plain English, including row counts at each stage, conversions performed, and any decisions requiring approval.” Honestly, that narrative prevents future arguments.</li>

</ul>

</div>

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

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



<p>Once your CSV consolidation is stable, these prompts help you turn cleaner data into lifecycle messaging and measurable retention.</p>



<p>If you also need to act on what your consolidated dataset reveals (like churn risk signals or cohort behavior), <a href="https://flowpast.com/prompts/create-a-5-email-retention-sequence-with-this-ai-prompt/">Create a 5-Email Retention Sequence with this AI Prompt</a> is a practical next step. It’s especially useful when your newly merged table makes segments reliable again, so retention emails target the right customers instead of noisy lists.</p>



<p>For teams doing lead-to-customer reporting, consolidation usually exposes where attribution and lifecycle stages don’t line up across tools. When you want a consistent follow-through sequence after a lead meets a clear qualification threshold, pair this with <a href="https://flowpast.com/prompts/build-a-6-email-lead-nurture-sequence-with-this-ai-prompt/">Build a 6-Email Lead Nurture Sequence with this AI Prompt</a> so your data-driven segments map cleanly to messaging.</p>



<p>When your merge work is supporting a product rollout or a pricing change, you’ll probably need a coordinated announcement series tied to launch cohorts and signup dates. That’s where <a href="https://flowpast.com/prompts/build-a-5-email-launch-sequence-with-this-ai-prompt/">Build a 5-Email Launch Sequence with this AI Prompt</a> fits, because your consolidated “who did what, when” table becomes the backbone for timing and personalization.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/create-a-5-email-retention-sequence-with-this-ai-prompt/">Create a 5-Email Retention Sequence with this AI Prompt</a>: Retention emails based on clean segments.</li>


<li><a href="https://flowpast.com/prompts/build-a-6-email-lead-nurture-sequence-with-this-ai-prompt/">Build a 6-Email Lead Nurture Sequence with this AI Prompt</a>: Nurture flow aligned to lifecycle data.</li>


<li><a href="https://flowpast.com/prompts/build-a-3-email-welcome-sequence-with-this-ai-prompt/">Build a 3-Email Welcome Sequence with this AI Prompt</a>: Welcome series for newly identified cohorts.</li>


<li><a href="https://flowpast.com/prompts/write-a-3-email-feedback-follow-up-series-with-this-ai-prompt/">Write a 3-Email Feedback Follow-Up Series with this AI Prompt</a>: Close the loop after surveys and NPS.</li>


<li><a href="https://flowpast.com/prompts/build-a-5-email-launch-sequence-with-this-ai-prompt/">Build a 5-Email Launch Sequence with this AI Prompt</a>: Launch messaging timed to real events.</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 consolidate messy CSV AI prompt?</span>

<p class="answer"><strong>Data analysts</strong> use this to stop silent row loss and to document exactly how each CSV was interpreted before it hits reporting. <strong>RevOps and Sales Ops managers</strong> rely on it when CRM, billing, and product exports disagree, and they need a defensible reconciliation trail. <strong>Data engineers</strong> apply it as a safety-first blueprint for ingestion scripts with schema alignment, type controls, and anomaly checks. <strong>Consultants</strong> use it to deliver a repeatable integration method to clients, complete with merge summaries that reduce back-and-forth.</p>

</div>

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

<p class="answer"><strong>E-commerce brands</strong> get value when Shopify exports, ad platform reports, and 3PL shipments use different identifiers and inconsistent date formats; the audit summary makes revenue and order counts traceable. <strong>SaaS companies</strong> benefit when product events, subscription billing, and CRM data need to align without “helpful” type coercion that breaks cohort metrics. <strong>Professional services firms</strong> use it to consolidate time tracking, invoicing, and CRM CSVs while preserving client-level lineage for disputes. <strong>Agencies</strong> use it to merge campaign exports across channels and prevent column-name collisions (like “status”) from corrupting performance reporting.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for consolidating messy CSV files produce weak results?</span>

<p class="answer">A typical prompt like &#8220;<em>Merge these CSVs into one file</em>&#8221; fails because it: lacks strict rules against silent drops and implicit imputations, provides no tidy-data target structure to align columns consistently, ignores header inconsistencies and column-name collisions that can change meaning, produces a “looks fine” merge instead of row-level diagnostics (inflation/deflation, orphan records, key violations), and misses a full audit log explaining conversions and decisions. You might get a single output CSV, but you won’t get confidence. And when numbers change, you will have nothing to point to.</p>

</div>

<div class="faq-item">
<span class="question">Can I customize this consolidate messy CSV AI prompt for my specific situation?</span>

<p class="answer">Yes. The easiest customization is to specify your intended join keys, your non-negotiable fields (IDs, amounts, timestamps), and the acceptance thresholds for anomalies (for example, “row count must not change by more than 0.5% without an explanation”). You can also tell it how to treat header normalization (strict rename map vs. permissive standardization) and what to do when it detects a collision where two columns share a name but not meaning. After the first run, ask: “Rewrite the workflow for my exact files: here are the headers from each CSV and three sample rows; propose the tidy target schema and the audit report sections.”</p>

</div>

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

<p class="answer">The biggest mistake is providing CSVs with no stated integration goal; instead of “combine these exports,” say “produce a customer-month table for revenue and lifecycle stage.” Another common error is failing to name keys: “use customer_id probably” is weak, while “join on (customer_id, invoice_id); enforce uniqueness per file” gives the workflow something testable. People also forget to define collision rules; “status” can mean anything, so provide a rename map like “status_payment” vs “status_lifecycle” when the prompt flags incompatible meanings. Finally, skipping sample rows leads to brittle parsing choices, so include 2–3 representative lines per source (especially for dates and currency fields).</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this consolidate messy CSV prompt?</span>

<p class="answer">This prompt isn’t ideal for one-off merges where you just need a quick file combined and you truly don’t care about auditability. It’s also not a fit if you haven’t validated what an “observation” is yet (for example, you are unsure if your table should be per user, per order, or per invoice), because the tidy-data design requires that decision. If your primary need is advanced data cleaning or business-logic redesign, use a dedicated data modeling or transformation workflow first, then come back to this for the safe consolidation layer.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this consolidate messy CSV AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Data analysts use this to stop silent row loss and to document exactly how each CSV was interpreted before it hits reporting. RevOps and Sales Ops managers rely on it when CRM, billing, and product exports disagree, and they need a defensible reconciliation trail. Data engineers apply it as a safety-first blueprint for ingestion scripts with schema alignment, type controls, and anomaly checks. Consultants use it to deliver a repeatable integration method to clients, complete with merge summaries that reduce back-and-forth."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this consolidate messy CSV AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce brands get value when Shopify exports, ad platform reports, and 3PL shipments use different identifiers and inconsistent date formats; the audit summary makes revenue and order counts traceable. SaaS companies benefit when product events, subscription billing, and CRM data need to align without “helpful” type coercion that breaks cohort metrics. Professional services firms use it to consolidate time tracking, invoicing, and CRM CSVs while preserving client-level lineage for disputes. Agencies use it to merge campaign exports across channels and prevent column-name collisions (like “status”) from corrupting performance reporting."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for consolidating messy CSV files produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like \"Merge these CSVs into one file\" fails because it: lacks strict rules against silent drops and implicit imputations, provides no tidy-data target structure to align columns consistently, ignores header inconsistencies and column-name collisions that can change meaning, produces a “looks fine” merge instead of row-level diagnostics (inflation/deflation, orphan records, key violations), and misses a full audit log explaining conversions and decisions. You might get a single output CSV, but you won’t get confidence. And when numbers change, you will have nothing to point to."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this consolidate messy CSV AI prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The easiest customization is to specify your intended join keys, your non-negotiable fields (IDs, amounts, timestamps), and the acceptance thresholds for anomalies (for example, “row count must not change by more than 0.5% without an explanation”). You can also tell it how to treat header normalization (strict rename map vs. permissive standardization) and what to do when it detects a collision where two columns share a name but not meaning. After the first run, ask: “Rewrite the workflow for my exact files: here are the headers from each CSV and three sample rows; propose the tidy target schema and the audit report sections.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this consolidate messy CSV prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is providing CSVs with no stated integration goal; instead of “combine these exports,” say “produce a customer-month table for revenue and lifecycle stage.” Another common error is failing to name keys: “use customer_id probably” is weak, while “join on (customer_id, invoice_id); enforce uniqueness per file” gives the workflow something testable. People also forget to define collision rules; “status” can mean anything, so provide a rename map like “status_payment” vs “status_lifecycle” when the prompt flags incompatible meanings. Finally, skipping sample rows leads to brittle parsing choices, so include 2–3 representative lines per source (especially for dates and currency fields)."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this consolidate messy CSV prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off merges where you just need a quick file combined and you truly don’t care about auditability. It’s also not a fit if you haven’t validated what an “observation” is yet (for example, you are unsure if your table should be per user, per order, or per invoice), because the tidy-data design requires that decision. If your primary need is advanced data cleaning or business-logic redesign, use a dedicated data modeling or transformation workflow first, then come back to this for the safe consolidation layer."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>CSV consolidation is where “small shortcuts” become permanent reporting problems. Use this prompt to build a workflow you can rerun, defend, and audit the next time someone asks, “Why did the numbers change?”</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001595.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Standardize Global Sales Playbook AI Prompt</title>
		<link>https://flowpast.com/prompts/standardize-global-sales-playbook-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:44:25 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001124</guid>

					<description><![CDATA[Regional sales teams drift apart - a proven AI Prompt that builds a company-specific multi-region sales blueprint with tactics and metrics. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: global sales playbook -->
<div class="hook-introduction">

<p>Your regional sales teams are probably doing “the same job” in totally different ways. Messaging drifts, pipeline stages don’t match, and forecasting turns into a translation exercise. Meanwhile, leadership wants one view of revenue performance, not five competing versions of reality.</p>



<p>This <strong>global sales playbook</strong> is built for <strong>Revenue Operations leaders</strong> trying to stop process creep across regions, <strong>VPs of Sales</strong> who need consistent execution without suffocating local nuance, and <strong>sales enablement managers</strong> rebuilding training so reps in different countries sell the same story. The output is a region-by-region playbook with standardized stages, tactics, governance, rollout phases, and metrics to detect drift.</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 company context and defines what “sales consistency” should mean for your revenue model.</li>
          <li>Diagnoses regional variance by explicitly analyzing cultural, economic, regulatory, and market-structure drivers.</li>
          <li>Surfaces likely failure modes that cause divergence across tools, handoffs, enablement, incentives, governance, and skills.</li>
          <li>Designs a “consistency system” that standardizes the core motion while allowing controlled localization per region.</li>
          <li>Creates an operational rollout plan and measurement approach that continuously flags alignment gaps over time.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are expanding into new geographies and want the next region to launch on your proven motion, not improvise.</li>
          <li>Your forecast calls are full of exceptions because each region defines pipeline stages and exit criteria differently.</li>
          <li>New hires ramp unevenly since onboarding, talk tracks, and discovery flow change by manager or country.</li>
          <li>Local teams push back on HQ standards and you need a framework that respects true constraints, not opinions.</li>
          <li>Leadership is asking for consistent reporting, but CRM fields, activity expectations, and KPIs are fragmented.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A region-by-region blueprint covering selling realities, obstacles, and required adaptations for each geography.</li>
           <li>A standardized core sales motion with stage definitions, exit criteria, and “allowed local variations” documented.</li>
           <li>A friction-point register listing the top risks across process, people, tooling, and communication, plus fixes.</li>
           <li>A phased rollout plan with dates, milestones, owners, and change-management actions for adoption.</li>
           <li>A metrics set (alignment and drift indicators) with a simple governance cadence to keep regions consistent.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Multi-Region Sales Playbook Standardizer</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">
                                    Copy the AI Prompt
                            </span>
            <div class="prompt-header-buttons">
                                <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 -->
        
        <!-- Full Prompt Code Header -->
        

        <!-- 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></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></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) Company Overview</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) Regional Differences Impacting Sales</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">3) Obstacles to Sales Consistency</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">4) Strategies for Maintaining Consistency</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 subheader">5) Implementation Timeline</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">6) Metrics to Track Sales Consistency</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 practical, region-by-region playbook that standardizes how sales is executed across geographies while still accounting for local realities—so outcomes, messaging, and reporting stay consistent company-wide.

## PERSONA
You are a cross-border revenue operations advisor with deep experience harmonizing sales motions across distributed teams. You write in a crisp, operational style: clear headings, concrete actions, minimal jargon, and no fluff.

## CONSTRAINTS
- Use markdown headings, bullet points, and tables only (no XML or pseudo-XML).
- Tailor everything to the company context provided; avoid generic “best practices” that ignore local constraints.
- Regional analysis must explicitly cover cultural, economic, regulatory, and market-structure factors (plus any other relevant drivers).
- Name specific obstacles across communication, technology/tooling, process design, and people/skills.
- Provide implementable guidance: each strategy must include actionable tactics (what to do + how it works).
- If any inputs are missing or unclear, follow the edge-case rules in **PROCESS** rather than inventing facts.

## PROCESS
1. **Pre-analysis (required):** Briefly restate your understanding of the company context and what “sales consistency” should mean for them.
2. **Diagnose regional variance:** Identify the highest-impact differences between regions and explain how each changes selling behavior/results.
3. **Pinpoint friction points:** Surface the most likely failure modes that cause divergence across regions (tools, handoffs, enablement, incentives, governance, etc.).
4. **Design the consistency system:** Propose strategies and tactics that standardize the core sales motion while allowing controlled localization.
5. **Operationalize:** Provide a phased rollout plan with dates and actions.
6. **Measure:** Define metrics that reveal alignment or drift over time.
7. **Edge-case handling:**  
   - If [LIST_REGIONS] is missing, ask for the regions and provide a provisional plan using “Region A / Region B / Region C” placeholders.  
   - If [COMPANY_SIZE] is unclear, offer two options (SMB vs. mid-market/enterprise operationalization) where it materially changes recommendations.  
   - If industry specifics are not provided, keep examples industry-neutral and flag where industry affects compliance, procurement, or buying cycles.
8. **What This Is NOT (scope boundaries):**
   - Not a compensation plan redesign or quota-setting model.
   - Not a legal opinion on regulatory compliance.
   - Not a full CRM implementation guide or vendor selection process.
   - Not a country-by-country tax/HR employment framework.

## INPUTS
- **Company name:** [COMPANY_NAME]
- **Industry:** [INDUSTRY]
- **Company size:** [COMPANY_SIZE]
- **Active regions:** [LIST_REGIONS]
- **Additional context (optional: current sales motion, tools, deal size, GTM model):** [CONTEXT]
- **Primary objective (optional):** [PRIMARY_GOAL]
- **Timeline preference (optional):** [TIMEFRAME]

## OUTPUT SPECIFICATION
Use the following deliverable structure and fill in all placeholders.

### 1) Company Overview
- **Company:** {Company Name}
- **Industry:** {Industry}
- **Size:** {Company Size}
- **Regions active:** {Regions Active}
- **Definition of “sales consistency” for this plan:** {Consistency Definition}
- **Assumptions / notes:** {Assumptions}

### 2) Regional Differences Impacting Sales
Provide exactly 5 differences. For each, include the driver and the sales impact.
- **Difference 1 — {Difference Name}**
  - **Where it varies:** {Regions Most Affected}
  - **What’s different (root cause):** {Explanation}
  - **How it changes selling:** {Sales Impact}
  - **Standardize vs. localize:** {What Must Be Standard} / {What Can Be Local}
- (Repeat through **Difference 5**)

### 3) Obstacles to Sales Consistency
Provide exactly 4 obstacles with concrete examples.
- **Obstacle 1 — {Obstacle Name}**
  - **Category:** {Communication/Technology/Process/People}
  - **What it looks like:** {Symptom}
  - **Why it happens:** {Cause}
  - **Risk if unchanged:** {Consequence}
- (Repeat through **Obstacle 4**)

### 4) Strategies for Maintaining Consistency
Provide exactly 3 strategies. Each strategy must include 2 tactics.
- **Strategy 1 — {Strategy Title}**
  - **Purpose:** {Purpose}
  - **Tactic A:** {Tactic Name}
    - **Action:** {What To Do}
    - **How to implement:** {How}
    - **Owner:** {Owner Role}
  - **Tactic B:** {Tactic Name}
    - **Action:** {What To Do}
    - **How to implement:** {How}
    - **Owner:** {Owner Role}
- (Repeat through **Strategy 3**)

### 5) Implementation Timeline
Provide a markdown table with phases and dates.

| {Phase} | {Key Actions} | {Primary Owner} | {Start Date} | {End Date} | {Dependencies/Risks} |
|---|---|---|---|---|---|
| {Phase 1} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |
| {Phase 2} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |
| {Phase 3} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |
| {Phase 4} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |

### 6) Metrics to Track Sales Consistency
List exactly 3 metrics with definitions and how they’ll be collected.
- **Metric 1 — {Metric Name}**
  - **Definition:** {Definition}
  - **Why it indicates consistency:** {Rationale}
  - **Data source:** {System/Report}
  - **Review cadence:** {Cadence}
- (Repeat through **Metric 3**)

## QUALITY CHECKS
Before finalizing, verify:
- The output contains the exact required counts (5 differences, 4 obstacles, 3 strategies, 2 tactics each, 3 metrics).
- Regional differences include cultural, economic, and regulatory considerations (explicitly stated where relevant).
- Every tactic is operational (clear action + implementation approach + owner), not conceptual.
- The timeline table includes phases, actions, owners, and start/end dates (no missing columns).
- Recommendations are tailored to {Industry}, {Company Size}, and {Regions Active}, with assumptions clearly labeled if inputs were incomplete.            </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, region-by-region playbook that standardizes how sales is executed across geographies while still accounting for local realities\u2014so outcomes, messaging, and reporting stay consistent company-wide.\r\n\r\n## PERSONA\r\nYou are a cross-border revenue operations advisor with deep experience harmonizing sales motions across distributed teams. You write in a crisp, operational style: clear headings, concrete actions, minimal jargon, and no fluff.\r\n\r\n## CONSTRAINTS\r\n- Use markdown headings, bullet points, and tables only (no XML or pseudo-XML).\r\n- Tailor everything to the company context provided; avoid generic \u201cbest practices\u201d that ignore local constraints.\r\n- Regional analysis must explicitly cover cultural, economic, regulatory, and market-structure factors (plus any other relevant drivers).\r\n- Name specific obstacles across communication, technology\/tooling, process design, and people\/skills.\r\n- Provide implementable guidance: each strategy must include actionable tactics (what to do + how it works).\r\n- If any inputs are missing or unclear, follow the edge-case rules in **PROCESS** rather than inventing facts.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (required):** Briefly restate your understanding of the company context and what \u201csales consistency\u201d should mean for them.\r\n2. **Diagnose regional variance:** Identify the highest-impact differences between regions and explain how each changes selling behavior\/results.\r\n3. **Pinpoint friction points:** Surface the most likely failure modes that cause divergence across regions (tools, handoffs, enablement, incentives, governance, etc.).\r\n4. **Design the consistency system:** Propose strategies and tactics that standardize the core sales motion while allowing controlled localization.\r\n5. **Operationalize:** Provide a phased rollout plan with dates and actions.\r\n6. **Measure:** Define metrics that reveal alignment or drift over time.\r\n7. **Edge-case handling:**  \r\n   - If [LIST_REGIONS] is missing, ask for the regions and provide a provisional plan using \u201cRegion A \/ Region B \/ Region C\u201d placeholders.  \r\n   - If [COMPANY_SIZE] is unclear, offer two options (SMB vs. mid-market\/enterprise operationalization) where it materially changes recommendations.  \r\n   - If industry specifics are not provided, keep examples industry-neutral and flag where industry affects compliance, procurement, or buying cycles.\r\n8. **What This Is NOT (scope boundaries):**\r\n   - Not a compensation plan redesign or quota-setting model.\r\n   - Not a legal opinion on regulatory compliance.\r\n   - Not a full CRM implementation guide or vendor selection process.\r\n   - Not a country-by-country tax\/HR employment framework.\r\n\r\n## INPUTS\r\n- **Company name:** [COMPANY_NAME]\r\n- **Industry:** [INDUSTRY]\r\n- **Company size:** [COMPANY_SIZE]\r\n- **Active regions:** [LIST_REGIONS]\r\n- **Additional context (optional: current sales motion, tools, deal size, GTM model):** [CONTEXT]\r\n- **Primary objective (optional):** [PRIMARY_GOAL]\r\n- **Timeline preference (optional):** [TIMEFRAME]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse the following deliverable structure and fill in all placeholders.\r\n\r\n### 1) Company Overview\r\n- **Company:** {Company Name}\r\n- **Industry:** {Industry}\r\n- **Size:** {Company Size}\r\n- **Regions active:** {Regions Active}\r\n- **Definition of \u201csales consistency\u201d for this plan:** {Consistency Definition}\r\n- **Assumptions \/ notes:** {Assumptions}\r\n\r\n### 2) Regional Differences Impacting Sales\r\nProvide exactly 5 differences. For each, include the driver and the sales impact.\r\n- **Difference 1 \u2014 {Difference Name}**\r\n  - **Where it varies:** {Regions Most Affected}\r\n  - **What\u2019s different (root cause):** {Explanation}\r\n  - **How it changes selling:** {Sales Impact}\r\n  - **Standardize vs. localize:** {What Must Be Standard} \/ {What Can Be Local}\r\n- (Repeat through **Difference 5**)\r\n\r\n### 3) Obstacles to Sales Consistency\r\nProvide exactly 4 obstacles with concrete examples.\r\n- **Obstacle 1 \u2014 {Obstacle Name}**\r\n  - **Category:** {Communication\/Technology\/Process\/People}\r\n  - **What it looks like:** {Symptom}\r\n  - **Why it happens:** {Cause}\r\n  - **Risk if unchanged:** {Consequence}\r\n- (Repeat through **Obstacle 4**)\r\n\r\n### 4) Strategies for Maintaining Consistency\r\nProvide exactly 3 strategies. Each strategy must include 2 tactics.\r\n- **Strategy 1 \u2014 {Strategy Title}**\r\n  - **Purpose:** {Purpose}\r\n  - **Tactic A:** {Tactic Name}\r\n    - **Action:** {What To Do}\r\n    - **How to implement:** {How}\r\n    - **Owner:** {Owner Role}\r\n  - **Tactic B:** {Tactic Name}\r\n    - **Action:** {What To Do}\r\n    - **How to implement:** {How}\r\n    - **Owner:** {Owner Role}\r\n- (Repeat through **Strategy 3**)\r\n\r\n### 5) Implementation Timeline\r\nProvide a markdown table with phases and dates.\r\n\r\n| {Phase} | {Key Actions} | {Primary Owner} | {Start Date} | {End Date} | {Dependencies\/Risks} |\r\n|---|---|---|---|---|---|\r\n| {Phase 1} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |\r\n| {Phase 2} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |\r\n| {Phase 3} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |\r\n| {Phase 4} | {Actions} | {Owner} | {Date} | {Date} | {Notes} |\r\n\r\n### 6) Metrics to Track Sales Consistency\r\nList exactly 3 metrics with definitions and how they\u2019ll be collected.\r\n- **Metric 1 \u2014 {Metric Name}**\r\n  - **Definition:** {Definition}\r\n  - **Why it indicates consistency:** {Rationale}\r\n  - **Data source:** {System\/Report}\r\n  - **Review cadence:** {Cadence}\r\n- (Repeat through **Metric 3**)\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The output contains the exact required counts (5 differences, 4 obstacles, 3 strategies, 2 tactics each, 3 metrics).\r\n- Regional differences include cultural, economic, and regulatory considerations (explicitly stated where relevant).\r\n- Every tactic is operational (clear action + implementation approach + owner), not conceptual.\r\n- The timeline table includes phases, actions, owners, and start\/end dates (no missing columns).\r\n- Recommendations are tailored to {Industry}, {Company Size}, and {Regions Active}, with assumptions clearly labeled if inputs were incomplete.";
    const variables = [];
    // 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>Paste in real operating constraints, not just goals.</strong> This prompt works best when you give it the messy details: CRM reality, headcount, and how deals are sourced today. For example, add “LATAM uses WhatsApp for follow-up and has lower email response rates” instead of “LATAM is different.”</li>


<li><strong>Define “consistency” in plain language.</strong> Before running it, write 3–5 lines on what must match everywhere (stage names, exit criteria, MEDDICC fields, pricing guardrails) and what can vary (channels, event mix, local compliance steps). If you’re unsure, follow up with: “List the top 10 items that should be globally standardized for forecasting accuracy, and the top 10 that should stay local.”</li>


<li><strong>Give the regions and selling motions explicitly.</strong> If you sell PLG in one market and enterprise outbound in another, say so. Try a quick add-on prompt after the first output: “Rewrite the core motion for a hybrid model: inbound for SMB, outbound for enterprise, partners for mid-market.”</li>


<li><strong>Force it to get concrete on governance.</strong> Teams drift because nobody owns the rules. After the first run, ask: “Now propose an operating cadence (weekly, monthly, quarterly) with meeting agendas, required dashboards, and a clear escalation path when a region deviates.”</li>


<li><strong>Use a ‘localization rubric’ to prevent endless exceptions.</strong> Add one more instruction: “Create a rubric that scores localization requests across regulatory need, revenue impact, customer expectation, and operational cost.” Then you can approve changes consistently, honestly, and without political debates.</li>

</ul>

</div>

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

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



<p>Once your multi-region sales motion is standardized, the next bottleneck is usually consistency in the tools and interfaces teams use every day.</p>



<p>If your playbook rollout includes CRM updates, internal portals, or enablement hubs, <a href="https://flowpast.com/prompts/write-clear-ui-labels-with-this-ai-prompt/">Write Clear UI Labels with this AI Prompt</a> helps prevent misunderstandings that quietly break adoption. Clean labels reduce “field guessing,” which is one of the fastest ways reporting drifts across regions.</p>



<p>For teams doing mobile-first selling (field reps, partner managers, or regions that live in chat tools), <a href="https://flowpast.com/prompts/design-mobile-quick-view-product-cards-ai-prompt/">Design Mobile Quick-View Product Cards AI Prompt</a> can support lightweight, standardized reference assets. Think of it as making product and pricing guidance accessible without digging through long documents.</p>



<p>When you are trying to keep internal tools consistent across countries, <a href="https://flowpast.com/prompts/create-a-ui-ux-guideline-manual-ai-prompt/">Create a UI UX Guideline Manual AI Prompt</a> pairs well with a sales playbook. It gives your teams a shared UI language, which makes global process changes less chaotic to implement.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/write-clear-ui-labels-with-this-ai-prompt/">Write Clear UI Labels with this AI Prompt</a>: Reduce UI confusion and reporting errors.</li>


<li><a href="https://flowpast.com/prompts/design-mobile-quick-view-product-cards-ai-prompt/">Design Mobile Quick-View Product Cards AI Prompt</a>: Mobile product references for selling teams.</li>


<li><a href="https://flowpast.com/prompts/create-native-ui-layout-options-ai-prompt/">Create Native UI Layout Options AI Prompt</a>: Layout concepts for consistent internal tools.</li>


<li><a href="https://flowpast.com/prompts/create-a-ui-ux-guideline-manual-ai-prompt/">Create a UI UX Guideline Manual AI Prompt</a>: Shared UI standards across teams.</li>

<li><a href="https://flowpast.com/prompts/build-a-ui-component-library-with-this-ai-prompt/">Build a UI Component Library with this AI Prompt</a>: Reusable components for product and ops.</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 global sales playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Revenue Operations Managers</strong> use this to align pipeline stages, handoffs, and required CRM fields so forecasting and reporting stay comparable across countries. <strong>Sales Enablement Leads</strong> rely on it to standardize onboarding and talk tracks while still documenting region-specific objections and compliance steps. <strong>VPs of Sales</strong> apply it to enforce one core motion and one definition of “good activity,” without fighting every local leader on exceptions. <strong>Regional Sales Directors</strong> benefit because the playbook clarifies what they can localize (channels, events, language) and what must stay consistent (qualification, pricing guardrails, exit criteria).</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this global sales playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>SaaS companies</strong> get value because multi-region selling often mixes PLG inbound, outbound enterprise, and partner motions, and inconsistency wrecks pipeline hygiene. This prompt helps them define one core motion and tightly controlled variations by segment and region. <strong>Manufacturers and industrial firms</strong> use it when different distributors and field teams sell with different quoting steps, lead times, and territory rules; a standardized playbook reduces margin leakage and “special deal” chaos. <strong>Healthcare and regulated services</strong> benefit because regional regulatory constraints are real, and the playbook can document compliant deviations without breaking global reporting. <strong>Professional services firms</strong> apply it to standardize discovery, scoping, and proposal steps across offices so utilization forecasting and win/loss analysis are meaningful.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for standardizing a multi-region sales playbook produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “<em>Write me a global sales playbook</em>” fails because it: lacks your company context (segments, sales cycle, channels), provides no structured regional analysis across culture/economics/regulation/market structure, ignores operational friction points like tooling gaps and handoffs, produces generic best practices instead of tactics tied to how your teams actually sell, and misses a measurement system that detects drift after rollout. This prompt forces a diagnosis-first approach, then turns that into implementable governance, rollout steps, and metrics.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this global sales playbook prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. You customize it by adding your company context (ICP, segments, deal size bands, average cycle length), your regions, and the current sales motion per region (inbound, outbound, partners, renewals). It also helps to include your existing stack (CRM, CPQ, enablement, comms tools) and what leadership needs to standardize (stages, exit criteria, pricing guardrails, reporting). After the first output, ask: “Revise the playbook assuming Region A has strict data residency rules and Region B sells mostly through partners; keep global reporting consistent.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this global sales playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is giving a vague company context — instead of “B2B software,” use “security SaaS selling to IT directors; $15–60k ACV; 60–120 day cycle; mostly outbound in EMEA.” Another common error is listing regions without describing how they sell today; “APAC” is not enough, but “APAC: partner-led, heavy WhatsApp follow-up, longer procurement” gives the prompt something to standardize around. People also omit tooling and governance details (bad: “we use a CRM”; good: “Salesforce with CPQ; Slack; Gong; HubSpot for inbound; no global required fields”), which leads to unrealistic rollout plans. Finally, teams forget to define what can be localized, so the output becomes either too rigid to adopt or so flexible it doesn’t standardize anything.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this global sales playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for one-off sales docs where you will not iterate or roll out changes across teams. It also won’t save a motion that hasn’t been validated yet; if your core offer, ICP, and sales stages are still in flux, standardizing too early can lock in the wrong behavior. And if you only sell in one country with a tiny team, you may be better off documenting a lightweight process and call review cadence instead of building a full multi-region blueprint.</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 global sales playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Revenue Operations Managers use this to align pipeline stages, handoffs, and required CRM fields so forecasting and reporting stay comparable across countries. Sales Enablement Leads rely on it to standardize onboarding and talk tracks while still documenting region-specific objections and compliance steps. VPs of Sales apply it to enforce one core motion and one definition of good activity, without fighting every local leader on exceptions. Regional Sales Directors benefit because the playbook clarifies what they can localize (channels, events, language) and what must stay consistent (qualification, pricing guardrails, exit criteria)."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this global sales playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SaaS companies get value because multi-region selling often mixes PLG inbound, outbound enterprise, and partner motions, and inconsistency wrecks pipeline hygiene. This prompt helps them define one core motion and tightly controlled variations by segment and region. Manufacturers and industrial firms use it when different distributors and field teams sell with different quoting steps, lead times, and territory rules; a standardized playbook reduces margin leakage and special deal chaos. Healthcare and regulated services benefit because regional regulatory constraints are real, and the playbook can document compliant deviations without breaking global reporting. Professional services firms apply it to standardize discovery, scoping, and proposal steps across offices so utilization forecasting and win/loss analysis are meaningful."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for standardizing a multi-region sales playbook produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a global sales playbook” fails because it: lacks your company context (segments, sales cycle, channels), provides no structured regional analysis across culture/economics/regulation/market structure, ignores operational friction points like tooling gaps and handoffs, produces generic best practices instead of tactics tied to how your teams actually sell, and misses a measurement system that detects drift after rollout. This prompt forces a diagnosis-first approach, then turns that into implementable governance, rollout steps, and metrics."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this global sales playbook prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. You customize it by adding your company context (ICP, segments, deal size bands, average cycle length), your regions, and the current sales motion per region (inbound, outbound, partners, renewals). It also helps to include your existing stack (CRM, CPQ, enablement, comms tools) and what leadership needs to standardize (stages, exit criteria, pricing guardrails, reporting). After the first output, ask: “Revise the playbook assuming Region A has strict data residency rules and Region B sells mostly through partners; keep global reporting consistent.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this global sales playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is giving a vague company context — instead of “B2B software,” use “security SaaS selling to IT directors; $15–60k ACV; 60–120 day cycle; mostly outbound in EMEA.” Another common error is listing regions without describing how they sell today; “APAC” is not enough, but “APAC: partner-led, heavy WhatsApp follow-up, longer procurement” gives the prompt something to standardize around. People also omit tooling and governance details (bad: “we use a CRM”; good: “Salesforce with CPQ; Slack; Gong; HubSpot for inbound; no global required fields”), which leads to unrealistic rollout plans. Finally, teams forget to define what can be localized, so the output becomes either too rigid to adopt or so flexible it doesn’t standardize anything."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this global sales playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off sales docs where you will not iterate or roll out changes across teams. It also won’t save a motion that hasn’t been validated yet; if your core offer, ICP, and sales stages are still in flux, standardizing too early can lock in the wrong behavior. And if you only sell in one country with a tiny team, you may be better off documenting a lightweight process and call review cadence instead of building a full multi-region blueprint."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Global growth gets expensive when every region reinvents sales from scratch. Use this prompt to lock in what works, document what must change locally, and roll out a playbook your teams can actually follow.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001124.webp" medium="image"></media:content>
            	</item>
	</channel>
</rss>
