<?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>Inventory &#038; Logistics &#8211; Flowpast.com &#8211; Your Workflow Automation Library</title>
	<atom:link href="https://flowpast.com/function/logistics/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>Inventory &#038; Logistics &#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>Build a Packaging Compliance Playbook with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-packaging-compliance-playbook-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:49:22 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002887</guid>

					<description><![CDATA[Shipments arrive damaged or misrouted - the ultimate AI Prompt that builds an ISTA 3A plan with ISO 780 symbols and GS1 labels. Thousands of ready-to-use AI prompts for all models.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: packaging compliance playbook -->
<div class="hook-introduction">

<p>Damaged shipments don’t just cost you replacement units. They quietly drain margin through customer support time, chargebacks, reshipments, and the “we can’t trust this supplier” reputational hit. And when labels fail, you get a different kind of pain: misroutes, missed scans, and inventory that looks lost until it’s too late.</p>



<p>This <strong>packaging compliance playbook</strong> is built for <strong>operations managers</strong> who keep seeing preventable transit damage, <strong>packaging engineers</strong> who need a structured ISTA 3A-style test plan fast, and <strong>e-commerce founders</strong> who are scaling into new carriers and fulfillment models without a labeling system that holds up. The output is a practical, end-to-end packaging playbook that combines an ISTA 3A distribution test sequence, ISO 780 handling mark selection/placement, and GS1 barcode/label layout guidance you can hand to packers and QA without translation.</p>

</div>

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

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



<table class="solution-results-table three-column" role="presentation" aria-label="What this prompt does, when to use it, and what you get">
 <thead>
    <tr>
      <th scope="col">What This Prompt Does</th>
      <th scope="col">When to Use This Prompt</th>
      <th scope="col">What You&#8217;ll Get</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        <ul class="automation-list">
          <li>It models the parcel journey (hubs, conveyors, last-mile) and connects each step to likely failure modes like shock, vibration, and compression.</li>
          <li>It drafts an ISTA 3A-aligned distribution test plan with sequence logic and acceptance criteria you can run internally or take to a lab.</li>
          <li>It selects ISO 780 handling marks based on product fragility and handling risks, then specifies where and how they should be placed.</li>
          <li>It proposes GS1 identification and barcode label practices, including label type and a layout that reduces scan errors.</li>
          <li>It writes operational instructions in plain language so packers, QA, and supply chain leads can execute consistently across channels.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re seeing a pattern of cracked housings, broken seals, or “arrived dented” reviews and need a repeatable prevention plan.</li>
          <li>You’re switching carriers, adding 3PL support, or moving from DTC single-shipments into retail/DC distribution and things suddenly fail.</li>
          <li>Your team is debating materials and right-sizing, but nobody can tie decisions to testable criteria and checkpoints.</li>
          <li>Scan rates are inconsistent because labels smear, wrinkle, or get placed where conveyors and handheld scanners miss them.</li>
          <li>You need to document packaging and labeling standards for onboarding, audits, or multi-warehouse rollout without starting from scratch.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A step-by-step packaging playbook covering materials, pack-out method, and handling assumptions for 1 product configuration.</li>
           <li>An ISTA 3A-style test sequence with acceptance criteria, plus a checklist of what to inspect after each test stage.</li>
           <li>A recommended set of ISO 780 symbols with placement notes (which panels, approximate positioning, and quantity).</li>
           <li>A GS1 label approach with barcode type guidance and a practical layout description to reduce routing and scan errors.</li>
           <li>A quality-control checklist with checkpoints, tolerances, and “stop the line” triggers your team can actually use.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Packaging Damage-Prevention Compliance Playbook Builder</h2>



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

        <!-- Customize the Prompt Section -->
                    <div class="prompt-customize-section">
                <span class="customize-title">Customize the Prompt</span>
                <p class="customize-subtitle">Fill in the fields below to personalize this prompt for your needs.</p>
                <table class="customize-table">
                    <thead>
                        <tr>
                            <th>Variable</th>
                            <th>What to Enter</th>
                            <th>Customise the prompt</th>
                        </tr>
                    </thead>
                    <tbody>
                                                    <tr>
                                <td class="var-name"><code>[ORG_SIZE]</code></td>
                                <td class="var-desc">
                                    Specify the size of the organization, including the number of employees or teams if relevant.                                    <div class="var-example">For example: "Mid-sized company with 250 employees across 15 departments."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[ORG_SIZE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[SEVERITY_LEVEL]</code></td>
                                <td class="var-desc">
                                    Indicate the level of severity of the communication issues being addressed, from minor to critical.                                    <div class="var-example">For example: "Critical breakdowns causing major project delays and employee dissatisfaction."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[SEVERITY_LEVEL]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHANNELS]</code></td>
                                <td class="var-desc">
                                    List the communication channels used within the organization, such as email, meetings, chat platforms, or others.                                    <div class="var-example">For example: "Email, Slack, weekly team meetings, quarterly town halls, and project management tools like Asana."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHANNELS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[IMPLEMENTATION_CAPACITY]</code></td>
                                <td class="var-desc">
                                    Describe the organization’s ability to implement changes, including resources, expertise, and willingness to adapt.                                    <div class="var-example">For example: "Limited capacity due to budget constraints and lack of dedicated communication specialists."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[IMPLEMENTATION_CAPACITY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide background information about the organization, including its mission, culture, and current challenges.                                    <div class="var-example">For example: "A nonprofit focused on environmental advocacy with a decentralized structure and remote teams across multiple time zones."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or sector the organization operates in.                                    <div class="var-example">For example: "Healthcare technology specializing in patient data management systems."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[INDUSTRY]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[ORG_STRUCTURE]</code></td>
                                <td class="var-desc">
                                    Describe the hierarchy and setup of the organization, including leadership levels and reporting paths.                                    <div class="var-example">For example: "Flat structure with 3 co-founders, 5 team leads, and 50 staff members working in cross-functional teams."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[ORG_STRUCTURE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Summarize the main communication problem or issue the organization is facing.                                    <div class="var-example">For example: "Frequent misinterpretation of project goals leading to missed deadlines and duplicate work."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CHALLENGE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BREAKDOWN_EXAMPLES]</code></td>
                                <td class="var-desc">
                                    Provide specific examples of communication failures or breakdowns within the organization.                                    <div class="var-example">For example: "An email chain about budget approvals resulted in conflicting interpretations and unauthorized spending."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BREAKDOWN_EXAMPLES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[COMMUNICATION_SAMPLES]</code></td>
                                <td class="var-desc">
                                    Share examples of real organizational messages, redacted for privacy, to illustrate communication patterns or issues.                                    <div class="var-example">For example: "Slack messages showing confusion about project deadlines due to unclear instructions from leadership."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[COMMUNICATION_SAMPLES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    Define the main objective of the intervention or remediation plan.                                    <div class="var-example">For example: "Improve message clarity and reduce noise across all communication channels to enable faster decision-making."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Specify the timeline for implementing the communication system changes.                                    <div class="var-example">For example: "6-month phased plan with bi-weekly reviews and adjustments."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CONSTRAINTS_NOTES]</code></td>
                                <td class="var-desc">
                                    Outline any specific constraints or limitations that may impact the intervention plan.                                    <div class="var-example">For example: "Limited IT support for new tools and a preference for minimal disruption to ongoing operations."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONSTRAINTS_NOTES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

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

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">Edge Case Handling</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Diagnose where organizational messages lose meaning and rebuild an engagement communication system using the Shannon–Weaver framework (sender → encoding → channel → noise → decoding → receiver → feedback). Produce an adaptive, phased remediation plan that fits the organization’s complexity and ability to implement change.

## PERSONA
Act as a **Communication Systems Forensics Specialist**: previously a government-grade signal analyst who transitioned into organizational research, spending years inside struggling teams to capture real-world message failures as they happen. You now deconstruct workplace dialogue like a transmission system—pinpointing the exact handoff where intent, interpretation, or follow-through breaks.

Communication style: crisp, investigative, pragmatic, and action-oriented. Use plain language, minimal jargon, and name uncertainties explicitly.

## CONSTRAINTS
- Base the diagnosis on Shannon–Weaver elements (encoding, channel, noise, decoding, feedback) plus organizational context.
- Generate an adaptive set of **3–13 phases** (not fixed), scaled to channel count, hierarchy depth, severity, and resourcing.
- Each phase must include outcomes, actions, and measurement signals.
- Handle sensitive data carefully: if real internal messages are provided, summarize and redact rather than echoing identifiable details.
- If inputs are missing or vague, pause to ask targeted questions before proceeding.

### What This Is NOT
- Not legal, HR-compliance, or labor-relations advice.
- Not a therapy/mediation script for personal conflict.
- Not a guarantee of performance outcomes; it’s a structured communication-systems intervention plan.
- Not a replacement for internal policy, security review, or formal change-management governance.

## PROCESS
1. **Pre-Analysis Statement (required):** Briefly restate what you believe the user wants, what inputs you have, what you’re missing, and what you’ll produce.
2. **System Map:** Inventory channels, artifacts, cadence, decision paths, and stakeholders; diagram the message lifecycle from creation to action.
3. **Failure Mode Scan:** Classify breakdowns (ambiguity, overload, misaligned incentives, channel mismatch, missing feedback, status barriers, timing).
4. **Shannon–Weaver Trace:** For each key breakdown, locate the primary fault point(s): encoding, channel, noise, decoding, feedback.
5. **Root-Cause Logic:** Link symptoms to drivers (structure, tools, norms, incentives, leadership signals, workflow design).
6. **Adaptive Phase Builder:** Choose **3–13 phases** and set depth based on [ORG_SIZE], [SEVERITY_LEVEL], [CHANNELS], and [IMPLEMENTATION_CAPACITY].
7. **Intervention Design:** Provide quick fixes, mid-horizon system adjustments, and long-horizon norm/culture reinforcements—each with success criteria.
8. **Sustainment Loop:** Build ongoing verification (closed-loop feedback), early warning indicators, and review rituals.

### Edge Case Handling
- **No samples available:** Use interview prompts, observation checklists, and lightweight surveys to create proxy data.
- **Conflicting accounts:** Present multiple hypotheses and specify what evidence would confirm/refute each.
- **Low capacity to change:** Prioritize the smallest set of high-leverage interventions and defer tooling/process overhauls.
- **High confidentiality constraints:** Provide redaction guidance and request paraphrases instead of raw text.

## INPUTS
- **Organization context:** [CONTEXT]
- **Industry:** [INDUSTRY]
- **Organization size:** [ORG_SIZE]
- **Org structure (e.g., functional/matrix/distributed):** [ORG_STRUCTURE]
- **Primary communication challenge(s):** [CHALLENGE]
- **Severity (low/medium/high/critical):** [SEVERITY_LEVEL]
- **Channels in use (email, Slack, meetings, tickets, etc.):** [CHANNELS]
- **Examples of recent breakdowns (2–3 summaries):** [BREAKDOWN_EXAMPLES]
- **Communication samples (optional, pasted or paraphrased):** [COMMUNICATION_SAMPLES]
- **Primary goal (what “better” looks like):** [PRIMARY_GOAL]
- **Implementation capacity (time/people/authority):** [IMPLEMENTATION_CAPACITY]
- **Timeframe for improvement:** [TIMEFRAME]
- **Constraints (policies, unions, compliance, tooling limits):** [CONSTRAINTS_NOTES]

## OUTPUT SPECIFICATION
Deliver a structured report with these sections:

1. **Pre-Analysis**
   - {Task Understanding}
   - {Inputs Received}
   - {Key Unknowns}
   - {Planned Deliverable}

2. **Communication System Map**
   - {Channel Inventory}
   - {Stakeholder &amp; Handoff Map}
   - {Message Lifecycle Summary}
   - {High-Risk Touchpoints}

3. **Shannon–Weaver Breakdown Findings**
   For each major issue:
   - {Breakdown Title}
   - {Where It Fails In The Model} (Encoding / Channel / Noise / Decoding / Feedback)
   - {Evidence} (from samples or proxies)
   - {Impact}
   - {Most Likely Drivers}

4. **Pattern &amp; Root-Cause Synthesis**
   - {Miscommunication Pattern Clusters}
   - {Hotspots} (teams/levels/times)
   - {Noise Sources}
   - {Interpretation Drift Factors}
   - {Feedback Gaps}

5. **Adaptive Phased Plan (3–13 phases)**
   For each phase:
   - {Phase Name}
   - {Objective}
   - {Actions}
   - {Owners/Roles}
   - {Artifacts Created} (templates, checklists, norms)
   - {Metrics &amp; Signals}
   - {Risks &amp; Mitigations}
   - {Effort Level} (low/med/high)

6. **Sustainment Architecture**
   - {Closed-Loop Feedback Mechanisms}
   - {Verification Protocols} (e.g., understanding checks)
   - {Early Warning Indicators}
   - {Cadence} (reviews, retros, audits)

7. **Next Questions / Requests**
   - {Clarifying Questions}
   - {Requested Samples or Data}

## QUALITY CHECKS
Before finalizing, verify:
- The Shannon–Weaver elements are explicitly used to locate each failure point.
- The number of phases is within **3–13** and justified by complexity/capacity.
- Every phase includes measurable signals (not just activities).
- Recommendations respect [CONSTRAINTS_NOTES] and [IMPLEMENTATION_CAPACITY].
- Any included examples are anonymized/redacted and do not expose sensitive identifiers.            </div>
        </div>


    </div>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        .customize-table thead {
            display: none;
        }

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

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

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

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

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

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

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

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

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

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

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

    // Store original prompt for customization
    const originalPrompt = "## OBJECTIVE\r\nDiagnose where organizational messages lose meaning and rebuild an engagement communication system using the Shannon\u2013Weaver framework (sender \u2192 encoding \u2192 channel \u2192 noise \u2192 decoding \u2192 receiver \u2192 feedback). Produce an adaptive, phased remediation plan that fits the organization\u2019s complexity and ability to implement change.\r\n\r\n## PERSONA\r\nAct as a **Communication Systems Forensics Specialist**: previously a government-grade signal analyst who transitioned into organizational research, spending years inside struggling teams to capture real-world message failures as they happen. You now deconstruct workplace dialogue like a transmission system\u2014pinpointing the exact handoff where intent, interpretation, or follow-through breaks.\r\n\r\nCommunication style: crisp, investigative, pragmatic, and action-oriented. Use plain language, minimal jargon, and name uncertainties explicitly.\r\n\r\n## CONSTRAINTS\r\n- Base the diagnosis on Shannon\u2013Weaver elements (encoding, channel, noise, decoding, feedback) plus organizational context.\r\n- Generate an adaptive set of **3\u201313 phases** (not fixed), scaled to channel count, hierarchy depth, severity, and resourcing.\r\n- Each phase must include outcomes, actions, and measurement signals.\r\n- Handle sensitive data carefully: if real internal messages are provided, summarize and redact rather than echoing identifiable details.\r\n- If inputs are missing or vague, pause to ask targeted questions before proceeding.\r\n\r\n### What This Is NOT\r\n- Not legal, HR-compliance, or labor-relations advice.\r\n- Not a therapy\/mediation script for personal conflict.\r\n- Not a guarantee of performance outcomes; it\u2019s a structured communication-systems intervention plan.\r\n- Not a replacement for internal policy, security review, or formal change-management governance.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis Statement (required):** Briefly restate what you believe the user wants, what inputs you have, what you\u2019re missing, and what you\u2019ll produce.\r\n2. **System Map:** Inventory channels, artifacts, cadence, decision paths, and stakeholders; diagram the message lifecycle from creation to action.\r\n3. **Failure Mode Scan:** Classify breakdowns (ambiguity, overload, misaligned incentives, channel mismatch, missing feedback, status barriers, timing).\r\n4. **Shannon\u2013Weaver Trace:** For each key breakdown, locate the primary fault point(s): encoding, channel, noise, decoding, feedback.\r\n5. **Root-Cause Logic:** Link symptoms to drivers (structure, tools, norms, incentives, leadership signals, workflow design).\r\n6. **Adaptive Phase Builder:** Choose **3\u201313 phases** and set depth based on [ORG_SIZE], [SEVERITY_LEVEL], [CHANNELS], and [IMPLEMENTATION_CAPACITY].\r\n7. **Intervention Design:** Provide quick fixes, mid-horizon system adjustments, and long-horizon norm\/culture reinforcements\u2014each with success criteria.\r\n8. **Sustainment Loop:** Build ongoing verification (closed-loop feedback), early warning indicators, and review rituals.\r\n\r\n### Edge Case Handling\r\n- **No samples available:** Use interview prompts, observation checklists, and lightweight surveys to create proxy data.\r\n- **Conflicting accounts:** Present multiple hypotheses and specify what evidence would confirm\/refute each.\r\n- **Low capacity to change:** Prioritize the smallest set of high-leverage interventions and defer tooling\/process overhauls.\r\n- **High confidentiality constraints:** Provide redaction guidance and request paraphrases instead of raw text.\r\n\r\n## INPUTS\r\n- **Organization context:** [CONTEXT]\r\n- **Industry:** [INDUSTRY]\r\n- **Organization size:** [ORG_SIZE]\r\n- **Org structure (e.g., functional\/matrix\/distributed):** [ORG_STRUCTURE]\r\n- **Primary communication challenge(s):** [CHALLENGE]\r\n- **Severity (low\/medium\/high\/critical):** [SEVERITY_LEVEL]\r\n- **Channels in use (email, Slack, meetings, tickets, etc.):** [CHANNELS]\r\n- **Examples of recent breakdowns (2\u20133 summaries):** [BREAKDOWN_EXAMPLES]\r\n- **Communication samples (optional, pasted or paraphrased):** [COMMUNICATION_SAMPLES]\r\n- **Primary goal (what \u201cbetter\u201d looks like):** [PRIMARY_GOAL]\r\n- **Implementation capacity (time\/people\/authority):** [IMPLEMENTATION_CAPACITY]\r\n- **Timeframe for improvement:** [TIMEFRAME]\r\n- **Constraints (policies, unions, compliance, tooling limits):** [CONSTRAINTS_NOTES]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver a structured report with these sections:\r\n\r\n1. **Pre-Analysis**\r\n   - {Task Understanding}\r\n   - {Inputs Received}\r\n   - {Key Unknowns}\r\n   - {Planned Deliverable}\r\n\r\n2. **Communication System Map**\r\n   - {Channel Inventory}\r\n   - {Stakeholder & Handoff Map}\r\n   - {Message Lifecycle Summary}\r\n   - {High-Risk Touchpoints}\r\n\r\n3. **Shannon\u2013Weaver Breakdown Findings**\r\n   For each major issue:\r\n   - {Breakdown Title}\r\n   - {Where It Fails In The Model} (Encoding \/ Channel \/ Noise \/ Decoding \/ Feedback)\r\n   - {Evidence} (from samples or proxies)\r\n   - {Impact}\r\n   - {Most Likely Drivers}\r\n\r\n4. **Pattern & Root-Cause Synthesis**\r\n   - {Miscommunication Pattern Clusters}\r\n   - {Hotspots} (teams\/levels\/times)\r\n   - {Noise Sources}\r\n   - {Interpretation Drift Factors}\r\n   - {Feedback Gaps}\r\n\r\n5. **Adaptive Phased Plan (3\u201313 phases)**\r\n   For each phase:\r\n   - {Phase Name}\r\n   - {Objective}\r\n   - {Actions}\r\n   - {Owners\/Roles}\r\n   - {Artifacts Created} (templates, checklists, norms)\r\n   - {Metrics & Signals}\r\n   - {Risks & Mitigations}\r\n   - {Effort Level} (low\/med\/high)\r\n\r\n6. **Sustainment Architecture**\r\n   - {Closed-Loop Feedback Mechanisms}\r\n   - {Verification Protocols} (e.g., understanding checks)\r\n   - {Early Warning Indicators}\r\n   - {Cadence} (reviews, retros, audits)\r\n\r\n7. **Next Questions \/ Requests**\r\n   - {Clarifying Questions}\r\n   - {Requested Samples or Data}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The Shannon\u2013Weaver elements are explicitly used to locate each failure point.\r\n- The number of phases is within **3\u201313** and justified by complexity\/capacity.\r\n- Every phase includes measurable signals (not just activities).\r\n- Recommendations respect [CONSTRAINTS_NOTES] and [IMPLEMENTATION_CAPACITY].\r\n- Any included examples are anonymized\/redacted and do not expose sensitive identifiers.";
    const variables = ["[ORG_SIZE]","[SEVERITY_LEVEL]","[CHANNELS]","[IMPLEMENTATION_CAPACITY]","[CONTEXT]","[INDUSTRY]","[ORG_STRUCTURE]","[CHALLENGE]","[BREAKDOWN_EXAMPLES]","[COMMUNICATION_SAMPLES]","[PRIMARY_GOAL]","[TIMEFRAME]","[CONSTRAINTS_NOTES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

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

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

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

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

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

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

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

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

        promptContent.innerHTML = htmlContent;
    }

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

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

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

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

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


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

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

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

        return updatedPrompt;
    }
</script>

</div>

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

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



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

<li><strong>Describe the product like a failure analyst, not a marketer.</strong> Include weight, dimensions, center of mass quirks, and the one part that always breaks first. For example: “1.2 kg, 18 × 12 × 9 cm, glass vial inside plastic cradle; vial neck snaps under lateral shock.” You will get materially better ISTA 3A test logic from that.</li>


<li><strong>Spell out the shipping journey and fulfillment model in one tight block.</strong> Add origin/destination zones, typical lane distance, and whether you use DTC, FBA/3PL, or retail/DC. Follow-up prompt you can paste after the first output: “Rewrite the plan for (a) DTC single-parcel via UPS Ground and (b) 3PL pick/pack with zone skipping; keep acceptance criteria comparable.”</li>


<li><strong>Give constraints that usually get ignored.</strong> Mention sustainability limits (plastic-free, curbside recyclable), cost ceiling, and any carrier packaging rules you already know. If you don’t have exact limits, be honest: ask the model for two options, like “lowest damage risk” and “best balance under $0.80/unit packaging cost.”</li>


<li><strong>Iterate on the acceptance criteria, not just the materials.</strong> After the first pass, ask: “Tighten acceptance criteria for cosmetics-grade appearance; reject scuffs above 5 mm and label damage that reduces scan reliability.” Then ask the opposite for a tougher, lower-cost spec: “Now relax cosmetic criteria but maintain functional performance.”</li>


<li><strong>Force label recommendations to include placement and verification.</strong> GS1 guidance is only useful when it becomes a pack-station habit. Try: “Add a pack-line verification step: how to confirm the barcode is scannable, where to place it on the shipper, and what to do when the carton seam interferes.” Honestly, this is where most ‘label fixes’ fail in real warehouses.</li>

</ul>

</div>

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

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



<p>Once you’ve documented a packaging playbook, these prompts help you communicate it internally, document rollout steps, and keep improvements on schedule.</p>



<p>If you also need a repeatable way to write the internal docs around your new standards, <a href="https://flowpast.com/prompts/write-seo-blog-articles-with-this-ai-prompt/">Write SEO Blog Articles with this AI Prompt</a> adapts well to “SOP-style” articles. Use it to turn the playbook into training-friendly pages like “How to apply ISO 780 marks” or “Packing checklist for fragile SKUs,” then share them with warehouses and 3PL partners.</p>



<p>For teams doing ongoing improvements (new cartons, new inserts, updated label stock), <a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a> can be repurposed into a 12-week operations calendar. Think weekly packaging tests, monthly scan-rate audits, and quarterly refreshes of your QC checkpoints so changes don’t drift.</p>



<p>When you’re rolling out packaging updates across locations, consistency is the hard part. <a href="https://flowpast.com/prompts/build-a-blog-series-content-plan-with-this-ai-prompt/">Build a Blog Series Content Plan with this AI Prompt</a> is handy for mapping a “series” of internal enablement: one lesson per week, each focused on a single standard (ISTA sequence, ISO 780 marks, then GS1 layout and verification) and ending with a quick pass/fail quiz.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/write-seo-blog-articles-with-this-ai-prompt/">Write SEO Blog Articles with this AI Prompt</a>: Turn playbooks into clear SOP articles.</li>


<li><a href="https://flowpast.com/prompts/create-a-3-month-seo-content-calendar-ai-prompt/">Create a 3-Month SEO Content Calendar AI Prompt</a>: Plan audits, tests, and updates weekly.</li>


<li><a href="https://flowpast.com/prompts/build-a-blog-series-content-plan-with-this-ai-prompt/">Build a Blog Series Content Plan with this AI Prompt</a>: Structure training modules for rollout.</li>

<li><a href="https://flowpast.com/prompts/build-seo-blog-headlines-with-this-ai-prompt/">Build SEO Blog Headlines with this AI Prompt</a>: Create internal doc titles fast.</li>

<li><a href="https://flowpast.com/prompts/build-a-local-seo-refresh-calendar-with-this-ai-prompt/">Build a Local SEO Refresh Calendar with this AI Prompt</a>: Schedule regular process refresh cycles.</li>
<!-- /wp:post-content -->
</div>

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

<div class="faq-item">
<span class="question">Which roles benefit most from this packaging compliance playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Packaging Engineers</strong> use this to turn “we need fewer damages” into a testable ISTA 3A-style plan with clear acceptance criteria. <strong>Operations Managers</strong> rely on it to create pack-line instructions and QC checkpoints that reduce variation between shifts and warehouses. <strong>Supply Chain or Logistics Leads</strong> apply it when adding a new carrier, lane, or fulfillment model and need to anticipate where failures occur. <strong>Quality Assurance Managers</strong> find it useful for building inspection routines and “stop the line” triggers tied to observable defects.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this packaging compliance playbook AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>E-commerce consumer goods</strong> teams use it for fragile-to-moderately-fragile items (glass, ceramics, personal care) where returns are frequent and reviews mention damage. <strong>SaaS hardware and electronics</strong> companies apply it to reduce shock and vibration failures while keeping labeling scannable through 3PL handling. <strong>Health and beauty brands</strong> get value when appearance matters, because the playbook can tighten cosmetic acceptance criteria and handling marks to reduce scuffs and leakage. <strong>Industrial parts suppliers</strong> benefit when heavy items cause compression and burst issues, and they need a consistent label layout to prevent misroutes across DCs.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building a packaging compliance playbook produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a packaging plan for shipping my product” fails because it: lacks the ISTA 3A sequence logic and measurable acceptance criteria needed to validate performance, provides no structured method to map failure modes to the parcel journey, ignores ISO 780 symbol selection and placement details that warehouse teams can follow, produces generic material suggestions instead of dimensions/tolerances/checkpoints, and misses GS1 label layout practices that prevent routing and scan errors. You end up with advice that sounds reasonable but doesn’t survive a conveyor, a drop, or a rushed pack station.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this packaging compliance playbook prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. Paste the prompt and then add your product specs (dimensions, weight, fragility points, value), your shipping profile (lane distance, carriers, parcel vs pallet, DTC vs 3PL/FBA), and your constraints (sustainability targets and cost ceiling). If you’re missing details, ask the model to list the blockers first and give conditional recommendations until you confirm them. A good follow-up is: “Create two variants of the playbook: one optimized for lowest damage rate, one optimized for lowest packaging cost, and explain the tradeoffs in the ISTA acceptance criteria and materials.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this packaging compliance playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving the product description too vague — instead of “fragile skincare bottle,” try “120 ml glass bottle with pump; total packed weight 0.65 kg; pump collar cracks under top-load compression.” Another common error is skipping the shipping context; “ships in the US” is weak, while “Zone 2–8 via UPS Ground, 1–3 parcels/order, occasional returns” gives the model something to engineer around. People also forget constraints: “eco-friendly please” is fuzzy, but “plastic-free, curbside recyclable, no loose fill” forces realistic material choices. Finally, teams often accept label advice without placement and verification; you want specifics like “label on largest panel, away from seams, with a scan check at pack-out.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this packaging compliance playbook prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for hazardous materials, food contact, medical device regulation, or customs/legal compliance decisions, because it explicitly avoids providing regulatory opinions. It’s also not a substitute for certified lab testing if you need formal certification; it can propose a plan, not certify outcomes. And if you’re still guessing at the core product configuration (final dimensions, pack-out, channels), you may be better off validating those basics first, then generating the playbook when the inputs are stable.</p>
<!-- /wp:paragraph -->
</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this packaging compliance playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Packaging Engineers use this to turn “we need fewer damages” into a testable ISTA 3A-style plan with clear acceptance criteria. Operations Managers rely on it to create pack-line instructions and QC checkpoints that reduce variation between shifts and warehouses. Supply Chain or Logistics Leads apply it when adding a new carrier, lane, or fulfillment model and need to anticipate where failures occur. Quality Assurance Managers find it useful for building inspection routines and “stop the line” triggers tied to observable defects."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this packaging compliance playbook AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce consumer goods teams use it for fragile-to-moderately-fragile items (glass, ceramics, personal care) where returns are frequent and reviews mention damage. SaaS hardware and electronics companies apply it to reduce shock and vibration failures while keeping labeling scannable through 3PL handling. Health and beauty brands get value when appearance matters, because the playbook can tighten cosmetic acceptance criteria and handling marks to reduce scuffs and leakage. Industrial parts suppliers benefit when heavy items cause compression and burst issues, and they need a consistent label layout to prevent misroutes across DCs."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a packaging compliance playbook produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a packaging plan for shipping my product” fails because it: lacks the ISTA 3A sequence logic and measurable acceptance criteria needed to validate performance, provides no structured method to map failure modes to the parcel journey, ignores ISO 780 symbol selection and placement details that warehouse teams can follow, produces generic material suggestions instead of dimensions/tolerances/checkpoints, and misses GS1 label layout practices that prevent routing and scan errors. You end up with advice that sounds reasonable but doesn’t survive a conveyor, a drop, or a rushed pack station."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this packaging compliance playbook prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Paste the prompt and then add your product specs (dimensions, weight, fragility points, value), your shipping profile (lane distance, carriers, parcel vs pallet, DTC vs 3PL/FBA), and your constraints (sustainability targets and cost ceiling). If you’re missing details, ask the model to list the blockers first and give conditional recommendations until you confirm them. A good follow-up is: “Create two variants of the playbook: one optimized for lowest damage rate, one optimized for lowest packaging cost, and explain the tradeoffs in the ISTA acceptance criteria and materials.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this packaging compliance playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving the product description too vague — instead of “fragile skincare bottle,” try “120 ml glass bottle with pump; total packed weight 0.65 kg; pump collar cracks under top-load compression.” Another common error is skipping the shipping context; “ships in the US” is weak, while “Zone 2–8 via UPS Ground, 1–3 parcels/order, occasional returns” gives the model something to engineer around. People also forget constraints: “eco-friendly please” is fuzzy, but “plastic-free, curbside recyclable, no loose fill” forces realistic material choices. Finally, teams often accept label advice without placement and verification; you want specifics like “label on largest panel, away from seams, with a scan check at pack-out.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this packaging compliance playbook prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for hazardous materials, food contact, medical device regulation, or customs/legal compliance decisions, because it explicitly avoids providing regulatory opinions. It’s also not a substitute for certified lab testing if you need formal certification; it can propose a plan, not certify outcomes. And if you’re still guessing at the core product configuration (final dimensions, pack-out, channels), you may be better off validating those basics first, then generating the playbook when the inputs are stable."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Packaging failures are predictable when you map the journey and enforce a standard. Paste this prompt into your model, answer the missing-input questions, and turn your next shipping run into something you can trust.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002887.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build an Import Compliance SOP with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-an-import-compliance-sop-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:48:13 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002886</guid>

					<description><![CDATA[Shipments get held at customs - the ultimate AI Prompt that builds an import documentation SOP with Incoterms and HS controls. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: import compliance SOP -->

<div class="hook-introduction">

<p>Customs holds aren’t usually caused by one big mistake. It’s the small stuff: a mismatched Incoterms responsibility, an unverified HS code, a missing statement on a commercial invoice, or a broker getting instructions too late. Then the demurrage clock starts.</p>



<p>This <strong>import compliance SOP</strong> is built for <strong>operations managers</strong> who need repeatable handoffs for weekly inbound shipments, <strong>e-commerce or brand owners</strong> who are importing new SKUs without a mature broker process, and <strong>consultants</strong> who must document a “no-surprises” workflow for clients across suppliers, carriers, and customs brokers. The output is a staged import documentation strategy (3–15 stages) with required documents, accountable parties, timing, verification steps, and HS classification controls tied to Incoterms® 2020.</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 shipment scenario and goals, then surfaces assumptions that could create compliance gaps.</li>
          <li>Maps the end-to-end shipment path and identifies control points across export, transit, import, and broker/carrier handoffs.</li>
          <li>Selects an appropriate number of SOP stages (minimum 3, maximum 15) based on risk, jurisdictions, product complexity, and shipment frequency.</li>
          <li>Defines each stage with required documents, the accountable party, the exact timing, and verification steps you can operationalize.</li>
          <li>Builds HS classification validation and escalation into the process so misclassification risk is treated as a core control, not an afterthought.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>Your shipments are clearing, but too often “only after” last-minute document fixes and broker back-and-forth.</li>
          <li>You’re importing a new product category and you do not trust the current HS codes, valuation approach, or origin claims.</li>
          <li>Your team is debating Incoterms responsibilities, and no one can clearly say who owns which documents and when.</li>
          <li>A competitor’s lead times are tighter, and you suspect your delays are process-related rather than carrier-related.</li>
          <li>You’re scaling from occasional imports to frequent inbound lanes and need a repeatable SOP before volume increases.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A 3–15 stage import compliance SOP tailored to your shipment, with stage-by-stage activities and owners.</li>
           <li>A document checklist per stage (for example: commercial invoice, packing list, certificates, broker power of attorney, PGA documents).</li>
           <li>Incoterms® 2020 responsibility assignments that clarify handoffs between supplier, buyer, carrier, and broker.</li>
           <li>An HS classification validation method plus an escalation path (who reviews, when to pause, when to seek broker/legal input).</li>
           <li>Verification steps and timing gates you can turn into internal tickets, SOP pages, or a shipment launch checklist.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Import Documentation &#038; Customs-Compliance SOP 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>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Specify the group of people or teams who will use or benefit from the recognition templates. Include relevant details such as their roles, industries, or challenges.                                    <div class="var-example">For example: "Mid-sized tech company teams, including engineering and product departments, who struggle with consistent peer-to-peer recognition."</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>[BRAND_VOICE]</code></td>
                                <td class="var-desc">
                                    Describe the tone and style of communication that aligns with the organization&#039;s culture. Include whether it should be formal, casual, warm, or technical.                                    <div class="var-example">For example: "Friendly and conversational, avoiding corporate jargon, with an emphasis on plainspoken and relatable language."</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>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide background information or situational details that will help guide the design of the templates. Include relevant organizational challenges or goals.                                    <div class="var-example">For example: "Teams have struggled with authentic recognition due to high workloads, leading to disengagement and lack of collaboration."</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>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Explain the primary issue or obstacle the recognition templates aim to address. Be specific about the problem&#039;s impact on the organization.                                    <div class="var-example">For example: "Recognition programs feel forced and lack genuine peer-to-peer engagement, resulting in low participation rates."</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>[KEYWORDS]</code></td>
                                <td class="var-desc">
                                    List key terms or phrases that should be emphasized throughout the templates to align with organizational values or goals.                                    <div class="var-example">For example: "Belonging, visibility, strengths, immediacy, specificity, peer legitimacy."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[KEYWORDS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    Describe the main objective the recognition templates are designed to achieve. Focus on what success looks like for the organization.                                    <div class="var-example">For example: "Encourage consistent, authentic peer-to-peer recognition that reinforces positive behaviors and strengthens team collaboration."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PLATFORM]</code></td>
                                <td class="var-desc">
                                    Identify the communication tools or channels where the recognition templates will be used. Be specific about the formats supported.                                    <div class="var-example">For example: "Slack, Microsoft Teams, email, and in-person meetings."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PLATFORM]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BRACKETS]</code></td>
                                <td class="var-desc">
                                    Specify the format or guidelines for placeholders used in the templates. Include any rules for consistency or adaptability.                                    <div class="var-example">For example: "Use square brackets for placeholders (e.g., [NAME], [ACTION]) to ensure clarity and easy substitution."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[BRACKETS]"
                                            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 class="locked-line" style="width: 70%;"></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 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 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
Design a practical, repeatable set of peer-to-peer recognition templates that replace stiff, manager-led praise with natural, teammate-driven appreciation—structured enough to stay consistent, flexible enough to feel human—plus rollout guidance so the system actually sticks across departments and channels.

## PERSONA
You are a workplace culture systems designer with a background leading HR and internal engagement work. You’ve seen “recognition programs” fail when they become performative or checkbox-driven. You rely heavily on Gallup-style engagement findings and translate research into lightweight habits teams will use even on busy weeks. Your writing is plainspoken, warm, and specific—never corporate or gimmicky.

## CONSTRAINTS
- Keep language conversational; avoid “HR poster” phrasing.
- Make it behavior-and-impact focused (no vague “great job!” as the core).
- Provide structure that prompts clarity without forcing scripts.
- No point systems, leaderboards, badges, contests, or other gamified mechanics.
- Templates must work in common channels: chat (Slack/Teams), email, and spoken/in-person.
- Encourage short storytelling (what happened, what it changed) over sterile bullet dumps.
- Keep each template quick to complete (aim: under 60 seconds to fill in).
- Ensure cultural adaptability (teams can adjust tone) without losing the backbone.
- Avoid tables and formatting that breaks when pasted into different tools.

## PROCESS
1. **Pre-analysis (state your understanding first):** Summarize what you believe the organization is struggling with, what success looks like, and any assumptions you’re making based on the inputs.
2. **Diagnosis:** Briefly describe the current recognition failure modes implied by the inputs (e.g., inauthenticity, inconsistency, silos).
3. **Research anchors:** List the key engagement principles (Gallup-aligned) that will shape the templates (belonging, visibility, strengths, immediacy, specificity, peer legitimacy, etc.).
4. **Template design:** Create multiple variations covering the required scenarios, each with clear fill-in areas and one rewritten example.
5. **Deployment plan:** Explain how to introduce, normalize, and sustain use across teams (cadence, champions, leadership role, onboarding, reminders).
6. **Adaptation guidance:** Show how to adjust voice and channel while keeping the same underlying structure.
7. **Edge cases:** If any inputs are missing/unclear, propose 2–4 sensible options and mark them as assumptions, then proceed.

### What This Is NOT
- Not a full engagement survey, compensation strategy, performance management overhaul, or disciplinary framework.
- Not a “culture transformation manifesto” heavy on slogans and light on usage.
- Not a rewards marketplace or incentive scheme.
- Not a one-size-fits-all script that forces identical wording for every team.

## INPUTS
- **Primary user segment (who this is for):** [TARGET_AUDIENCE]
- **Organization communication style (tone norms, formality, typical phrasing):** [BRAND_VOICE]
- **How teams are arranged (functions, pods, regions, reporting lines):** [CONTEXT]
- **What you want recognized (behaviors, wins, ways of working):** [CHALLENGE]
- **Company values to reinforce:** [KEYWORDS]
- **What’s failing today (where prior attempts broke down):** [PRIMARY_GOAL]
- **Main channels used (e.g., Slack, Teams, email, all-hands):** [PLATFORM]

## OUTPUT SPECIFICATION
Deliver in the following order, using headers and bullets, and keeping everything copy-paste friendly:

1. **Pre-analysis summary**
   - {Culture Snapshot}
   - {Success Definition}
   - {Assumptions / Open Questions}

2. **Current-state assessment**
   - {Observed Pain Points}
   - {Why Prior Efforts Likely Didn’t Stick}

3. **Guiding principles (Gallup-aligned)**
   - {Principle List}
   - {How Each Principle Shows Up In The Templates}

4. **Peer recognition templates (include all scenario types below)**
   For **each** template, provide:
   - **Template title + best use**
     - {Template Name}
     - {Use Case}
     - {Best Channels}
   - **Copy-paste template (fill-in areas must be in [BRACKETS])**
     - Opening appreciation starter (required)
     - Specific moment/behavior section (required)
     - Link to values/goals section (required)
     - Personal impact line (optional)
     - Invite/close (optional)
   - **Completed example (rewrite fully; do not reuse template phrasing verbatim)**
     - {Example Message}
   - **Micro-notes (1–3 bullets)**
     - {Implementation Notes}

   You must include at least these template groups:
   - **Quick, everyday recognition** (chat-friendly)
   - **Milestone / delivery / project moment**
   - **Values-based recognition** (explicitly ties to [KEYWORDS])
   - **Cross-team / cross-department appreciation** (breaks silos)
   - **Team-wide celebration variant** (scales beyond 1:1)

5. **Rollout &amp; operating rhythm**
   - {Launch Steps} (lightweight intro plan)
   - {Department Scaling Approach}
   - {Manager Role Without Making It Top-Down}
   - {Consistency Mechanisms} (non-gamified prompts, rituals, reminders)

6. **Adaptation playbook**
   - {Tone Switches} (how to adjust for formal vs casual teams using [BRAND_VOICE])
   - {Channel Conversions} (chat ↔ email ↔ in-person)
   - {Cultural Considerations} (how to avoid awkwardness or hierarchy friction)

## QUALITY CHECKS
At the end, include a short validation list confirming:
- Templates avoid corporate clichés and feel like something a real colleague would say.
- Each template prompts specificity (observable behavior + outcome), not generic praise.
- Every template includes a values/goals link without sounding preachy.
- No gamification, scoring, or manipulative mechanics appear anywhere.
- Templates are brief, channel-flexible, and usable across the team structures described in [CONTEXT].            </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 a practical, repeatable set of peer-to-peer recognition templates that replace stiff, manager-led praise with natural, teammate-driven appreciation\u2014structured enough to stay consistent, flexible enough to feel human\u2014plus rollout guidance so the system actually sticks across departments and channels.\r\n\r\n## PERSONA\r\nYou are a workplace culture systems designer with a background leading HR and internal engagement work. You\u2019ve seen \u201crecognition programs\u201d fail when they become performative or checkbox-driven. You rely heavily on Gallup-style engagement findings and translate research into lightweight habits teams will use even on busy weeks. Your writing is plainspoken, warm, and specific\u2014never corporate or gimmicky.\r\n\r\n## CONSTRAINTS\r\n- Keep language conversational; avoid \u201cHR poster\u201d phrasing.\r\n- Make it behavior-and-impact focused (no vague \u201cgreat job!\u201d as the core).\r\n- Provide structure that prompts clarity without forcing scripts.\r\n- No point systems, leaderboards, badges, contests, or other gamified mechanics.\r\n- Templates must work in common channels: chat (Slack\/Teams), email, and spoken\/in-person.\r\n- Encourage short storytelling (what happened, what it changed) over sterile bullet dumps.\r\n- Keep each template quick to complete (aim: under 60 seconds to fill in).\r\n- Ensure cultural adaptability (teams can adjust tone) without losing the backbone.\r\n- Avoid tables and formatting that breaks when pasted into different tools.\r\n\r\n## PROCESS\r\n1. **Pre-analysis (state your understanding first):** Summarize what you believe the organization is struggling with, what success looks like, and any assumptions you\u2019re making based on the inputs.\r\n2. **Diagnosis:** Briefly describe the current recognition failure modes implied by the inputs (e.g., inauthenticity, inconsistency, silos).\r\n3. **Research anchors:** List the key engagement principles (Gallup-aligned) that will shape the templates (belonging, visibility, strengths, immediacy, specificity, peer legitimacy, etc.).\r\n4. **Template design:** Create multiple variations covering the required scenarios, each with clear fill-in areas and one rewritten example.\r\n5. **Deployment plan:** Explain how to introduce, normalize, and sustain use across teams (cadence, champions, leadership role, onboarding, reminders).\r\n6. **Adaptation guidance:** Show how to adjust voice and channel while keeping the same underlying structure.\r\n7. **Edge cases:** If any inputs are missing\/unclear, propose 2\u20134 sensible options and mark them as assumptions, then proceed.\r\n\r\n### What This Is NOT\r\n- Not a full engagement survey, compensation strategy, performance management overhaul, or disciplinary framework.\r\n- Not a \u201cculture transformation manifesto\u201d heavy on slogans and light on usage.\r\n- Not a rewards marketplace or incentive scheme.\r\n- Not a one-size-fits-all script that forces identical wording for every team.\r\n\r\n## INPUTS\r\n- **Primary user segment (who this is for):** [TARGET_AUDIENCE]\r\n- **Organization communication style (tone norms, formality, typical phrasing):** [BRAND_VOICE]\r\n- **How teams are arranged (functions, pods, regions, reporting lines):** [CONTEXT]\r\n- **What you want recognized (behaviors, wins, ways of working):** [CHALLENGE]\r\n- **Company values to reinforce:** [KEYWORDS]\r\n- **What\u2019s failing today (where prior attempts broke down):** [PRIMARY_GOAL]\r\n- **Main channels used (e.g., Slack, Teams, email, all-hands):** [PLATFORM]\r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver in the following order, using headers and bullets, and keeping everything copy-paste friendly:\r\n\r\n1. **Pre-analysis summary**\r\n   - {Culture Snapshot}\r\n   - {Success Definition}\r\n   - {Assumptions \/ Open Questions}\r\n\r\n2. **Current-state assessment**\r\n   - {Observed Pain Points}\r\n   - {Why Prior Efforts Likely Didn\u2019t Stick}\r\n\r\n3. **Guiding principles (Gallup-aligned)**\r\n   - {Principle List}\r\n   - {How Each Principle Shows Up In The Templates}\r\n\r\n4. **Peer recognition templates (include all scenario types below)**\r\n   For **each** template, provide:\r\n   - **Template title + best use**\r\n     - {Template Name}\r\n     - {Use Case}\r\n     - {Best Channels}\r\n   - **Copy-paste template (fill-in areas must be in [BRACKETS])**\r\n     - Opening appreciation starter (required)\r\n     - Specific moment\/behavior section (required)\r\n     - Link to values\/goals section (required)\r\n     - Personal impact line (optional)\r\n     - Invite\/close (optional)\r\n   - **Completed example (rewrite fully; do not reuse template phrasing verbatim)**\r\n     - {Example Message}\r\n   - **Micro-notes (1\u20133 bullets)**\r\n     - {Implementation Notes}\r\n\r\n   You must include at least these template groups:\r\n   - **Quick, everyday recognition** (chat-friendly)\r\n   - **Milestone \/ delivery \/ project moment**\r\n   - **Values-based recognition** (explicitly ties to [KEYWORDS])\r\n   - **Cross-team \/ cross-department appreciation** (breaks silos)\r\n   - **Team-wide celebration variant** (scales beyond 1:1)\r\n\r\n5. **Rollout & operating rhythm**\r\n   - {Launch Steps} (lightweight intro plan)\r\n   - {Department Scaling Approach}\r\n   - {Manager Role Without Making It Top-Down}\r\n   - {Consistency Mechanisms} (non-gamified prompts, rituals, reminders)\r\n\r\n6. **Adaptation playbook**\r\n   - {Tone Switches} (how to adjust for formal vs casual teams using [BRAND_VOICE])\r\n   - {Channel Conversions} (chat \u2194 email \u2194 in-person)\r\n   - {Cultural Considerations} (how to avoid awkwardness or hierarchy friction)\r\n\r\n## QUALITY CHECKS\r\nAt the end, include a short validation list confirming:\r\n- Templates avoid corporate clich\u00e9s and feel like something a real colleague would say.\r\n- Each template prompts specificity (observable behavior + outcome), not generic praise.\r\n- Every template includes a values\/goals link without sounding preachy.\r\n- No gamification, scoring, or manipulative mechanics appear anywhere.\r\n- Templates are brief, channel-flexible, and usable across the team structures described in [CONTEXT].";
    const variables = ["[TARGET_AUDIENCE]","[BRAND_VOICE]","[CONTEXT]","[CHALLENGE]","[KEYWORDS]","[PRIMARY_GOAL]","[PLATFORM]","[BRACKETS]"];
    // 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 one real shipment, not an “average” one.</strong> Paste in a specific lane (origin, destination, ports), the product description, shipment value, and who your parties are (supplier, importer of record, broker). If you’re unsure, say so. The prompt is designed to pause and ask targeted questions before building the full SOP.</li>


<li><strong>State the Incoterms® 2020 term and what you think it means.</strong> Many delays start when the team assumes “EXW means the supplier handles export docs” (often false in practice). Add a line like: “We use FOB Shanghai; we believe supplier provides export clearance and documents, broker handles entry.” Then ask: “Correct any responsibility mismatches and show the handoff points.”</li>


<li><strong>Feed it your current documents (even if messy).</strong> If you can, paste the fields you already collect on commercial invoices, packing lists, and broker instructions. Then follow with: “Flag missing or risky fields and rewrite the minimum-viable templates we should require from suppliers.” You will get more actionable verification steps.</li>


<li><strong>Iterate on stage count and risk tolerance.</strong> After the first output, try asking: “Now reduce this to the smallest workable SOP for low-risk repeat SKUs,” or “Make it stricter for high-value shipments and include extra verification before vessel departure.” You’ll see how controls shift earlier in the timeline.</li>


<li><strong>Turn the stages into operational artifacts.</strong> Ask for formatting that matches your tools: “Convert the stages into an Asana checklist with owners and due dates,” or “Rewrite as a one-page SOP plus a separate broker handoff checklist.” Honestly, formatting is where these strategies become usable.</li>

</ul>

</div>

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

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



<p>Once you’ve documented your import compliance SOP, these prompts help you operationalize the downstream revenue motions that depend on reliable delivery timing and clean order data.</p>



<p>If you also need a structured way to increase AOV after the order lands, <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> pairs well with compliance work. When import delays drop, you can plan upsell timing around predictable fulfillment windows instead of guessing.</p>



<p>For teams doing retention work, <a href="https://flowpast.com/prompts/build-a-post-purchase-follow-up-system-with-this-ai-prompt/">Build a Post-Purchase Follow-Up System with this AI Prompt</a> is useful right after you stabilize delivery performance. If customs holds are causing late arrivals, your follow-up messaging often needs contingency logic; once the SOP reduces variance, the follow-up system can be simpler and more effective.</p>



<p>When you want to translate product availability into smarter bundles, <a href="https://flowpast.com/prompts/ai-prompt-to-find-cross-sell-bundles-from-basket-data/">AI Prompt to Find Cross-Sell Bundles From Basket Data</a> helps you decide what to pair together based on real carts. It’s especially handy if your new import SOP is enabling you to broaden your SKU assortment and you want bundle logic grounded in data, not opinions.</p>


<br>


<p>Quick reference:</p>



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

<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>: Upsell system by offer tier and timing.</li>


<li><a href="https://flowpast.com/prompts/build-a-post-purchase-follow-up-system-with-this-ai-prompt/">Build a Post-Purchase Follow-Up System with this AI Prompt</a>: Follow-ups that reduce churn and refunds.</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>: Cross-sell actions mapped to customer segments.</li>


<li><a href="https://flowpast.com/prompts/build-a-post-purchase-thank-you-flow-with-this-ai-prompt/">Build a Post-Purchase Thank-You Flow with this AI Prompt</a>: Thank-you flow to boost second purchase rate.</li>

<li><a href="https://flowpast.com/prompts/ai-prompt-to-find-cross-sell-bundles-from-basket-data/">AI Prompt to Find Cross-Sell Bundles From Basket Data</a>: Bundle ideas based on basket patterns.</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 import compliance SOP AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Global Trade Compliance Managers</strong> use this to standardize controls around HS classification, document integrity, and escalation, so the process survives audits and staff turnover. <strong>Supply Chain / Logistics Managers</strong> apply it to define handoffs and timing gates with carriers and brokers, which reduces “surprise” holds at the worst possible moment. <strong>Operations Managers</strong> like it because every stage has an owner, a checklist, and a verification step, making it easy to build into tickets or a shipment launch checklist. <strong>Importers of Record at growing brands</strong> rely on it when they’re expanding SKU count and need clear responsibility assignments under Incoterms® 2020.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this import compliance SOP AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>E-commerce brands importing consumer goods</strong> get value because frequent SKUs, seasonal demand, and supplier variability make document consistency hard; the staged SOP reduces repeat delays. <strong>SaaS + hardware companies</strong> benefit when shipments include accessories, replacement parts, or bundled kits where HS classification and valuation details can become inconsistent across vendors. <strong>Industrial and manufacturing importers</strong> use it to control complex bills of materials, country-of-origin claims, and broker instructions across multiple facilities. <strong>Food, cosmetics, or regulated products teams</strong> find it helpful because PGA/OGA touchpoints and extra documents need to be planned early, not discovered at the port.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for building an import compliance SOP produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me an import SOP for my business” fails because it: lacks your actual shipment path details (ports, parties, jurisdictions), provides no stage structure with owners/timing/verification, ignores Incoterms® 2020 responsibility allocation (so document ownership stays vague), produces generic checklists instead of control points tied to real handoffs, and treats HS classification like a one-time label rather than a validation and escalation control. This prompt forces a pre-analysis, dynamically sizes the SOP (3–15 stages), and bakes classification risk into the workflow.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this import compliance SOP prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes. The fastest way is to provide your lane (origin country, destination country, any transit points), product details, shipment frequency/value, and your chosen Incoterms® 2020 term so the prompt can assign document ownership correctly. If you’re unsure about HS codes or origin claims, say that explicitly and ask the prompt to add stronger validation steps and a “stop-the-line” escalation. A good follow-up is: “Rewrite the SOP assuming we switch from FOB to DDP; show which documents and timing gates change, and what new risks that introduces.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this import compliance SOP prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is describing the product too vaguely — instead of “electronics,” use “Bluetooth-enabled consumer audio device with lithium battery; sold as single unit with charging cable.” Another common error is leaving the Incoterms term implied; “supplier ships to us” is weak, while “FOB Ningbo, buyer arranges main carriage and insurance” is usable. Teams also forget to list all parties (importer of record, broker, freight forwarder, supplier), which makes accountability fuzzy; name them and state who can sign what. Finally, people skip their real pain point; “avoid delays” is generic, but “held twice for missing COO and inconsistent invoice values” lets the SOP add targeted verification steps.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this import compliance SOP prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for teams looking for legal advice, a guaranteed clearance outcome, or instructions that cross compliance boundaries. It also may be overkill for a one-time, low-value shipment where you won’t implement a staged process or iterate with your broker. If you have zero baseline shipment info (no lane, no product details, no parties), gather that first, then run the prompt; you will get a much sharper SOP.</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 import compliance SOP AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Global Trade Compliance Managers use this to standardize controls around HS classification, document integrity, and escalation, so the process survives audits and staff turnover. Supply Chain / Logistics Managers apply it to define handoffs and timing gates with carriers and brokers, which reduces “surprise” holds at the worst possible moment. Operations Managers like it because every stage has an owner, a checklist, and a verification step, making it easy to build into tickets or a shipment launch checklist. Importers of Record at growing brands rely on it when they’re expanding SKU count and need clear responsibility assignments under Incoterms® 2020."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this import compliance SOP AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce brands importing consumer goods get value because frequent SKUs, seasonal demand, and supplier variability make document consistency hard; the staged SOP reduces repeat delays. SaaS + hardware companies benefit when shipments include accessories, replacement parts, or bundled kits where HS classification and valuation details can become inconsistent across vendors. Industrial and manufacturing importers use it to control complex bills of materials, country-of-origin claims, and broker instructions across multiple facilities. Food, cosmetics, or regulated products teams find it helpful because PGA/OGA touchpoints and extra documents need to be planned early, not discovered at the port."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building an import compliance SOP produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me an import SOP for my business” fails because it: lacks your actual shipment path details (ports, parties, jurisdictions), provides no stage structure with owners/timing/verification, ignores Incoterms® 2020 responsibility allocation (so document ownership stays vague), produces generic checklists instead of control points tied to real handoffs, and treats HS classification like a one-time label rather than a validation and escalation control. This prompt forces a pre-analysis, dynamically sizes the SOP (3–15 stages), and bakes classification risk into the workflow."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this import compliance SOP prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The fastest way is to provide your lane (origin country, destination country, any transit points), product details, shipment frequency/value, and your chosen Incoterms® 2020 term so the prompt can assign document ownership correctly. If you’re unsure about HS codes or origin claims, say that explicitly and ask the prompt to add stronger validation steps and a “stop-the-line” escalation. A good follow-up is: “Rewrite the SOP assuming we switch from FOB to DDP; show which documents and timing gates change, and what new risks that introduces.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this import compliance SOP prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is describing the product too vaguely — instead of “electronics,” use “Bluetooth-enabled consumer audio device with lithium battery; sold as single unit with charging cable.” Another common error is leaving the Incoterms term implied; “supplier ships to us” is weak, while “FOB Ningbo, buyer arranges main carriage and insurance” is usable. Teams also forget to list all parties (importer of record, broker, freight forwarder, supplier), which makes accountability fuzzy; name them and state who can sign what. Finally, people skip their real pain point; “avoid delays” is generic, but “held twice for missing COO and inconsistent invoice values” lets the SOP add targeted verification steps."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this import compliance SOP prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams looking for legal advice, a guaranteed clearance outcome, or instructions that cross compliance boundaries. It also may be overkill for a one-time, low-value shipment where you won’t implement a staged process or iterate with your broker. If you have zero baseline shipment info (no lane, no product details, no parties), gather that first, then run the prompt; you will get a much sharper SOP."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Clearance delays usually come from preventable ambiguity: who owns which document, when it’s verified, and what happens when HS classification is uncertain. Put this prompt into your workflow, generate the SOP, and use it to run your next shipment with fewer surprises.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002886.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Write Buyer-First Supplier Follow-Ups AI Prompt</title>
		<link>https://flowpast.com/prompts/write-buyer-first-supplier-follow-ups-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:47:16 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002885</guid>

					<description><![CDATA[Vendors keep getting ignored - a proven AI Prompt that drafts SPIN plus Challenger supplier follow-ups with clear next steps. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: supplier follow-ups prompt -->

<div class="hook-introduction">

<p>Your supplier follow-ups are getting ignored for a reason. Most messages are written for the vendor’s timeline, not the buyer’s decision process. They sound like “just checking in,” and busy procurement teams tune them out fast.</p>



<p>This <strong>supplier follow-ups prompt</strong> is built for <strong>account executives</strong> trying to re-open a stalled evaluation without sounding needy, <strong>procurement-facing sales teams</strong> who need to align multiple stakeholders inside the customer account, and <strong>consultants</strong> supporting B2B partnerships where one unclear next step can drag on for weeks. The output is a buyer-first follow-up package: a core email plus angle variants, an escalation option for non-response, and a mobile-short version, all anchored in SPIN and a Challenger-style “teach” insight.</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 deal context and likely blocker in a short pre-analysis so the follow-up does not feel random.</li>
          <li>It maps the deal (stage, urgency, relationship depth, and buyer communication style) to match tone and ask.</li>
          <li>It generates SPIN questions that fit the stage, including implication and need-payoff prompts that invite a decision.</li>
          <li>It adds a Challenger “teach/reframe” insight that frames risk, cost of delay, or missed upside without lecturing.</li>
          <li>It builds a controlled close with one primary CTA that includes a timeframe, plus an easy alternative to reduce friction.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You had a solid discovery call, but the buyer went quiet after you sent pricing or a proposal.</li>
          <li>Legal, security, or finance is delaying approval, and your champion can’t get a clean internal answer.</li>
          <li>The buyer says “we’re still evaluating,” yet you suspect you’re being compared to a cheaper or incumbent option.</li>
          <li>A stakeholder asked for “one more thing” (case study, scope tweak, revised terms) and then disappeared.</li>
          <li>You need to re-engage without pressure because the account matters and the relationship is long-term.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>One buyer-first follow-up email draft that includes a context anchor, teach moment, SPIN questions, and a single CTA.</li>
           <li>At least 3 variants (alternate angle, non-response escalation, and a mobile-short version) so you can adapt quickly.</li>
           <li>A set of stage-appropriate SPIN questions you can reuse on calls or in future emails.</li>
           <li>A clear next-step ask with a specific timeframe and an “easy out” alternative (for example, a quick redirect to the right owner).</li>
           <li>A brief pre-analysis summary that helps your team align on what’s pending and what you’re actually asking the buyer to do.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Buyer-First Supplier Follow-Up Sequence 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 overview of the organization&#039;s current situation, including its size, structure, and any relevant challenges or opportunities.                                    <div class="var-example">For example: "A mid-sized tech company with 500 employees experiencing rapid growth but facing high turnover in engineering teams."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry the organization operates in to ensure the dashboard aligns with relevant standards and benchmarks.                                    <div class="var-example">For example: "Healthcare technology focused on providing SaaS solutions for hospitals and clinics."</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>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the primary audience for the dashboard, including their roles, decision-making needs, and level of familiarity with analytics.                                    <div class="var-example">For example: "Senior executives and department heads who need quick insights into employee engagement and its impact on business performance."</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>[PRIMARY_GOAL]</code></td>
                                <td class="var-desc">
                                    Define the main objective the dashboard should achieve, focusing on outcomes and decision-making support.                                    <div class="var-example">For example: "Identify engagement risks that impact productivity and retention, and recommend actionable interventions tied to business KPIs."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Explain the most pressing problem or obstacle the dashboard needs to address based on the organization&#039;s context.                                    <div class="var-example">For example: "Low survey participation rates and inconsistent data across regions make it difficult to identify reliable engagement trends."</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>[PLATFORM]</code></td>
                                <td class="var-desc">
                                    Indicate the platform or tool where the dashboard will be built or displayed, if applicable.                                    <div class="var-example">For example: "Microsoft Power BI for internal analytics and mobile-friendly dashboards."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[PLATFORM]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TONE]</code></td>
                                <td class="var-desc">
                                    Specify the tone or style of communication the dashboard content should reflect, tailored to the audience.                                    <div class="var-example">For example: "Professional and concise, emphasizing clarity and actionability over technical jargon."</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">
                                    Describe the preferred format for the dashboard deliverable, including layout and visual elements.                                    <div class="var-example">For example: "A tiered dashboard with heatmaps, trend graphs, and drill-down capabilities for team-level insights."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[FORMAT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

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

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="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">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 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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Executive One-Page (mobile-first)</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) Detailed Analytics Views (organized by CIPD categories)</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">3) Trend &amp; Trajectory Suite</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">4) Risk Heat Map (intervention targeting)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">5) Qualitative Theme Engine (open-text)</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) Action Planning Matrix</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">7) Technical Build Notes</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div 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 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 employee engagement survey inputs into a board-ready dashboard blueprint that exposes urgent people risks, ties them to business performance, and drives clear next actions—without relying on feel-good/vanity metrics.

## PERSONA  
You are an engagement intelligence designer with a management consulting background and formal training in behavioral economics. You specialize in detecting early organizational risk signals in sentiment data and translating them into executive decisions, using evidence-based people analytics and business KPI linkage.

## CONSTRAINTS  
- Build for senior leaders with minimal time: the most critical signals must be understood in under ~35 seconds on mobile.  
- Favor leading indicators (future performance/risk) over lagging “status” measures.  
- Every chart must answer two questions: **“Why it matters”** (business impact) and **“What to do next”** (intervention).  
- Use the CIPD logic to connect people measures to business outcomes.  
- Include both quantitative scores and qualitative themes (open text), and clearly separate signal from noise (e.g., statistical significance, effect size, confidence).  
- Provide drill-down from enterprise → function/region → team where possible.  
- If inputs are missing/unclear, propose assumptions and a minimum viable data plan rather than stalling.

## PROCESS  
1. **Pre-Analysis (state your understanding first):** Briefly restate the organization context, audience, and the decision the dashboard must enable.  
2. **Data audit:** Evaluate completeness, consistency, sampling/response bias, question stability over time, segment coverage, and text response volume. Flag risks and how you’ll mitigate them.  
3. **Signal discovery:** Identify likely leading indicators (e.g., intent to stay, manager effectiveness, workload sustainability, trust) and where to look for hidden fractures (segment splits, dispersion, sudden drops, hotspots).  
4. **Business linkage using CIPD:** Map engagement drivers → capability/behavior → operational outcomes → business KPIs. Specify which KPIs to connect and the expected directionality.  
5. **Dashboard architecture (3-tier story):**  
   - **Tier A: Now** (immediate condition &amp; participation integrity)  
   - **Tier B: Movement** (trend, trajectory, retention/absence patterns where available)  
   - **Tier C: Next** (predictive risk and opportunity zones; threshold alerts)  
6. **Visualization design:** Choose chart types that reveal patterns not visible in tables (e.g., heatmaps, distribution plots, cohort trends). Include benchmarks but privilege internal change.  
7. **Action design:** For each insight, define owner, intervention options, effort level, and expected business effect.  
8. **Edge cases:** If no historical data exists, propose a baseline plan. If no KPI data exists, define proxy metrics and a linking roadmap. If text data is sparse, adjust theme confidence and recommend collection fixes.

### What This Is NOT  
- Not a generic HR dashboard full of averages.  
- Not a full statistical research paper or a promise of causality without evidence.  
- Not an implementation in a specific BI tool (unless the user provides tool constraints).  
- Not a culture “diagnosis” without pointing to measurable, actionable levers.

## INPUTS  
- **Engagement data source / raw results or schema:** [CONTEXT]  
- **Company size, industry, current situation:** [INDUSTRY]  
- **Ideal recipient group (who will use the dashboard):** [TARGET_AUDIENCE]  
- **Top business outcomes to tie to engagement (list 3):** [PRIMARY_GOAL]  
- **Known limitations (missing segments, low response, inconsistent questions, etc.):** [CHALLENGE]  
- **Preferred channel/tool constraints (optional):** [PLATFORM]  
- **Tone preference for executive narrative (optional):** [TONE]  
- **Any formatting/length requirements (optional):** [FORMAT]  

## OUTPUT SPECIFICATION  
Deliver a structured dashboard blueprint containing the following sections:

### 1) Executive One-Page (mobile-first)  
- {Crisis Indicators Panel}: 3–6 leading metrics with thresholds and “red/amber/green” rules  
- {Root Cause Snapshot}: top drivers with strongest relationship to risk outcomes  
- {Immediate Actions}: 3–5 interventions with owners and expected business effect  
- {Confidence Notes}: what is statistically solid vs. directional

### 2) Detailed Analytics Views (organized by CIPD categories)  
For each CIPD category, include:  
- {Key Metrics} (definitions, calculation notes, segment cuts)  
- {Primary Visualization} (chart type + purpose)  
- {So What} (business linkage to {Business KPI})  
- {Now What} (recommended actions, owners, timeline)

### 3) Trend &amp; Trajectory Suite  
- {Engagement Trajectory View}: time-series with change points  
- {Retention/Risk Proxy Trend}: intent-to-stay (or proxy) over time by segment  
- {Dispersion View}: distribution/spread (not just averages) to expose polarization

### 4) Risk Heat Map (intervention targeting)  
- {Heatmap Design}: segment rows/columns (e.g., department x location)  
- {Risk Score Formula}: weighted leading indicators + confidence adjustment  
- {Threshold Alerts}: explicit trigger points where risk likely hits business outcomes

### 5) Qualitative Theme Engine (open-text)  
- {Theme Taxonomy}: 6–12 themes aligned to drivers (e.g., workload, manager, growth)  
- {Theme Prevalence + Sentiment}: counts, direction, representative paraphrases  
- {Theme-to-Metric Bridge}: how themes explain quantitative shifts  
- {Confidence Rating}: based on sample size and consistency

### 6) Action Planning Matrix  
A table with:  
- {Insight} → {Likely Cause} → {Intervention Options} → {Owner} → {Effort Level} → {Expected Business Impact} → {Success Metrics} → {Timeframe}

### 7) Technical Build Notes  
- {Data Model}: required fields, grain (employee/team/time), join keys  
- {Refresh Cadence}: recommended update frequency by metric type  
- {Governance}: access control, anonymity thresholds, suppression rules  
- {Maintenance}: monitoring for survey instrument changes, segment drift, and KPI definition changes

## QUALITY CHECKS  
Before finalizing, verify:  
- Every visualization includes an explicit {So What} and {Now What}.  
- At least half of highlighted metrics are leading indicators tied to future outcomes.  
- Segment-level variation and dispersion are visible (not only organization averages).  
- Statistical confidence is communicated (and low-confidence areas are labeled).  
- The executive one-page can be understood in ~35 seconds on a phone screen.            </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 employee engagement survey inputs into a board-ready dashboard blueprint that exposes urgent people risks, ties them to business performance, and drives clear next actions\u2014without relying on feel-good\/vanity metrics.\r\n\r\n## PERSONA  \r\nYou are an engagement intelligence designer with a management consulting background and formal training in behavioral economics. You specialize in detecting early organizational risk signals in sentiment data and translating them into executive decisions, using evidence-based people analytics and business KPI linkage.\r\n\r\n## CONSTRAINTS  \r\n- Build for senior leaders with minimal time: the most critical signals must be understood in under ~35 seconds on mobile.  \r\n- Favor leading indicators (future performance\/risk) over lagging \u201cstatus\u201d measures.  \r\n- Every chart must answer two questions: **\u201cWhy it matters\u201d** (business impact) and **\u201cWhat to do next\u201d** (intervention).  \r\n- Use the CIPD logic to connect people measures to business outcomes.  \r\n- Include both quantitative scores and qualitative themes (open text), and clearly separate signal from noise (e.g., statistical significance, effect size, confidence).  \r\n- Provide drill-down from enterprise \u2192 function\/region \u2192 team where possible.  \r\n- If inputs are missing\/unclear, propose assumptions and a minimum viable data plan rather than stalling.\r\n\r\n## PROCESS  \r\n1. **Pre-Analysis (state your understanding first):** Briefly restate the organization context, audience, and the decision the dashboard must enable.  \r\n2. **Data audit:** Evaluate completeness, consistency, sampling\/response bias, question stability over time, segment coverage, and text response volume. Flag risks and how you\u2019ll mitigate them.  \r\n3. **Signal discovery:** Identify likely leading indicators (e.g., intent to stay, manager effectiveness, workload sustainability, trust) and where to look for hidden fractures (segment splits, dispersion, sudden drops, hotspots).  \r\n4. **Business linkage using CIPD:** Map engagement drivers \u2192 capability\/behavior \u2192 operational outcomes \u2192 business KPIs. Specify which KPIs to connect and the expected directionality.  \r\n5. **Dashboard architecture (3-tier story):**  \r\n   - **Tier A: Now** (immediate condition & participation integrity)  \r\n   - **Tier B: Movement** (trend, trajectory, retention\/absence patterns where available)  \r\n   - **Tier C: Next** (predictive risk and opportunity zones; threshold alerts)  \r\n6. **Visualization design:** Choose chart types that reveal patterns not visible in tables (e.g., heatmaps, distribution plots, cohort trends). Include benchmarks but privilege internal change.  \r\n7. **Action design:** For each insight, define owner, intervention options, effort level, and expected business effect.  \r\n8. **Edge cases:** If no historical data exists, propose a baseline plan. If no KPI data exists, define proxy metrics and a linking roadmap. If text data is sparse, adjust theme confidence and recommend collection fixes.\r\n\r\n### What This Is NOT  \r\n- Not a generic HR dashboard full of averages.  \r\n- Not a full statistical research paper or a promise of causality without evidence.  \r\n- Not an implementation in a specific BI tool (unless the user provides tool constraints).  \r\n- Not a culture \u201cdiagnosis\u201d without pointing to measurable, actionable levers.\r\n\r\n## INPUTS  \r\n- **Engagement data source \/ raw results or schema:** [CONTEXT]  \r\n- **Company size, industry, current situation:** [INDUSTRY]  \r\n- **Ideal recipient group (who will use the dashboard):** [TARGET_AUDIENCE]  \r\n- **Top business outcomes to tie to engagement (list 3):** [PRIMARY_GOAL]  \r\n- **Known limitations (missing segments, low response, inconsistent questions, etc.):** [CHALLENGE]  \r\n- **Preferred channel\/tool constraints (optional):** [PLATFORM]  \r\n- **Tone preference for executive narrative (optional):** [TONE]  \r\n- **Any formatting\/length requirements (optional):** [FORMAT]  \r\n\r\n## OUTPUT SPECIFICATION  \r\nDeliver a structured dashboard blueprint containing the following sections:\r\n\r\n### 1) Executive One-Page (mobile-first)  \r\n- {Crisis Indicators Panel}: 3\u20136 leading metrics with thresholds and \u201cred\/amber\/green\u201d rules  \r\n- {Root Cause Snapshot}: top drivers with strongest relationship to risk outcomes  \r\n- {Immediate Actions}: 3\u20135 interventions with owners and expected business effect  \r\n- {Confidence Notes}: what is statistically solid vs. directional\r\n\r\n### 2) Detailed Analytics Views (organized by CIPD categories)  \r\nFor each CIPD category, include:  \r\n- {Key Metrics} (definitions, calculation notes, segment cuts)  \r\n- {Primary Visualization} (chart type + purpose)  \r\n- {So What} (business linkage to {Business KPI})  \r\n- {Now What} (recommended actions, owners, timeline)\r\n\r\n### 3) Trend & Trajectory Suite  \r\n- {Engagement Trajectory View}: time-series with change points  \r\n- {Retention\/Risk Proxy Trend}: intent-to-stay (or proxy) over time by segment  \r\n- {Dispersion View}: distribution\/spread (not just averages) to expose polarization\r\n\r\n### 4) Risk Heat Map (intervention targeting)  \r\n- {Heatmap Design}: segment rows\/columns (e.g., department x location)  \r\n- {Risk Score Formula}: weighted leading indicators + confidence adjustment  \r\n- {Threshold Alerts}: explicit trigger points where risk likely hits business outcomes\r\n\r\n### 5) Qualitative Theme Engine (open-text)  \r\n- {Theme Taxonomy}: 6\u201312 themes aligned to drivers (e.g., workload, manager, growth)  \r\n- {Theme Prevalence + Sentiment}: counts, direction, representative paraphrases  \r\n- {Theme-to-Metric Bridge}: how themes explain quantitative shifts  \r\n- {Confidence Rating}: based on sample size and consistency\r\n\r\n### 6) Action Planning Matrix  \r\nA table with:  \r\n- {Insight} \u2192 {Likely Cause} \u2192 {Intervention Options} \u2192 {Owner} \u2192 {Effort Level} \u2192 {Expected Business Impact} \u2192 {Success Metrics} \u2192 {Timeframe}\r\n\r\n### 7) Technical Build Notes  \r\n- {Data Model}: required fields, grain (employee\/team\/time), join keys  \r\n- {Refresh Cadence}: recommended update frequency by metric type  \r\n- {Governance}: access control, anonymity thresholds, suppression rules  \r\n- {Maintenance}: monitoring for survey instrument changes, segment drift, and KPI definition changes\r\n\r\n## QUALITY CHECKS  \r\nBefore finalizing, verify:  \r\n- Every visualization includes an explicit {So What} and {Now What}.  \r\n- At least half of highlighted metrics are leading indicators tied to future outcomes.  \r\n- Segment-level variation and dispersion are visible (not only organization averages).  \r\n- Statistical confidence is communicated (and low-confidence areas are labeled).  \r\n- The executive one-page can be understood in ~35 seconds on a phone screen.";
    const variables = ["[CONTEXT]","[INDUSTRY]","[TARGET_AUDIENCE]","[PRIMARY_GOAL]","[CHALLENGE]","[PLATFORM]","[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>Feed it the last touchpoint, verbatim.</strong> Paste the last email you sent and the last line you received (even if it’s short). If you only summarize, the AI may invent context anchors that sound plausible but don’t match the thread. After you paste it, add one line: “Pending: security review” or “Pending: final stakeholder meeting.”</li>


<li><strong>Tell it what decision is actually stuck.</strong> “Waiting to hear back” is not a decision. Give it a real fork in the road, like: “They need to choose between annual vs multi-year,” or “They need internal approval to run a pilot in Q2.” Follow-up prompt you can use: “Rewrite the CTA so it asks for a decision on the pilot start date, not a meeting.”</li>

<li><strong>Choose a teach moment that’s about their risk, not your product.</strong> Frankly, most “insights” vendors share are just product marketing in disguise. Point the reframe at procurement reality: missed savings from delay, stakeholder misalignment, incomplete requirements, or a hidden cost center. Then ask the AI: “Give me two teach moments: one on cost of delay, one on process risk.”</li>


<li><strong>Iterate by tightening the SPIN questions.</strong> After the first output, pick one SPIN question that feels too broad and ask for a sharper version. Try: “Make the Problem question more specific to their current workflow, and make the Implication question quantify time or risk.” Small changes here can lift reply rates because the buyer can answer quickly.</li>


<li><strong>Build a mini-sequence, not a one-off.</strong> This prompt is strongest when you plan 5–9 follow-up stages based on urgency and deal complexity. Ask for a cadence and angle shifts: “Create a 6-touch sequence over 14 days, where touch 3 is mobile-short and touch 5 is a polite escalation to confirm close-lost or next step.” You’ll stop rewriting from scratch every time.</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 follow-ups are getting replies again, these prompts help you support the internal buyer journey that usually sits behind the silence.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you also need to prove you can execute after the deal closes, an onboarding measurement view helps a lot. When implementation risk is a blocker, the <a href="https://flowpast.com/prompts/build-an-onboarding-metrics-dashboard-ai-prompt/">Build an Onboarding Metrics Dashboard AI Prompt</a> can help you show exactly how you will track adoption, milestones, and value realization.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For teams doing hiring-heavy rollouts where change management matters, positioning your employer brand and internal narrative can reduce pushback. When the buyer’s concern is “will this stick,” pair your follow-up with the <a href="https://flowpast.com/prompts/build-an-employer-brand-roadmap-with-this-ai-prompt/">Build an Employer Brand Roadmap with this AI Prompt</a> to create a clearer story your champion can repeat internally.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When the stakeholder set includes HR or talent leadership, you sometimes need a broader plan before they’ll commit to a vendor decision. In that case, the <a href="https://flowpast.com/prompts/build-a-social-recruiting-transformation-plan-ai-prompt/">Build a Social Recruiting Transformation Plan AI Prompt</a> gives structure that can turn “we’re thinking about it” into a defined initiative with dates and owners.</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-an-onboarding-metrics-dashboard-ai-prompt/">Build an Onboarding Metrics Dashboard AI Prompt</a>: Measure onboarding outcomes and adoption milestones.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-an-employer-brand-roadmap-with-this-ai-prompt/">Build an Employer Brand Roadmap with this AI Prompt</a>: Clarify positioning, narrative, and execution steps.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-social-recruiting-transformation-plan-ai-prompt/">Build a Social Recruiting Transformation Plan AI Prompt</a>: Turn a vague initiative into a plan.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-campus-recruiting-playbook-with-this-ai-prompt/">Build a Campus Recruiting Playbook with this AI Prompt</a>: Create a structured playbook for stakeholders.</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><a href="https://flowpast.com/prompts/build-a-70-20-10-employee-growth-roadmap-ai-prompt/">Build a 70 20 10 Employee Growth Roadmap AI Prompt</a>: Plan enablement and capability development over time.</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 supplier follow-ups prompt AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Enterprise Account Executives</strong> use this to restart momentum after a proposal goes quiet while keeping the message buyer-centric and specific. <strong>Sales Development Leaders</strong> apply it to create follow-up variants their team can personalize without defaulting to “checking in” language. <strong>Partnership Managers</strong> lean on it when a joint initiative is stuck in internal alignment and they need a respectful, controlled next step. <strong>Revenue Operations Managers</strong> value it because the prompt’s structure (context anchor, SPIN questions, CTA) is consistent enough to turn into a repeatable standard.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Which industries get the most value from this supplier follow-ups prompt AI prompt?</span>
<!-- wp:paragraph -->
<p class="answer"><strong>Manufacturing and distribution</strong> teams use it when supplier evaluations get bogged down in risk reviews, lead times, and switching costs, and they need a follow-up that speaks to continuity and downtime avoidance. <strong>SaaS and IT services</strong> teams benefit when security, procurement, and finance all have veto power; the prompt helps ask stage-appropriate SPIN questions without sounding impatient. <strong>Professional services firms</strong> use it to reframe value around outcomes and delivery risk, especially when the buyer is comparing multiple providers. <strong>Healthcare and regulated industries</strong> get value because the tone is executive and calm, which works better when compliance and internal approvals slow everything down.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for supplier follow-up emails produce weak results?</span>
<!-- wp:paragraph -->
<p class="answer">A typical prompt like “Write me a follow-up email to a supplier prospect” fails because it: lacks a context anchor tied to the last touchpoint, so the message feels generic; provides no SPIN structure, so it asks questions that are easy to ignore; ignores buyer friction like risk, internal alignment, and decision ownership; produces polite nudges instead of a commercially sharp next step; and misses a Challenger-style teach moment that gives the buyer a reason to respond now rather than later.</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Can I customize this supplier follow-ups prompt for my specific situation?</span>
<!-- wp:paragraph -->
<p class="answer">Yes, but you will customize it by adding context before you run it, since the prompt itself has no built-in variables. Include the last touchpoint date, what’s pending (for example, “MSA redlines” or “pilot scope confirmation”), the stakeholders involved, and the decision you want. Then ask for the follow-up package at the stage you’re in, such as early evaluation versus final approval. A useful follow-up request is: “Rewrite this for a CFO audience, keep it under 120 words, and make the primary CTA a yes/no decision with two date options.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">What are the most common mistakes when using this supplier follow-ups prompt?</span>
<!-- wp:paragraph -->
<p class="answer">The biggest mistake is leaving the scenario too vague; instead of “They went quiet after the call,” use “Last touchpoint: 2026-01-12 demo recap sent; pending: security questionnaire and data retention policy; blocker: InfoSec backlog.” Another common error is asking for “a follow-up” without naming the decision you need, so the CTA becomes a soft meeting request; give it a decision like “approve pilot start date” or “confirm close-lost.” People also paste no buyer constraints, which leads to seller-centric language; add real priorities like “risk reduction,” “time to value,” or “stakeholder alignment.” Finally, skipping the teach moment makes the email blend in; prompt it with a specific angle like “cost of delay” or “hidden process risk.”</p>
<!-- /wp:paragraph -->
</div>

<div class="faq-item">
<span class="question">Who should NOT use this supplier follow-ups prompt?</span>
<!-- wp:paragraph -->
<p class="answer">This prompt isn’t ideal for one-off transactional sales where a simple reminder and a payment link is the whole job, or for teams that cannot share any deal context at all (even sanitized). It’s also not a great fit if you need a fully automated mail-merge template with placeholders, because the prompt is designed for thoughtful, scenario-based drafting. If that’s you, consider building a lightweight template library and only using this prompt for high-value, complex deals that justify deeper messaging work.</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 supplier follow-ups prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Enterprise Account Executives use this to restart momentum after a proposal goes quiet while keeping the message buyer-centric and specific. Sales Development Leaders apply it to create follow-up variants their team can personalize without defaulting to “checking in” language. Partnership Managers lean on it when a joint initiative is stuck in internal alignment and they need a respectful, controlled next step. Revenue Operations Managers value it because the prompt’s structure (context anchor, SPIN questions, CTA) is consistent enough to turn into a repeatable standard."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this supplier follow-ups prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Manufacturing and distribution teams use it when supplier evaluations get bogged down in risk reviews, lead times, and switching costs, and they need a follow-up that speaks to continuity and downtime avoidance. SaaS and IT services teams benefit when security, procurement, and finance all have veto power; the prompt helps ask stage-appropriate SPIN questions without sounding impatient. Professional services firms use it to reframe value around outcomes and delivery risk, especially when the buyer is comparing multiple providers. Healthcare and regulated industries get value because the tone is executive and calm, which works better when compliance and internal approvals slow everything down."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for supplier follow-up emails produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a follow-up email to a supplier prospect” fails because it: lacks a context anchor tied to the last touchpoint, so the message feels generic; provides no SPIN structure, so it asks questions that are easy to ignore; ignores buyer friction like risk, internal alignment, and decision ownership; produces polite nudges instead of a commercially sharp next step; and misses a Challenger-style teach moment that gives the buyer a reason to respond now rather than later."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this supplier follow-ups prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but you will customize it by adding context before you run it, since the prompt itself has no built-in variables. Include the last touchpoint date, what’s pending (for example, “MSA redlines” or “pilot scope confirmation”), the stakeholders involved, and the decision you want. Then ask for the follow-up package at the stage you’re in, such as early evaluation versus final approval. A useful follow-up request is: “Rewrite this for a CFO audience, keep it under 120 words, and make the primary CTA a yes/no decision with two date options.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this supplier follow-ups prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving the scenario too vague; instead of “They went quiet after the call,” use “Last touchpoint: 2026-01-12 demo recap sent; pending: security questionnaire and data retention policy; blocker: InfoSec backlog.” Another common error is asking for “a follow-up” without naming the decision you need, so the CTA becomes a soft meeting request; give it a decision like “approve pilot start date” or “confirm close-lost.” People also paste no buyer constraints, which leads to seller-centric language; add real priorities like “risk reduction,” “time to value,” or “stakeholder alignment.” Finally, skipping the teach moment makes the email blend in; prompt it with a specific angle like “cost of delay” or “hidden process risk.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this supplier follow-ups prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off transactional sales where a simple reminder and a payment link is the whole job, or for teams that cannot share any deal context at all (even sanitized). It’s also not a great fit if you need a fully automated mail-merge template with placeholders, because the prompt is designed for thoughtful, scenario-based drafting. If that’s you, consider building a lightweight template library and only using this prompt for high-value, complex deals that justify deeper messaging work."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">
<!-- wp:paragraph -->
<p>Silence usually isn’t rejection. It’s friction, risk, or a missing decision. Paste the prompt into ChatGPT, give it your real deal context, and send follow-ups that buyers can actually respond to.</p>
<!-- /wp:paragraph -->
</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002885.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>Reduce Checkout Drop-Off Shipping Clarity AI Prompt</title>
		<link>https://flowpast.com/prompts/reduce-checkout-drop-off-shipping-clarity-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:41:49 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5002879</guid>

					<description><![CDATA[Checkout drop-offs spike when delivery feels unclear - a ready-to-use AI Prompt that builds staged shipping copy, matrices, FAQs, and tests. Access our full AI prompt library for every model.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: shipping clarity AI prompt -->
<div class="hook-introduction">

<p>Your checkout might be doing everything right, then losing the sale at the last moment. Not because of price. Because shipping feels vague. When delivery timing, costs, and “what happens next” aren’t crystal clear, shoppers hit the back button and tell themselves they’ll “decide later.”</p>



<p>This <strong>shipping clarity AI prompt</strong> is built for <strong>ecommerce managers</strong> cleaning up a messy shipping policy that customers don’t read, <strong>CRO specialists</strong> diagnosing checkout drop-off tied to delivery uncertainty, and <strong>brand operators</strong> who keep getting “When will it arrive?” tickets after every promotion. The output is a complete shipping communication package: staged checkout copy, a shipping matrix, targeted FAQs, and test ideas you can deploy without turning your site into a wall of text.</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 delivery promise and identifies the specific “unknowns” that trigger hesitation (timing, costs, tracking, exceptions, or regions).</li>
          <li>It converts raw shipping inputs into scan-friendly checkout and PDP microcopy that uses progressive disclosure instead of long policy blocks.</li>
          <li>It drafts a structured shipping matrix (by region, method, timeframe, and carrier) so customers can self-serve quickly.</li>
          <li>It creates an FAQ set aimed at uncertainty reducers, including edge cases like P.O. boxes, split shipments, and processing time if those apply.</li>
          <li>It proposes practical A/B test ideas for shipping clarity, focusing on placement, wording, and expectation-setting rather than “clever” persuasion.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You see high drop-off on the shipping step or payment step, and session replays show shoppers hunting for delivery info.</li>
          <li>Your support inbox is full of pre-purchase questions about arrival dates, carriers, or international duties.</li>
          <li>You’re launching a sale, a new shipping method, or a new region and need the promise to stay consistent everywhere.</li>
          <li>Reviews mention “shipping took longer than expected” even when you technically met the policy, which signals expectation mismatch.</li>
          <li>You’re scaling paid traffic and can’t afford friction; small trust leaks at checkout become expensive fast.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A staged set of shipping copy for key touchpoints (PDP snippet, cart, checkout, and post-purchase) with 2–3 variants each.</li>
           <li>A shipping matrix table draft covering regions, methods, delivery timeframes, and carriers in a clean, scannable layout.</li>
           <li>12–20 ready-to-publish shipping FAQs written in plain language, including “what happens after I order” and “how tracking works.”</li>
           <li>A short “unknowns and risk flags” list you can use to align marketing claims with real operations.</li>
           <li>6–10 test hypotheses with success metrics (for example: reduce shipping-step exits, reduce support tickets, increase conversion).</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Checkout Shipping Clarity Package 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>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the specific segment of the workforce that the program is designed for, including demographics, roles, or other defining characteristics.                                    <div class="var-example">For example: "Mid-level managers in a hybrid tech company, ages 30-45, responsible for cross-functional team collaboration."</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>[CONTEXT]</code></td>
                                <td class="var-desc">
                                    Provide an overview of the organization&#039;s history, current challenges, and any relevant cultural or operational details.                                    <div class="var-example">For example: "A 10-year-old SaaS company undergoing rapid growth, with a recent merger and increasing employee turnover."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CONTEXT]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or domain the organization operates in to ensure activities are culturally relevant.                                    <div class="var-example">For example: "Enterprise software development for financial institutions."</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>[COMPANY_NAME]</code></td>
                                <td class="var-desc">
                                    Enter the name of the organization for personalization purposes.                                    <div class="var-example">For example: "TechNova Inc."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[COMPANY_NAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CULTURE_MATURITY]</code></td>
                                <td class="var-desc">
                                    Describe the current level of cultural development within the organization (low, medium, or high) and explain why.                                    <div class="var-example">For example: "Medium maturity: the company has strong stated values but limited alignment with lived values among employees."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[CULTURE_MATURITY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TEAM_STRUCTURE]</code></td>
                                <td class="var-desc">
                                    Outline the organization&#039;s team structure, including function types, remote/hybrid/on-site setup, and cross-functional collaboration details.                                    <div class="var-example">For example: "Primarily remote teams with occasional in-person meetups, organized by functional areas such as engineering, sales, and marketing."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TEAM_STRUCTURE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[STATED_VALUES]</code></td>
                                <td class="var-desc">
                                    List the official values or principles the organization claims to uphold.                                    <div class="var-example">For example: "Innovation, transparency, and customer obsession."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[STATED_VALUES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[LIVED_VALUES]</code></td>
                                <td class="var-desc">
                                    Describe the actual behaviors and practices observed within the organization that reflect its true values.                                    <div class="var-example">For example: "Team members prioritize speed over transparency, often skipping documentation to meet tight deadlines."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[LIVED_VALUES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[INFORMAL_GROUPS]</code></td>
                                <td class="var-desc">
                                    Identify existing informal networks or social groups within the organization that influence belonging and collaboration.                                    <div class="var-example">For example: "Engineering team members who bond over shared hobbies like gaming, and a Slack channel for parents supporting each other."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[INFORMAL_GROUPS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[CHALLENGE]</code></td>
                                <td class="var-desc">
                                    Specify the main obstacle or issue the program needs to address in building workplace belonging.                                    <div class="var-example">For example: "A lack of trust between leadership and employees due to inconsistent communication during a recent restructuring."</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>[LEADERSHIP_BUY_IN]</code></td>
                                <td class="var-desc">
                                    Describe the level of support or commitment from leadership toward cultural transformation initiatives.                                    <div class="var-example">For example: "Moderate buy-in: leadership supports belonging initiatives but prioritizes measurable ROI over long-term cultural change."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[LEADERSHIP_BUY_IN]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[ENGAGEMENT_BASELINE]</code></td>
                                <td class="var-desc">
                                    Provide current metrics or observations about employee engagement to establish a starting point for improvement.                                    <div class="var-example">For example: "Employee engagement surveys show 65% participation, with mixed feedback about team-building efforts."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[ENGAGEMENT_BASELINE]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TRANSFORMATION_DEPTH]</code></td>
                                <td class="var-desc">
                                    Specify how significant the cultural shift should be, ranging from minor adjustments to deep systemic changes.                                    <div class="var-example">For example: "Deep transformation: shift from a task-oriented culture to one emphasizing shared purpose and community."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TRANSFORMATION_DEPTH]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    State the expected duration for implementing the program, including any milestones or deadlines.                                    <div class="var-example">For example: "12 months with quarterly reviews to assess progress and refine activities."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Provide the financial resources allocated for the program, including constraints or flexibility.                                    <div class="var-example">For example: "$50,000 allocated for facilitation, tools, and employee participation incentives."</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>[BRAND_VOICE]</code></td>
                                <td class="var-desc">
                                    Describe the tone and style the organization prefers for communication, ensuring alignment with its identity.                                    <div class="var-example">For example: "Friendly and approachable, emphasizing clarity and inclusivity over corporate jargon."</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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">What This Is NOT (Scope Boundaries)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">INPUTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">OUTPUT SPECIFICATION</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">1) Phase Plan 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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Phase-by-Phase Design (repeat for each phase)</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">3) Inter-Phase Gates</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) Measurement Dashboard (non-survey-heavy)</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) Implementation Waves (time-based rollout)</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 multi-phase, interactive program that turns a workplace from “coworkers who coordinate” into a true community with strong belonging and shared purpose. The program must use Social Identity Theory to design community-building activities that feel voluntary, culturally natural, and measurable—then improve them through iteration.

## PERSONA
You are a **Workplace Belonging Designer**: a seasoned organizational culture specialist with a background in corporate anthropology and fieldwork inside high-growth tech companies, followed by years studying intentional communities across multiple regions. Your style is clear, pragmatic, observant, and human—less corporate jargon, more behavioral insight.

## CONSTRAINTS
- Build a **dynamic sequence of 5–12 phases** based on the organization’s reality (not a fixed template).
- Activities must feel **opt-in, organic, and socially rewarding**, not like mandated team-building.
- Always distinguish **lived values** (what people actually do) from **poster values** (what leadership claims).
- Include **measurement of emotional connection**, not only engagement or participation.
- Keep the interaction gated: end key phases with a prompt like **“Type ‘continue’ to proceed.”**
- If information is missing, ask targeted questions before designing specifics.

### What This Is NOT (Scope Boundaries)
- Not a legal/HR compliance plan, investigations process, or disciplinary framework.
- Not a re-org blueprint, compensation strategy, or performance management redesign.
- Not therapy, clinical mental-health guidance, or personal counseling.
- Not a one-off event calendar; it must be a system that can evolve.

## PROCESS
1. **Pre-Analysis Statement (required):** Briefly restate what you’re going to build and the assumptions you’re making from the provided inputs.
2. **Diagnosis:** Infer current social dynamics, belonging friction, and existing informal networks.
3. **Architecture:** Select an appropriate number of phases (5–12) and name them based on gaps, buy-in, baseline engagement, and desired depth of change.
4. **Design:** For each phase, define outcomes, recommended activities, and facilitation guidance that preserves authenticity.
5. **Signals &amp; Metrics:** Specify both qualitative and behavioral indicators, plus lightweight collection methods.
6. **Iteration Loop:** Provide how to refine activities using observed participation and narrative feedback.
7. **Edge Cases:** If inputs conflict (e.g., “high trust” but high attrition) or are vague, pause and ask clarifying questions before continuing.

## INPUTS
- **Ideal recipient / workforce segment:** [TARGET_AUDIENCE]  
- **Organization context &amp; background:** [CONTEXT]  
- **Industry / domain:** [INDUSTRY]  
- **Company name:** [COMPANY_NAME]  
- **Current culture maturity (low/medium/high + why):** [CULTURE_MATURITY]  
- **Team structure (functions, cross-functional, remote/hybrid/on-site):** [TEAM_STRUCTURE]  
- **Stated values (official):** [STATED_VALUES]  
- **Values actually used in decisions (observed):** [LIVED_VALUES]  
- **Existing informal groups (examples + strength):** [INFORMAL_GROUPS]  
- **Primary barrier to genuine connection:** [CHALLENGE]  
- **Leadership buy-in level (low/medium/high + evidence):** [LEADERSHIP_BUY_IN]  
- **Employee engagement baseline (how known/measured):** [ENGAGEMENT_BASELINE]  
- **Transformation ambition (light/medium/deep):** [TRANSFORMATION_DEPTH]  
- **Time horizon to roll out:** [TIMEFRAME]  
- **Budget range (if any):** [BUDGET]  
- **Preferred communication style:** [BRAND_VOICE]  

## OUTPUT SPECIFICATION
Deliver the program as a phased journey.

### 1) Phase Plan Overview
- {Number Of Phases} and the criteria used to choose that count
- A one-paragraph summary of the overall strategy

### 2) Phase-by-Phase Design (repeat for each phase)
For each phase provide:
- {Phase Name}
- {Purpose}
- {What You Need From The Company} (inputs, approvals, time commitments)
- {Activities} (2–6 activities written so they feel voluntary and culturally plausible)
- {Facilitation Notes} (how to avoid “forced fun,” how to keep it inclusive)
- {Belonging Mechanism} (which identity/belonging principle it targets)
- {Signals To Watch} (behavioral + emotional)
- {Measurement Method} (practical collection: stories, network mapping, observation, nominations, etc.)
- {Iteration Rules} (when to expand, pause, sunset, or redesign)

### 3) Inter-Phase Gates
At the end of:
- the discovery phase, and
- each major design/build step,  
include a short checkpoint and end with: **Type “continue” to proceed.**

### 4) Measurement Dashboard (non-survey-heavy)
Include:
- {Connection Indicators}
- {Collection Cadence}
- {Simple Dashboard Layout}
- {How To Interpret Changes} (what improvement looks like vs. noise)

### 5) Implementation Waves (time-based rollout)
Provide a staged rollout with approximate timing that fits [TIMEFRAME], including:
- {Wave Name}
- {Time Window}
- {Launch Focus}
- {Risks And Mitigations}

## QUALITY CHECKS
Before finalizing, verify:
- The phase count is justified by [CULTURE_MATURITY], [LEADERSHIP_BUY_IN], [ENGAGEMENT_BASELINE], and [TRANSFORMATION_DEPTH].
- Activities are opt-in by design (no hidden coercion) and avoid performative “culture theater.”
- Lived vs. stated values are explicitly separated and used to shape recommendations.
- Metrics include at least one **network/behavioral** measure and one **narrative/story** measure per major stage.
- Edge cases are handled: missing inputs trigger clarifying questions; contradictions are flagged with proposed tests to validate reality.            </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 multi-phase, interactive program that turns a workplace from \u201ccoworkers who coordinate\u201d into a true community with strong belonging and shared purpose. The program must use Social Identity Theory to design community-building activities that feel voluntary, culturally natural, and measurable\u2014then improve them through iteration.\r\n\r\n## PERSONA\r\nYou are a **Workplace Belonging Designer**: a seasoned organizational culture specialist with a background in corporate anthropology and fieldwork inside high-growth tech companies, followed by years studying intentional communities across multiple regions. Your style is clear, pragmatic, observant, and human\u2014less corporate jargon, more behavioral insight.\r\n\r\n## CONSTRAINTS\r\n- Build a **dynamic sequence of 5\u201312 phases** based on the organization\u2019s reality (not a fixed template).\r\n- Activities must feel **opt-in, organic, and socially rewarding**, not like mandated team-building.\r\n- Always distinguish **lived values** (what people actually do) from **poster values** (what leadership claims).\r\n- Include **measurement of emotional connection**, not only engagement or participation.\r\n- Keep the interaction gated: end key phases with a prompt like **\u201cType \u2018continue\u2019 to proceed.\u201d**\r\n- If information is missing, ask targeted questions before designing specifics.\r\n\r\n### What This Is NOT (Scope Boundaries)\r\n- Not a legal\/HR compliance plan, investigations process, or disciplinary framework.\r\n- Not a re-org blueprint, compensation strategy, or performance management redesign.\r\n- Not therapy, clinical mental-health guidance, or personal counseling.\r\n- Not a one-off event calendar; it must be a system that can evolve.\r\n\r\n## PROCESS\r\n1. **Pre-Analysis Statement (required):** Briefly restate what you\u2019re going to build and the assumptions you\u2019re making from the provided inputs.\r\n2. **Diagnosis:** Infer current social dynamics, belonging friction, and existing informal networks.\r\n3. **Architecture:** Select an appropriate number of phases (5\u201312) and name them based on gaps, buy-in, baseline engagement, and desired depth of change.\r\n4. **Design:** For each phase, define outcomes, recommended activities, and facilitation guidance that preserves authenticity.\r\n5. **Signals & Metrics:** Specify both qualitative and behavioral indicators, plus lightweight collection methods.\r\n6. **Iteration Loop:** Provide how to refine activities using observed participation and narrative feedback.\r\n7. **Edge Cases:** If inputs conflict (e.g., \u201chigh trust\u201d but high attrition) or are vague, pause and ask clarifying questions before continuing.\r\n\r\n## INPUTS\r\n- **Ideal recipient \/ workforce segment:** [TARGET_AUDIENCE]  \r\n- **Organization context & background:** [CONTEXT]  \r\n- **Industry \/ domain:** [INDUSTRY]  \r\n- **Company name:** [COMPANY_NAME]  \r\n- **Current culture maturity (low\/medium\/high + why):** [CULTURE_MATURITY]  \r\n- **Team structure (functions, cross-functional, remote\/hybrid\/on-site):** [TEAM_STRUCTURE]  \r\n- **Stated values (official):** [STATED_VALUES]  \r\n- **Values actually used in decisions (observed):** [LIVED_VALUES]  \r\n- **Existing informal groups (examples + strength):** [INFORMAL_GROUPS]  \r\n- **Primary barrier to genuine connection:** [CHALLENGE]  \r\n- **Leadership buy-in level (low\/medium\/high + evidence):** [LEADERSHIP_BUY_IN]  \r\n- **Employee engagement baseline (how known\/measured):** [ENGAGEMENT_BASELINE]  \r\n- **Transformation ambition (light\/medium\/deep):** [TRANSFORMATION_DEPTH]  \r\n- **Time horizon to roll out:** [TIMEFRAME]  \r\n- **Budget range (if any):** [BUDGET]  \r\n- **Preferred communication style:** [BRAND_VOICE]  \r\n\r\n## OUTPUT SPECIFICATION\r\nDeliver the program as a phased journey.\r\n\r\n### 1) Phase Plan Overview\r\n- {Number Of Phases} and the criteria used to choose that count\r\n- A one-paragraph summary of the overall strategy\r\n\r\n### 2) Phase-by-Phase Design (repeat for each phase)\r\nFor each phase provide:\r\n- {Phase Name}\r\n- {Purpose}\r\n- {What You Need From The Company} (inputs, approvals, time commitments)\r\n- {Activities} (2\u20136 activities written so they feel voluntary and culturally plausible)\r\n- {Facilitation Notes} (how to avoid \u201cforced fun,\u201d how to keep it inclusive)\r\n- {Belonging Mechanism} (which identity\/belonging principle it targets)\r\n- {Signals To Watch} (behavioral + emotional)\r\n- {Measurement Method} (practical collection: stories, network mapping, observation, nominations, etc.)\r\n- {Iteration Rules} (when to expand, pause, sunset, or redesign)\r\n\r\n### 3) Inter-Phase Gates\r\nAt the end of:\r\n- the discovery phase, and\r\n- each major design\/build step,  \r\ninclude a short checkpoint and end with: **Type \u201ccontinue\u201d to proceed.**\r\n\r\n### 4) Measurement Dashboard (non-survey-heavy)\r\nInclude:\r\n- {Connection Indicators}\r\n- {Collection Cadence}\r\n- {Simple Dashboard Layout}\r\n- {How To Interpret Changes} (what improvement looks like vs. noise)\r\n\r\n### 5) Implementation Waves (time-based rollout)\r\nProvide a staged rollout with approximate timing that fits [TIMEFRAME], including:\r\n- {Wave Name}\r\n- {Time Window}\r\n- {Launch Focus}\r\n- {Risks And Mitigations}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify:\r\n- The phase count is justified by [CULTURE_MATURITY], [LEADERSHIP_BUY_IN], [ENGAGEMENT_BASELINE], and [TRANSFORMATION_DEPTH].\r\n- Activities are opt-in by design (no hidden coercion) and avoid performative \u201cculture theater.\u201d\r\n- Lived vs. stated values are explicitly separated and used to shape recommendations.\r\n- Metrics include at least one **network\/behavioral** measure and one **narrative\/story** measure per major stage.\r\n- Edge cases are handled: missing inputs trigger clarifying questions; contradictions are flagged with proposed tests to validate reality.";
    const variables = ["[TARGET_AUDIENCE]","[CONTEXT]","[INDUSTRY]","[COMPANY_NAME]","[CULTURE_MATURITY]","[TEAM_STRUCTURE]","[STATED_VALUES]","[LIVED_VALUES]","[INFORMAL_GROUPS]","[CHALLENGE]","[LEADERSHIP_BUY_IN]","[ENGAGEMENT_BASELINE]","[TRANSFORMATION_DEPTH]","[TIMEFRAME]","[BUDGET]","[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>Be painfully specific about processing time vs. transit time.</strong> Most “shipping confusion” is really “when do you ship” confusion. If you can, feed the model concrete ranges (for example: “Processing: 1–2 business days; Transit: 2–5 business days”) and ask it to write copy that separates them clearly in checkout.</li>


<li><strong>Use your real carrier names and service levels.</strong> “Standard shipping” is fine as a label, but customers trust specifics when they matter. After the first output, follow up with: “Rewrite the matrix and FAQs using these carriers and methods exactly: UPS Ground, USPS Priority, DHL Express, and Local Delivery (2–10 miles).”</li>


<li><strong>Tell it what you cannot promise.</strong> Honestly, this is the difference between helpful clarity and risky overcommitment. Add constraints like “No guaranteed delivery dates” or “No weekend delivery” and request language that sets expectations without sounding defensive.</li>


<li><strong>Iterate by page location, not just wording.</strong> The same sentence reads differently in the cart versus in a shipping-policy drawer. After you get the staged copy, ask: “Now create a version for a collapsible ‘Delivery details’ section with 3 bullets max and one link label.”</li>


<li><strong>Combine clarity work with an SEO consistency check (optional).</strong> If your shipping promise differs across PDPs, collection pages, and help docs, customers notice. Pair this with an internal consistency workflow like <a href="https://flowpast.com/prompts/build-an-on-page-seo-implementation-checklist-ai-prompt/">Build an On-Page SEO Implementation Checklist AI Prompt</a> to audit where delivery statements appear and ensure they match your checkout language.</li>

</ul>

</div>

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

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



<p>Once your delivery messaging is clear, these prompts help you make the rest of the site easier to find, understand, and trust.</p>



<p>If you also need to make sure customers can actually discover your shipping details (and that Google surfaces the right pages), <a href="https://flowpast.com/prompts/create-an-on-page-seo-checklist-ai-prompt/">Create an On-Page SEO Checklist AI Prompt</a> pairs well. Use it when your policy, FAQ, or delivery pages exist but feel “buried,” inconsistent, or hard to navigate from high-intent product pages.</p>



<p>For teams doing ongoing optimization, <a href="https://flowpast.com/prompts/create-an-seo-led-content-plan-with-this-ai-prompt/">Create an SEO-Led Content Plan with this AI Prompt</a> helps you plan supporting content that reduces purchase anxiety. It’s useful when you want to build articles and help docs around questions you already see in tickets, like “shipping to Alaska,” “international duties,” or “how tracking updates work.”</p>



<p>When you want a tighter, execution-ready roadmap for content production (pages, briefs, and update cycles), <a href="https://flowpast.com/prompts/build-an-seo-content-plan-with-this-ai-prompt/">Build an SEO Content Plan with this AI Prompt</a> is a good next step. After this shipping clarity package is live, it helps you expand coverage without drifting into generic content that doesn’t move conversions.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/create-an-on-page-seo-checklist-ai-prompt/">Create an On-Page SEO Checklist AI Prompt</a>: Find and fix on-page trust gaps.</li>


<li><a href="https://flowpast.com/prompts/build-an-on-page-seo-implementation-checklist-ai-prompt/">Build an On-Page SEO Implementation Checklist AI Prompt</a>: Turn fixes into a shippable checklist.</li>


<li><a href="https://flowpast.com/prompts/create-an-seo-led-content-plan-with-this-ai-prompt/">Create an SEO-Led Content Plan with this AI Prompt</a>: Plan content around search intent and objections.</li>


<li><a href="https://flowpast.com/prompts/build-an-seo-content-plan-with-this-ai-prompt/">Build an SEO Content Plan with this AI Prompt</a>: Build a structured publishing plan fast.</li>


<li><a href="https://flowpast.com/prompts/build-off-page-seo-social-strategy-plan-ai-prompt/">Build Off-Page SEO Social Strategy Plan AI Prompt</a>: Promote key pages beyond your site.</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 shipping clarity AI prompt?</span>

<p class="answer"><strong>Ecommerce Managers</strong> use this to turn scattered shipping notes into a consistent promise across PDP, cart, checkout, and post-purchase. <strong>Conversion Rate Optimization (CRO) Specialists</strong> rely on it to reduce “delivery uncertainty” friction and generate testable copy variants tied to checkout behavior. <strong>Customer Support Leads</strong> benefit because the prompt produces FAQs that deflect repetitive “Where is my order?” and “When will it arrive?” tickets. <strong>Lifecycle/CRM Marketers</strong> apply it to tighten post-purchase expectation setting so tracking emails and order confirmations don’t create new confusion.</p>

</div>

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

<p class="answer"><strong>DTC consumer goods</strong> teams use it when shoppers compare brands and bail if delivery feels unpredictable, especially during launches and discounts. <strong>Apparel and footwear</strong> brands get value because shipping, returns, and split shipments often collide, so a clear matrix and FAQs reduce surprises. <strong>Health and beauty</strong> sellers apply it to communicate fulfillment speed, tracking expectations, and region limits without sounding like legal copy. <strong>Subscription and replenishment brands</strong> use it to clarify first-order timelines versus recurring shipments, which lowers churn caused by misunderstood delivery cadence.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for shipping policy and checkout delivery copy produce weak results?</span>

<p class="answer">A typical prompt like “Write me a shipping policy for my store” fails because it: lacks your real shipping methods, regions, carriers, and delivery timeframes, so it fills gaps with generic assumptions. It provides no progressive-disclosure structure, which leads to a long, unreadable page instead of staged microcopy for cart and checkout. It ignores customer hesitation points (processing time, cutoff times, tracking, exceptions), so the copy doesn’t remove uncertainty. It produces “legal-ish” language that sounds cautious but doesn’t answer practical questions, and it misses consistency checks that keep your promise aligned across touchpoints.</p>

</div>

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

<p class="answer">Yes, and you should. The prompt is designed to reflect your actual capabilities, so you’ll want to provide clear details for PRODUCT_DESCRIPTION, TARGET_AUDIENCE, SHIPPING_METHODS, DELIVERY_TIMEFRAMES, SHIPPING_REGIONS, and CARRIERS. If you have constraints (no weekend delivery, limited rural coverage, signature required), include them so the copy stays truthful. A useful follow-up request is: “Now rewrite the checkout shipping section for mobile scanning, max 2 lines per method, and include a single expandable ‘details’ drawer for exceptions.”</p>

</div>

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

<p class="answer">The biggest mistake is leaving TARGET_AUDIENCE too vague — instead of “online shoppers,” try “first-time buyers of premium skincare who worry about heat exposure in transit.” Another common error is providing DELIVERY_TIMEFRAMES without separating processing vs transit (bad: “3–5 days”; better: “Ships in 1–2 business days, then 2–5 business days in transit”). People also forget to specify SHIPPING_REGIONS accurately (bad: “we ship worldwide”; better: “US + Canada only, excluding PO boxes for express”). Finally, they list SHIPPING_METHODS without constraints (bad: “express available”; better: “express only for contiguous US orders placed before 1pm ET”).</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this shipping clarity AI prompt?</span>

<p class="answer">This prompt isn’t ideal for teams that cannot describe their current shipping reality with any confidence, because the output must stay consistent with real methods, timeframes, regions, and carriers. It’s also not a replacement for lawyer-reviewed policy language if you operate in a highly regulated context or have complex liability requirements. And if you only want a generic boilerplate policy to paste once and forget, you will be better served by a basic template. Use this when you’re willing to iterate and align copy with operations.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this shipping clarity AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Ecommerce Managers use this to turn scattered shipping notes into a consistent promise across PDP, cart, checkout, and post-purchase. Conversion Rate Optimization (CRO) Specialists rely on it to reduce “delivery uncertainty” friction and generate testable copy variants tied to checkout behavior. Customer Support Leads benefit because the prompt produces FAQs that deflect repetitive “Where is my order?” and “When will it arrive?” tickets. Lifecycle/CRM Marketers apply it to tighten post-purchase expectation setting so tracking emails and order confirmations don’t create new confusion."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this shipping clarity AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "DTC consumer goods teams use it when shoppers compare brands and bail if delivery feels unpredictable, especially during launches and discounts. Apparel and footwear brands get value because shipping, returns, and split shipments often collide, so a clear matrix and FAQs reduce surprises. Health and beauty sellers apply it to communicate fulfillment speed, tracking expectations, and region limits without sounding like legal copy. Subscription and replenishment brands use it to clarify first-order timelines versus recurring shipments, which lowers churn caused by misunderstood delivery cadence."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for shipping policy and checkout delivery copy produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like “Write me a shipping policy for my store” fails because it: lacks your real shipping methods, regions, carriers, and delivery timeframes, so it fills gaps with generic assumptions. It provides no progressive-disclosure structure, which leads to a long, unreadable page instead of staged microcopy for cart and checkout. It ignores customer hesitation points (processing time, cutoff times, tracking, exceptions), so the copy doesn’t remove uncertainty. It produces “legal-ish” language that sounds cautious but doesn’t answer practical questions, and it misses consistency checks that keep your promise aligned across touchpoints."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this shipping clarity AI prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, and you should. The prompt is designed to reflect your actual capabilities, so you’ll want to provide clear details for PRODUCT_DESCRIPTION, TARGET_AUDIENCE, SHIPPING_METHODS, DELIVERY_TIMEFRAMES, SHIPPING_REGIONS, and CARRIERS. If you have constraints (no weekend delivery, limited rural coverage, signature required), include them so the copy stays truthful. A useful follow-up request is: “Now rewrite the checkout shipping section for mobile scanning, max 2 lines per method, and include a single expandable ‘details’ drawer for exceptions.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this shipping clarity AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving TARGET_AUDIENCE too vague — instead of “online shoppers,” try “first-time buyers of premium skincare who worry about heat exposure in transit.” Another common error is providing DELIVERY_TIMEFRAMES without separating processing vs transit (bad: “3–5 days”; better: “Ships in 1–2 business days, then 2–5 business days in transit”). People also forget to specify SHIPPING_REGIONS accurately (bad: “we ship worldwide”; better: “US + Canada only, excluding PO boxes for express”). Finally, they list SHIPPING_METHODS without constraints (bad: “express available”; better: “express only for contiguous US orders placed before 1pm ET”)."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this shipping clarity AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for teams that cannot describe their current shipping reality with any confidence, because the output must stay consistent with real methods, timeframes, regions, and carriers. It’s also not a replacement for lawyer-reviewed policy language if you operate in a highly regulated context or have complex liability requirements. And if you only want a generic boilerplate policy to paste once and forget, you will be better served by a basic template. Use this when you’re willing to iterate and align copy with operations."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Checkout drop-off isn’t always a pricing problem. Sometimes it’s a clarity problem. Paste this prompt into your AI tool, answer the shipping reality questions honestly, and publish a delivery promise customers can understand fast.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5002879.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Shipping Integration Plan with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-shipping-integration-plan-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:34:15 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5003026</guid>

					<description><![CDATA[Shipping costs balloon and carts drop off - use this AI Prompt to design a carrier and platform integration plan with rollout and cost model. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: shipping integration plan -->

<div class="hook-introduction">

<p>Shipping gets patched together fast. Then peak hits, rates spike, labels fail, and support tickets pile up because nobody can explain what’s happening. You end up paying for mistakes twice: once in surcharges and again in churn.</p>



<p>This <strong>shipping integration plan</strong> is built for <strong>Ops leaders</strong> cleaning up a messy multi-carrier setup, <strong>e-commerce managers</strong> who need clearer delivery choices that don’t crater margin, and <strong>implementation consultants</strong> responsible for a cutover that can’t break during holiday volume. The output is a practical architecture plan: carrier/platform comparison, cost model inputs, reliability assumptions, integration patterns (retries, idempotency, queueing), and a phased rollout with parallel run and fallback strategies.</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>Maps a unified shipping architecture across carriers and shipping platforms, including where each component sits in your order-to-label flow.</li>
          <li>Forces a true cost review that accounts for dimensional weight, residential/remote area fees, fuel and peak surcharges, address correction, Saturday delivery, and returns.</li>
          <li>Compares direct carrier integrations (for example, UPS/FedEx/DHL) versus aggregators (like Shippo/EasyPost/ShipStation) using operational fit and implementation reality.</li>
          <li>Designs failure handling patterns: retries, idempotency keys, queueing, rate-limit strategy, label reprint logic, and fallback carrier selection.</li>
          <li>Produces an international shipping review that covers customs documentation, duties/taxes calculation, paperless trade, landed cost presentation, and common clearance failure points.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are about to migrate off a patchwork of apps, spreadsheets, and manual label creation, and you need a safer path than “flip the switch.”</li>
          <li>Support is seeing “where is my package” and “wrong address” tickets rise, and you suspect label/rating inconsistencies or unreliable status events.</li>
          <li>You are renegotiating carrier contracts and need to understand which pricing levers matter before you talk to sales.</li>
          <li>Peak season is approaching, and you cannot afford an outage, a rate-limit blowup, or a label provider incident during high-volume windows.</li>
          <li>You are expanding internationally and want landed-cost clarity and fewer customs holds without pretending tax/compliance is “solved.”</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A carrier and platform decision matrix with 6–10 evaluation criteria and explicit tradeoffs.</li>
           <li>A shipping cost model checklist with the exact surcharge categories and measurement inputs you should collect.</li>
           <li>A reference integration design that includes queueing, retry rules, idempotency approach, and a fallback label strategy.</li>
           <li>A phased rollout plan with parallel run steps, cutover gates, and risk checkpoints for peak stability.</li>
           <li>An international shipping plan section listing common clearance failure modes and the operational mitigations for each.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Unified Shipping Integration Plan Builder</h2>


<!-- Prompt file not found: /home/flowpast/htdocs/flowpast.com/wp-content/data/prompts_scraped/5003234/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 shipping data, not guesses.</strong> Paste a small snapshot: last 30–90 days of order volume, average weight, package dimensions, top zones/destinations, and return rate. If you can, also include your top 10 SKUs by size and fragility so the plan can treat “small but dense” differently from “bulky but light.”</li>


<li><strong>Describe your current “label path” step by step.</strong> Most shipping failures happen between OMS/WMS, rating, label purchase, and tracking event ingestion. Add a note like: “Orders originate in Shopify, flow to NetSuite nightly, labels are created in ShipStation by warehouse staff, and tracking is pushed back by CSV.”</li>


<li><strong>Force the tradeoffs into the open.</strong> After the first run, ask: “List the top 5 failure modes for the recommended architecture and how we detect each within 5 minutes.” You will quickly see whether you need direct carrier APIs for control, or an aggregator for speed with acceptable risk.</li>


<li><strong>Iterate on pricing levers with a follow-up prompt.</strong> Try: “Re-run the cost analysis assuming dimensional weight is driving 40% of shipments, and show packaging changes or service-level changes that reduce total spend without worsening delivery promises.” It’s a simple twist that often surfaces low-effort savings.</li>


<li><strong>Ask for a parallel-run cutover plan you can actually execute.</strong> Follow with: “Create a 2-week parallel run plan with success metrics, rollback triggers, and daily checks (rates, label errors, scan events, delivery SLA). Assume peak volume is 3x normal.” Frankly, if the plan can’t survive that scenario on paper, it won’t survive in production.</li>

</ul>

</div>

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

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



<p>Once your shipping stack is stable, these prompts help you recover revenue and keep the team running without burning out.</p>



<p>If you also need to reduce cart abandonment caused by delivery uncertainty, pair this with <a href="https://flowpast.com/prompts/create-a-cart-recovery-retargeting-plan-with-this-ai-prompt/">Create a Cart Recovery Retargeting Plan with this AI Prompt</a>. Use it right after you finalize delivery promises so your ads and emails match real transit times and service levels.</p>



<p>When shipping issues have already created churn (late deliveries, damaged packages, confusing returns), <a href="https://flowpast.com/prompts/create-a-customer-win-back-plan-with-this-ai-prompt/">Create a Customer Win-Back Plan with this AI Prompt</a> helps you build segmented outreach and offers. It works best when you can reference concrete fixes from the integration plan, not vague apologies.</p>



<p>For teams doing heavier retention work, <a href="https://flowpast.com/prompts/build-a-customer-win-back-plan-with-this-ai-prompt/">Build a Customer Win-Back Plan with this AI Prompt</a> is a solid follow-on for deeper messaging and operational coordination. Use it when you want a more structured playbook that aligns support, ops, and marketing around the same recovery timeline.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/create-a-cart-recovery-retargeting-plan-with-this-ai-prompt/">Create a Cart Recovery Retargeting Plan with this AI Prompt</a>: Retargeting flow tuned to shipping reality.</li>


<li><a href="https://flowpast.com/prompts/create-a-customer-win-back-plan-with-this-ai-prompt/">Create a Customer Win-Back Plan with this AI Prompt</a>: Win-back outreach after shipping-driven churn.</li>


<li><a href="https://flowpast.com/prompts/build-a-customer-win-back-plan-with-this-ai-prompt/">Build a Customer Win-Back Plan with this AI Prompt</a>: Deeper win-back playbook and coordination.</li>


<li><a href="https://flowpast.com/prompts/create-a-burnout-risk-prevention-plan-ai-prompt/">Create a Burnout Risk Prevention Plan AI Prompt</a>: Prevent ops burnout during peak rollouts.</li>


<li><a href="https://flowpast.com/prompts/create-a-burnout-prevention-outline-ai-prompt/">Create a Burnout Prevention Outline AI Prompt</a>: Lightweight plan to protect delivery teams.</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 shipping integration plan AI prompt?</span>

<p class="answer"><strong>Head of Operations</strong> uses this to turn “shipping is expensive” into a concrete architecture, cost model inputs, and a rollout plan that won’t collapse during peak. <strong>E-commerce Operations Manager</strong> gets a clearer delivery-choice strategy (what to offer, when) plus the mechanics to keep rates, labels, and tracking consistent. <strong>Solutions Architect or Integration Engineer</strong> benefits from the prompt’s emphasis on idempotency, retries, queueing, and rate-limits, which are exactly where shipping integrations break. <strong>Logistics/Transportation Manager</strong> can use the carrier/platform comparison and surcharge list to prepare for negotiations and reduce surprise fees.</p>

</div>

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

<p class="answer"><strong>High-volume DTC e-commerce</strong> gets immediate value because small errors scale into thousands of failed labels or mis-rated shipments, especially during promotions and peak. <strong>Subscription and replenishment brands</strong> use it to stabilize predictable weekly ship cycles, reduce address correction fees, and choose service levels that protect LTV without overpaying. <strong>Marketplace sellers</strong> benefit when they must hit strict delivery SLAs and need fallback carriers to avoid late-shipment penalties. <strong>Specialty retail (fragile, bulky, or regulated handling)</strong> can apply the product-handling and dimensional-weight thinking to stop margin leakage on oversized packages and reduce damage-driven returns.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for designing a shipping integration plan produce weak results?</span>

<p class="answer">A typical prompt like &#8220;<em>Write me a shipping integration plan for my store</em>&#8221; fails because it: lacks your operational profile (package sizes, zones, service levels, return rate) so the output becomes generic; provides no cost structure for dim weight, residential/remote fees, fuel/peak surcharges, and address correction; ignores uptime behavior and failure modes, so you get vendor-SLA fluff instead of reliability reality; skips integration mechanics like idempotency, retries, queueing, and rate-limit strategy; and avoids migration risk, which is where real projects blow up during cutover.</p>

</div>

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

<p class="answer">Yes, but the customization happens in what you paste before running it, since the prompt itself has no fill-in variables. Add your current stack (storefront, OMS/WMS, label tool), your volume profile (orders/day, peak multiplier), product handling constraints (fragile, hazmat-like restrictions, oversize), and destination mix (domestic zones, international share). Then ask a follow-up like: “Rework the architecture for 3PL fulfillment with two warehouses, and include how we keep rates and service levels consistent across nodes.” The more concrete your inputs, the less hand-wavy the recommendations will be.</p>

</div>

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

<p class="answer">The biggest mistake is leaving your volume and peak multiplier vague — instead of “we ship a lot,” use “1,200 orders/day average, 3.5x peak, 65% residential.” Another common error is not listing package dimensions, which hides dimensional-weight risk; “average weight is 1 lb” is weak, while “40% ship in 12x10x8, 20% in 18x14x10, avg actual weight 1.2 lb” is actionable. People also forget to describe failure tolerance, so the plan can’t choose sane fallbacks; don’t say “it needs to be reliable,” say “label purchase must degrade to a backup carrier within 2 minutes.” Finally, teams omit the current migration mess (manual steps, CSVs, multiple label tools), and then the rollout plan ignores parallel run and cutover hazards.</p>

</div>

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

<p class="answer">This prompt isn’t ideal for a tiny store shipping a few orders a week where a single shipping app is “good enough” and you won’t implement any integration work. It’s also not the right fit if you’re looking for negotiated rates or country-specific legal/tax compliance guidance, because it explicitly avoids those. And if your team cannot share any shipping data or operational constraints, the output will be too abstract to act on. In those cases, start with a basic shipping tool setup and revisit this when volume, complexity, or risk justifies an architecture plan.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this shipping integration plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Head of Operations uses this to turn “shipping is expensive” into a concrete architecture, cost model inputs, and a rollout plan that won’t collapse during peak. E-commerce Operations Manager gets a clearer delivery-choice strategy (what to offer, when) plus the mechanics to keep rates, labels, and tracking consistent. Solutions Architect or Integration Engineer benefits from the prompt’s emphasis on idempotency, retries, queueing, and rate-limits, which are exactly where shipping integrations break. Logistics/Transportation Manager can use the carrier/platform comparison and surcharge list to prepare for negotiations and reduce surprise fees."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this shipping integration plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "High-volume DTC e-commerce gets immediate value because small errors scale into thousands of failed labels or mis-rated shipments, especially during promotions and peak. Subscription and replenishment brands use it to stabilize predictable weekly ship cycles, reduce address correction fees, and choose service levels that protect LTV without overpaying. Marketplace sellers benefit when they must hit strict delivery SLAs and need fallback carriers to avoid late-shipment penalties. Specialty retail (fragile, bulky, or regulated handling) can apply the product-handling and dimensional-weight thinking to stop margin leakage on oversized packages and reduce damage-driven returns."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for designing a shipping integration plan produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like \"Write me a shipping integration plan for my store\" fails because it: lacks your operational profile (package sizes, zones, service levels, return rate) so the output becomes generic; provides no cost structure for dim weight, residential/remote fees, fuel/peak surcharges, and address correction; ignores uptime behavior and failure modes, so you get vendor-SLA fluff instead of reliability reality; skips integration mechanics like idempotency, retries, queueing, and rate-limit strategy; and avoids migration risk, which is where real projects blow up during cutover."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this shipping integration plan prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but the customization happens in what you paste before running it, since the prompt itself has no fill-in variables. Add your current stack (storefront, OMS/WMS, label tool), your volume profile (orders/day, peak multiplier), product handling constraints (fragile, hazmat-like restrictions, oversize), and destination mix (domestic zones, international share). Then ask a follow-up like: “Rework the architecture for 3PL fulfillment with two warehouses, and include how we keep rates and service levels consistent across nodes.” The more concrete your inputs, the less hand-wavy the recommendations will be."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this shipping integration plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving your volume and peak multiplier vague — instead of “we ship a lot,” use “1,200 orders/day average, 3.5x peak, 65% residential.” Another common error is not listing package dimensions, which hides dimensional-weight risk; “average weight is 1 lb” is weak, while “40% ship in 12x10x8, 20% in 18x14x10, avg actual weight 1.2 lb” is actionable. People also forget to describe failure tolerance, so the plan can’t choose sane fallbacks; don’t say “it needs to be reliable,” say “label purchase must degrade to a backup carrier within 2 minutes.” Finally, teams omit the current migration mess (manual steps, CSVs, multiple label tools), and then the rollout plan ignores parallel run and cutover hazards."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this shipping integration plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for a tiny store shipping a few orders a week where a single shipping app is “good enough” and you won’t implement any integration work. It’s also not the right fit if you’re looking for negotiated rates or country-specific legal/tax compliance guidance, because it explicitly avoids those. And if your team cannot share any shipping data or operational constraints, the output will be too abstract to act on. In those cases, start with a basic shipping tool setup and revisit this when volume, complexity, or risk justifies an architecture plan."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Shipping doesn’t have to be a black box that drains margin and creates chaos at the worst possible time. Paste the prompt into your AI tool, feed it real constraints, and walk away with a plan you can implement and defend.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5003026.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Write Shipping Policy Templates AI Prompt</title>
		<link>https://flowpast.com/prompts/write-shipping-policy-templates-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:12:17 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5003005</guid>

					<description><![CDATA[Shipping questions pile up - a proven AI Prompt that drafts compliant policy templates with windows, tracking, duties, and returns. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: shipping policy templates -->
<div class="hook-introduction">

<p>Shipping pages are where good orders go to die. If your delivery language is too confident, you create angry emails when carriers slip. If it’s too vague, shoppers bounce because they can’t tell when (or how) their order will arrive.</p>



<p>This <strong>shipping policy templates</strong> is built for <strong>e-commerce managers</strong> cleaning up a messy help inbox, <strong>Shopify operators</strong> updating policies before a promo or holiday rush, and <strong>agency strategists</strong> standardizing client store documentation without overpromising. The output is a set of copy-pasteable shipping information templates covering processing windows, shipping options, tracking timelines, international duties, disruption language, and return-shipping notes.</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 drafts shipping templates that use delivery and handling ranges (for example, “1–3 business days processing” and “3–7 business days transit”) instead of vague speed claims.</li>
          <li>It builds protective language that avoids absolute guarantees unless you explicitly confirm a guaranteed service with contractual backing.</li>
          <li>It generates clear sections for shipping options (standard, expedited, free thresholds, and conditions) written to work across multiple sales channels.</li>
          <li>It adds tracking expectations, including when tracking is issued and what customers should do if scans lag behind.</li>
          <li>If critical details are missing, it stops and asks only the minimum questions needed before writing anything.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You are getting repeated “Where is my order?” tickets because customers don’t understand processing time versus carrier transit time.</li>
          <li>You are updating your store policies ahead of Q4, a product launch, or a flash sale where support volume spikes.</li>
          <li>You ship internationally and need a consistent way to explain customs holds, duties/taxes, and importer responsibility.</li>
          <li>Your current policy says things like “fast shipping” and you’ve realized that’s a compliance and expectation problem.</li>
          <li>You’re adding fragile, made-to-order, or backorder-prone items and need edge-case language that won’t trigger refunds.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A copy-ready shipping policy template with distinct sections for processing, shipping methods, tracking, international, and peak season notes.</li>
           <li>3–5 shipping option blurbs (standard/expedited/free) that include conditions and delivery ranges without overcommitment.</li>
           <li>A “delays and disruptions” module covering weather, carrier delays, customs holds, and other out-of-control events.</li>
           <li>An international shipping note set that explains duties/taxes and who is responsible, plus what happens on refused deliveries.</li>
           <li>Return-shipping integration language with link placeholders you can swap into your returns portal or policy page.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: E-commerce Shipping Policy Template Builder</h2>


<!-- Prompt file not found: /home/flowpast/htdocs/flowpast.com/wp-content/data/prompts_scraped/5003213/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>Decide your “range philosophy” first.</strong> Before you paste anything, pick the style you want: narrow ranges (more persuasive, higher risk) or wider ranges (safer, slightly less conversion). Then ask: “Use conservative delivery ranges that reflect occasional carrier delays, and keep wording consistent across all sections.”</li>


<li><strong>Feed it your actual cutoffs and handling reality.</strong> If you ship same day only when orders arrive before 1pm, say that. A clean follow-up prompt works well: “Add an order cutoff of 1:00pm ET on business days; orders after cutoff begin processing next business day; exclude weekends and federal holidays.”</li>


<li><strong>Be explicit about tracking timing and scan gaps.</strong> Tracking is where trust erodes, honestly. Add one sentence of truth: “Tracking numbers are issued within X–Y business days, and carrier scans may take 24–48 hours to update after label creation.” If you want it tighter, ask: “Write a short troubleshooting section for ‘label created’ status.”</li>


<li><strong>Iterate the risk level on disruption language.</strong> After the first output, try asking: “Now rewrite the delays section in two versions: (A) customer-friendly but firm, (B) more protective and compliance-focused. Keep the same delivery ranges.” You’ll quickly see which tone matches your brand and dispute patterns.</li>


<li><strong>Align policy language with your pricing strategy.</strong> If you offer free shipping thresholds, you’ll want the same clarity you’d apply to pricing itself. Pair this with a pricing audit prompt like <a href="https://flowpast.com/prompts/run-a-small-business-pricing-review-with-this-ai-prompt/">Run a Small Business Pricing Review with this AI Prompt</a>, then come back and tell the shipping prompt: “Use free shipping over $X, exclude oversized items, and specify how split shipments affect delivery ranges.”</li>

</ul>

</div>

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

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



<p>Once your shipping language is clear, these prompts help you tighten the pricing side so delivery promises and margins don’t fight each other.</p>



<p>If you also need to sanity-check how shipping costs impact profitability, <a href="https://flowpast.com/prompts/run-a-small-business-pricing-review-with-this-ai-prompt/">Run a Small Business Pricing Review with this AI Prompt</a> is a practical next step. Use it when carrier costs changed, you introduced free shipping, or you suspect your “all-in” delivered price is quietly compressing margin.</p>



<p>For teams doing promotions and seasonal planning, <a href="https://flowpast.com/prompts/build-a-pricing-scenario-matrix-with-this-ai-prompt/">Build a Pricing Scenario Matrix with this AI Prompt</a> helps you model outcomes across different shipping thresholds and offer structures. It’s especially useful when you’re considering “free shipping over $X” versus “flat-rate shipping” and want numbers to back the decision.</p>



<p>When you’re repositioning the brand or adding a premium expedited option, <a href="https://flowpast.com/prompts/design-a-pricing-strategy-with-this-ai-prompt/">Design a Pricing Strategy with this AI Prompt</a> pairs well with shipping policy work. You can keep the shipping template conservative while still presenting a higher-value offer that supports the price point.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/run-a-small-business-pricing-review-with-this-ai-prompt/">Run a Small Business Pricing Review with this AI Prompt</a>: Find margin leaks and pricing gaps.</li>


<li><a href="https://flowpast.com/prompts/build-a-pricing-scenario-matrix-with-this-ai-prompt/">Build a Pricing Scenario Matrix with this AI Prompt</a>: Compare outcomes across pricing scenarios.</li>


<li><a href="https://flowpast.com/prompts/design-a-pricing-strategy-with-this-ai-prompt/">Design a Pricing Strategy with this AI Prompt</a>: Set positioning, packaging, and guardrails.</li>


<li><a href="https://flowpast.com/prompts/build-a-pricing-comparison-table-with-this-ai-prompt/">Build a Pricing Comparison Table with this AI Prompt</a>: Side-by-side plan and feature breakdown.</li>


<li><a href="https://flowpast.com/prompts/build-a-market-entry-pricing-plan-with-this-ai-prompt/">Build a Market Entry Pricing Plan with this AI Prompt</a>: Launch pricing for a new market.</li>

</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 shipping policy templates AI prompt?</span>

<p class="answer"><strong>E-commerce Operations Managers</strong> use this to standardize shipping language across channels while staying realistic about carrier variability. <strong>Customer Support Leads</strong> rely on it to reduce “where is my order” volume by making processing, transit, and tracking rules unmissable. <strong>Marketplace Compliance Specialists</strong> apply it when policy pages need stricter disclosure without sounding hostile. <strong>DTC Founders</strong> use it to stop overpromising on delivery dates while still protecting conversion at checkout.</p>

</div>

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

<p class="answer"><strong>Apparel and accessories brands</strong> get value because size exchanges, split shipments, and peak-season surges create constant delivery questions; clear ranges and tracking expectations cut churn. <strong>Beauty and personal care</strong> teams use it to address heat sensitivity, lost packages, and return-shipping handling in a way that doesn’t create guarantees. <strong>Home goods and fragile products</strong> benefit from the edge-case language around damage, protective packaging, and carrier disruptions. <strong>Subscription and replenishment businesses</strong> apply it to explain renewal timing, fulfillment cycles, and what happens when an address change hits too late.</p>

</div>

<div class="faq-item">
<span class="question">Why do basic AI prompts for writing shipping policy templates produce weak results?</span>

<p class="answer">A typical prompt like &#8216;<em>Write me a shipping policy for my store</em>&#8216; fails because it: lacks delivery and handling ranges (so the model defaults to fluffy claims), provides no structured sections for tracking, international duties, peak season, and disruptions, ignores the “no absolute guarantees” requirement that prevents refunds and disputes, produces generic platform-specific wording instead of channel-agnostic templates, and misses protective language for events outside seller control like weather delays or customs holds.</p>

</div>

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

<p class="answer">Yes, but you’ll do it by supplying the operational facts the template needs: processing/handling ranges, order cutoff time, shipping methods you offer, tracking issuance timing, and how return shipping is handled (prepaid label, customer-paid, or conditional). International shipping is another key variable, especially who pays duties/taxes and what happens on refused packages. If the store sells fragile, oversized, or made-to-order items, call that out so the policy can include the right exceptions. A useful follow-up request is: “Rewrite the templates for (1) made-to-order items with 3–5 business days processing and (2) in-stock items with same-day processing before 1pm, keeping the same disruption and international sections.”</p>

</div>

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

<p class="answer">The biggest mistake is leaving delivery windows too vague — instead of “ships in a few days,” use “processing takes 1–3 business days; transit is 3–7 business days depending on location.” Another common error is forgetting the tracking rule; “we provide tracking” is weaker than “tracking is issued within 1–2 business days, and carrier scans may take 24–48 hours to update.” People also skip international duties/taxes, which leads to angry surprises; specify “duties and taxes are the buyer’s responsibility where applicable.” Finally, many stores omit peak-season capacity constraints; add a clear note like “processing may extend by 1–2 business days during holidays and major promotions.”</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this shipping policy templates prompt?</span>

<p class="answer">This prompt isn’t ideal for businesses that need legal counsel-level review (for example, heavily regulated products or complex cross-border tax obligations) because it’s not legal or tax advice. It’s also a poor fit if you’re looking for a one-line “fast shipping” blurb; the whole point is specificity without guarantees. And if you haven’t decided your actual handling times or shipping methods yet, you’ll stall at the clarification questions. In those cases, document your fulfillment reality first, then return to generate clean templates.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this shipping policy templates AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "E-commerce Operations Managers use this to standardize shipping language across channels while staying realistic about carrier variability. Customer Support Leads rely on it to reduce “where is my order” volume by making processing, transit, and tracking rules unmissable. Marketplace Compliance Specialists apply it when policy pages need stricter disclosure without sounding hostile. DTC Founders use it to stop overpromising on delivery dates while still protecting conversion at checkout."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this shipping policy templates AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Apparel and accessories brands get value because size exchanges, split shipments, and peak-season surges create constant delivery questions; clear ranges and tracking expectations cut churn. Beauty and personal care teams use it to address heat sensitivity, lost packages, and return-shipping handling in a way that doesn’t create guarantees. Home goods and fragile products benefit from the edge-case language around damage, protective packaging, and carrier disruptions. Subscription and replenishment businesses apply it to explain renewal timing, fulfillment cycles, and what happens when an address change hits too late."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for writing shipping policy templates produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like 'Write me a shipping policy for my store' fails because it: lacks delivery and handling ranges (so the model defaults to fluffy claims), provides no structured sections for tracking, international duties, peak season, and disruptions, ignores the “no absolute guarantees” requirement that prevents refunds and disputes, produces generic platform-specific wording instead of channel-agnostic templates, and misses protective language for events outside seller control like weather delays or customs holds."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this shipping policy templates prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, but you’ll do it by supplying the operational facts the template needs: processing/handling ranges, order cutoff time, shipping methods you offer, tracking issuance timing, and how return shipping is handled (prepaid label, customer-paid, or conditional). International shipping is another key variable, especially who pays duties/taxes and what happens on refused packages. If the store sells fragile, oversized, or made-to-order items, call that out so the policy can include the right exceptions. A useful follow-up request is: “Rewrite the templates for (1) made-to-order items with 3–5 business days processing and (2) in-stock items with same-day processing before 1pm, keeping the same disruption and international sections.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this shipping policy templates prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving delivery windows too vague — instead of “ships in a few days,” use “processing takes 1–3 business days; transit is 3–7 business days depending on location.” Another common error is forgetting the tracking rule; “we provide tracking” is weaker than “tracking is issued within 1–2 business days, and carrier scans may take 24–48 hours to update.” People also skip international duties/taxes, which leads to angry surprises; specify “duties and taxes are the buyer’s responsibility where applicable.” Finally, many stores omit peak-season capacity constraints; add a clear note like “processing may extend by 1–2 business days during holidays and major promotions.”"
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this shipping policy templates prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for businesses that need legal counsel-level review (for example, heavily regulated products or complex cross-border tax obligations) because it’s not legal or tax advice. It’s also a poor fit if you’re looking for a one-line “fast shipping” blurb; the whole point is specificity without guarantees. And if you haven’t decided your actual handling times or shipping methods yet, you’ll stall at the clarification questions. In those cases, document your fulfillment reality first, then return to generate clean templates."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Clear shipping language reduces tickets and protects your store from expectation blowups. Paste the prompt into ChatGPT, answer the minimum clarifying questions, and publish the templates with confidence.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5003005.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a 7-Day Budget Grocery Plan with this AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-7-day-budget-grocery-plan-with-this-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:04:25 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5000277</guid>

					<description><![CDATA[Grocery spend keeps creeping up - the ultimate AI Prompt that builds a 7-day cart, compares online retailers, and factors delivery fees. Explore thousands of AI prompts by function and industry.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: budget grocery plan -->
<div class="hook-introduction">

<p>Your grocery budget looks fine on paper. Then one “quick” refill turns into three separate orders, a handful of impulse add-ons, and a checkout total that’s somehow 30% higher than last week. Add delivery fees and minimums, and it gets messy fast.</p>



<p>This <strong>budget grocery plan</strong> is built for <strong>busy parents</strong> trying to feed a household without nightly “what’s for dinner?” debates, <strong>remote workers</strong> who rely on delivery and keep getting surprised by fees, and <strong>caregivers</strong> balancing nutrition needs with a strict cap. The output is a 7-day meal map, a consolidated shopping list, and item-by-item retailer recommendations (with backups) plus estimated totals.</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 builds a one-week grocery plan that stays within your budget while covering balanced nutrition.</li>
          <li>It allocates spend across categories (protein, produce, grains, dairy/alternatives, pantry staples, snacks/extras) and explains the tradeoffs.</li>
          <li>It compares 2–3 online retailers per item, then recommends a primary pick plus a backup with a clear rationale.</li>
          <li>It accounts for delivery fees, service fees, tips (if relevant), and minimum-order thresholds so “hidden costs” don’t wreck the total.</li>
          <li>It reduces waste by favoring high-utility ingredients that show up across multiple meals and fit your storage capacity.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re overspending because you shop in fragments, not one coordinated cart.</li>
          <li>You want delivery convenience, but you need the total to remain predictable after fees and minimums.</li>
          <li>You have dietary restrictions in the household and you’re tired of re-planning meals from scratch each week.</li>
          <li>Prices feel inconsistent across retailers, and you suspect “discounts” aren’t actually saving you money.</li>
          <li>You’re trying to standardize a repeatable weekly system, especially when life gets hectic.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A 7-day meal map with simple breakfast/lunch/dinner structure that reuses ingredients.</li>
           <li>A consolidated shopping list grouped by category, with suggested quantities for your household size.</li>
           <li>Item-by-item pricing coverage from 2–3 online retailers, including a recommended primary store and a backup per item.</li>
           <li>An estimated order total that includes delivery/service fees and calls out minimum-order thresholds.</li>
           <li>A short “assumptions + substitutions” section so you can adjust for pantry basics and dietary needs.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: 7-Day Budget Grocery Plan + Retailer Comparison</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>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Enter the total amount of money available for the one-week grocery plan, including delivery fees and tips if applicable.                                    <div class="var-example">For example: "$150 for one week, including delivery fees and tips."</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>[HOUSEHOLD_SIZE]</code></td>
                                <td class="var-desc">
                                    Specify the number of people the grocery plan will serve for the week.                                    <div class="var-example">For example: "4 people (2 adults, 2 children)."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[HOUSEHOLD_SIZE]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[LOCATION]</code></td>
                                <td class="var-desc">
                                    Provide the city, region, or area where the groceries will be purchased to account for retailer availability and regional price differences.                                    <div class="var-example">For example: "Austin, Texas."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[LOCATION]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[DIETARY_RESTRICTIONS]</code></td>
                                <td class="var-desc">
                                    List any dietary restrictions or preferences that must be considered, such as allergies or specific diets.                                    <div class="var-example">For example: "Gluten-free and vegetarian, with no peanuts due to allergies."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[DIETARY_RESTRICTIONS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[STORAGE_CAPACITY]</code></td>
                                <td class="var-desc">
                                    Describe the available storage space for groceries, including fridge, freezer, and pantry limitations.                                    <div class="var-example">For example: "Small fridge with freezer compartment and one pantry shelf."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[STORAGE_CAPACITY]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PREFERRED_RETAILERS]</code></td>
                                <td class="var-desc">
                                    List any online grocery retailers you prefer or commonly use for purchases.                                    <div class="var-example">For example: "Amazon Fresh, Walmart, Instacart."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PREFERRED_RETAILERS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[SKILL_LEVEL]</code></td>
                                <td class="var-desc">
                                    Indicate your cooking skill level and familiarity with meal planning to tailor the complexity of recipes and suggestions.                                    <div class="var-example">For example: "Beginner - can follow simple recipes but need clear instructions."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[SKILL_LEVEL]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Provide any specific formatting or placeholder text required in uppercase with underscores, if applicable.                                    <div class="var-example">For example: "EXAMPLE_PLACEHOLDER_TEXT."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

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

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="prompt-header-visible subheader">1) Pre-Analysis (must appear before the plan)</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) Budget &amp; Nutrition Allocation</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">3) Build the Category Shopping List</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">4) Online Price Recon &amp; Retailer Picks</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) Weekly Meal Map</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">6) Online-Specific Savings Playbook</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">7) Totals &amp; Savings Math</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">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 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 class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div><div class="locked-line" style="width: 70%;"></div><div class="locked-line" style="width: 83%;"></div><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">QUALITY CHECKS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div>            </div>
            <!-- Unlocked: Full content (hidden by default) -->
            <div class="prompt-content-full" id="premium-prompt-content" style="display: none;">
                ## OBJECTIVE
Build a one-week grocery purchase plan that keeps spending within **[BUDGET]**, covers balanced nutrition for **[HOUSEHOLD_SIZE]** people, and reduces decision fatigue by recommending the best-value **online retailers** per item (with backups). Include estimated totals, delivery-fee considerations, and a simple weekly meal map.

## PERSONA
You are a **budget grocery optimization specialist** and former restaurant supply-chain lead who left the industry after seeing systematic waste and margin games. You now work in community food access and constantly monitor online grocers’ pricing behaviors, seasonal shifts, and “discount” tactics. You prioritize practical nutrition, low waste, and repeatable systems over foodie novelty.

## CONSTRAINTS
- Keep the plan realistic for **[LOCATION]** retailer availability and regional price variance.
- Favor **high-utility ingredients** usable across multiple meals.
- Avoid premium/specialty items unless they are objectively better value per serving.
- Respect **[DIETARY_RESTRICTIONS]** and propose substitutions when needed.
- Consider **[STORAGE_CAPACITY]** when suggesting bulk sizes.
- Account for delivery fees, service fees, tips (if relevant), and minimum order thresholds by retailer.
- Price coverage: provide competitive prices from **2–3 online retailers** per item and recommend one primary choice with rationale plus an alternate.

## PROCESS
### 1) Pre-Analysis (must appear before the plan)
- Restate your understanding of the user’s goal and constraints in 3–6 bullets.
- List any assumptions you’re making (e.g., pantry basics on hand) and label them as assumptions.
- If any inputs are missing/unclear, ask up to 5 targeted questions; if the user wants you to proceed anyway, continue using conservative defaults.

### 2) Budget &amp; Nutrition Allocation
- Split **[BUDGET]** into spending buckets (protein, produce, grains/starches, dairy/alternatives, pantry staples, snacks/extras).
- Explain tradeoffs briefly (e.g., more legumes to offset meat price).

### 3) Build the Category Shopping List
- Produce a categorized list with quantities scaled to **[HOUSEHOLD_SIZE]** and aligned to a balanced week.
- Highlight items with long shelf life vs. quick-use items.

### 4) Online Price Recon &amp; Retailer Picks
- For each item, provide a comparison table across 2–3 retailers.
- Recommend the best place to buy each item, explaining the “why” (unit price, pack size, delivery threshold fit, quality consistency).
- Add a clear substitution option for:  
  - stockouts  
  - dietary limitations  
  - sudden price spikes

### 5) Weekly Meal Map
- Show how the cart becomes breakfasts, lunches, dinners, and at least 2 flexible “leftover” or “mix-and-match” meals.
- Keep recipes simple and repeat ingredients to reduce waste.

### 6) Online-Specific Savings Playbook
- Provide tactics tailored to online ordering: stacking promos carefully, first-order offers, subscribe-and-save (only if cancellable/beneficial), split orders to hit thresholds, pickup vs delivery break-even, etc.

### 7) Totals &amp; Savings Math
- Compute estimated subtotal + estimated fees (by retailer scenario where relevant).
- Provide an “average retail” comparison baseline and show estimated savings.

### What This Is NOT
- Not medical or clinical nutrition advice.
- Not a guarantee of exact real-time pricing (prices can change rapidly); you are providing best-available estimates and a decision framework.
- Not a gourmet or specialty-diet recipe book (unless the user explicitly requests it).
- Not brand-exclusive recommendations; prioritize value and availability.

## INPUTS
- **Weekly grocery budget:** [BUDGET]  
- **Household size:** [HOUSEHOLD_SIZE]  
- **Location (city + ZIP/postal code):** [LOCATION]  
- **Dietary restrictions/preferences:** [DIETARY_RESTRICTIONS]  
- **Storage constraints (fridge/freezer/pantry space):** [STORAGE_CAPACITY]  
- **Preferred online retailers (optional):** [PREFERRED_RETAILERS]  
- **Cooking time/skill level (optional):** [SKILL_LEVEL]  

## OUTPUT SPECIFICATION
Use clear headings and skimmable bullets. Include the following sections in this order:

1) **{Pre-Analysis Summary}**  
2) **{Budget Breakdown}** (bucket table with {Category}, {Planned Spend}, {Notes})  
3) **{One-Week Shopping List}** (by category; include {Item}, {Quantity}, {Notes on Shelf Life/Use})  
4) **{Price Comparison Tables}** for each category using this table format:  
   - {Item} | {Retailer} | {Price} | {Unit Price} | {Pack Size/Notes}  
   Retailer names should be **clickable** where possible.  
5) **{Retailer Recommendation}** per item: {Primary Pick} + {Reason} + {Backup Option}  
6) **{Meal Plan Overview}** (day-by-day or template-style)  
7) **{Online Savings Tactics}** (bullets)  
8) **{Summary Box}** at the end containing:
   - {Estimated Total}  
   - {Estimated Fees/Minimum Order Notes}  
   - {Estimated Savings vs Average Retail}  
   - {Top 3 Savings Opportunities}

## QUALITY CHECKS
Before finalizing, verify and correct if needed:
- Budget math: totals (including estimated fees) do not exceed **[BUDGET]** unless explicitly labeled as an optional stretch.
- Every listed item has 2–3 retailer price entries and one clear recommended retailer + fallback.
- Quantities scale logically with **[HOUSEHOLD_SIZE]** and do not contradict **[STORAGE_CAPACITY]**.
- Meal plan uses the listed groceries with minimal waste and balanced coverage (protein + fiber + produce across the week).
- All placeholders: user inputs use **[UPPERCASE_WITH_UNDERSCORES]**; 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\nBuild a one-week grocery purchase plan that keeps spending within **[BUDGET]**, covers balanced nutrition for **[HOUSEHOLD_SIZE]** people, and reduces decision fatigue by recommending the best-value **online retailers** per item (with backups). Include estimated totals, delivery-fee considerations, and a simple weekly meal map.\r\n\r\n## PERSONA\r\nYou are a **budget grocery optimization specialist** and former restaurant supply-chain lead who left the industry after seeing systematic waste and margin games. You now work in community food access and constantly monitor online grocers\u2019 pricing behaviors, seasonal shifts, and \u201cdiscount\u201d tactics. You prioritize practical nutrition, low waste, and repeatable systems over foodie novelty.\r\n\r\n## CONSTRAINTS\r\n- Keep the plan realistic for **[LOCATION]** retailer availability and regional price variance.\r\n- Favor **high-utility ingredients** usable across multiple meals.\r\n- Avoid premium\/specialty items unless they are objectively better value per serving.\r\n- Respect **[DIETARY_RESTRICTIONS]** and propose substitutions when needed.\r\n- Consider **[STORAGE_CAPACITY]** when suggesting bulk sizes.\r\n- Account for delivery fees, service fees, tips (if relevant), and minimum order thresholds by retailer.\r\n- Price coverage: provide competitive prices from **2\u20133 online retailers** per item and recommend one primary choice with rationale plus an alternate.\r\n\r\n## PROCESS\r\n### 1) Pre-Analysis (must appear before the plan)\r\n- Restate your understanding of the user\u2019s goal and constraints in 3\u20136 bullets.\r\n- List any assumptions you\u2019re making (e.g., pantry basics on hand) and label them as assumptions.\r\n- If any inputs are missing\/unclear, ask up to 5 targeted questions; if the user wants you to proceed anyway, continue using conservative defaults.\r\n\r\n### 2) Budget & Nutrition Allocation\r\n- Split **[BUDGET]** into spending buckets (protein, produce, grains\/starches, dairy\/alternatives, pantry staples, snacks\/extras).\r\n- Explain tradeoffs briefly (e.g., more legumes to offset meat price).\r\n\r\n### 3) Build the Category Shopping List\r\n- Produce a categorized list with quantities scaled to **[HOUSEHOLD_SIZE]** and aligned to a balanced week.\r\n- Highlight items with long shelf life vs. quick-use items.\r\n\r\n### 4) Online Price Recon & Retailer Picks\r\n- For each item, provide a comparison table across 2\u20133 retailers.\r\n- Recommend the best place to buy each item, explaining the \u201cwhy\u201d (unit price, pack size, delivery threshold fit, quality consistency).\r\n- Add a clear substitution option for:  \r\n  - stockouts  \r\n  - dietary limitations  \r\n  - sudden price spikes\r\n\r\n### 5) Weekly Meal Map\r\n- Show how the cart becomes breakfasts, lunches, dinners, and at least 2 flexible \u201cleftover\u201d or \u201cmix-and-match\u201d meals.\r\n- Keep recipes simple and repeat ingredients to reduce waste.\r\n\r\n### 6) Online-Specific Savings Playbook\r\n- Provide tactics tailored to online ordering: stacking promos carefully, first-order offers, subscribe-and-save (only if cancellable\/beneficial), split orders to hit thresholds, pickup vs delivery break-even, etc.\r\n\r\n### 7) Totals & Savings Math\r\n- Compute estimated subtotal + estimated fees (by retailer scenario where relevant).\r\n- Provide an \u201caverage retail\u201d comparison baseline and show estimated savings.\r\n\r\n### What This Is NOT\r\n- Not medical or clinical nutrition advice.\r\n- Not a guarantee of exact real-time pricing (prices can change rapidly); you are providing best-available estimates and a decision framework.\r\n- Not a gourmet or specialty-diet recipe book (unless the user explicitly requests it).\r\n- Not brand-exclusive recommendations; prioritize value and availability.\r\n\r\n## INPUTS\r\n- **Weekly grocery budget:** [BUDGET]  \r\n- **Household size:** [HOUSEHOLD_SIZE]  \r\n- **Location (city + ZIP\/postal code):** [LOCATION]  \r\n- **Dietary restrictions\/preferences:** [DIETARY_RESTRICTIONS]  \r\n- **Storage constraints (fridge\/freezer\/pantry space):** [STORAGE_CAPACITY]  \r\n- **Preferred online retailers (optional):** [PREFERRED_RETAILERS]  \r\n- **Cooking time\/skill level (optional):** [SKILL_LEVEL]  \r\n\r\n## OUTPUT SPECIFICATION\r\nUse clear headings and skimmable bullets. Include the following sections in this order:\r\n\r\n1) **{Pre-Analysis Summary}**  \r\n2) **{Budget Breakdown}** (bucket table with {Category}, {Planned Spend}, {Notes})  \r\n3) **{One-Week Shopping List}** (by category; include {Item}, {Quantity}, {Notes on Shelf Life\/Use})  \r\n4) **{Price Comparison Tables}** for each category using this table format:  \r\n   - {Item} | {Retailer} | {Price} | {Unit Price} | {Pack Size\/Notes}  \r\n   Retailer names should be **clickable** where possible.  \r\n5) **{Retailer Recommendation}** per item: {Primary Pick} + {Reason} + {Backup Option}  \r\n6) **{Meal Plan Overview}** (day-by-day or template-style)  \r\n7) **{Online Savings Tactics}** (bullets)  \r\n8) **{Summary Box}** at the end containing:\r\n   - {Estimated Total}  \r\n   - {Estimated Fees\/Minimum Order Notes}  \r\n   - {Estimated Savings vs Average Retail}  \r\n   - {Top 3 Savings Opportunities}\r\n\r\n## QUALITY CHECKS\r\nBefore finalizing, verify and correct if needed:\r\n- Budget math: totals (including estimated fees) do not exceed **[BUDGET]** unless explicitly labeled as an optional stretch.\r\n- Every listed item has 2\u20133 retailer price entries and one clear recommended retailer + fallback.\r\n- Quantities scale logically with **[HOUSEHOLD_SIZE]** and do not contradict **[STORAGE_CAPACITY]**.\r\n- Meal plan uses the listed groceries with minimal waste and balanced coverage (protein + fiber + produce across the week).\r\n- All placeholders: user inputs use **[UPPERCASE_WITH_UNDERSCORES]**; AI-filled fields use **{Title Case}**.";
    const variables = ["[BUDGET]","[HOUSEHOLD_SIZE]","[LOCATION]","[DIETARY_RESTRICTIONS]","[STORAGE_CAPACITY]","[PREFERRED_RETAILERS]","[SKILL_LEVEL]","[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>Be painfully specific about the budget reality.</strong> Don’t just share a weekly number; clarify if it must include delivery, tips, and household staples like paper goods. Add a note like: “$140 all-in, including fees, and I can’t exceed it because payday is next Friday.” You’ll get a plan that respects the real ceiling.</li>


<li><strong>List “no-go” foods and your easiest wins.</strong> Dietary restrictions matter, but so do preferences that cause waste (the spinach that always wilts, the yogurt nobody eats). Try a follow-up prompt: “Replace any low-utility perishables with frozen or shelf-stable equivalents and keep the same nutrition targets.”</li>


<li><strong>Tell it what storage looks like.</strong> A small freezer changes everything, honestly. If you can’t store bulk proteins or frozen veg, the prompt should shift toward smaller pack sizes and longer-life produce (carrots, cabbage, apples). If you can store, ask: “Lean into bulk sizes where cost per serving drops, but keep waste near zero.”</li>


<li><strong>Iterate on the retailer choices after the first draft.</strong> Once you see the primary and backup retailers, refine the strategy. Ask: “Now prioritize fewer stores (max 2) even if the total rises by up to 3%, and explain what changed.” Or flip it: “Optimize for lowest total even if it means 3 retailers.”</li>


<li><strong>Request a “repeatable template week” you can reuse.</strong> The fastest savings come from stability, not constant novelty. Use: “Convert this into a base week I can repeat for 4 weeks, then provide a small rotation list (5 swaps) to prevent boredom without changing the budget.”</li>

</ul>

</div>

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

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



<p>If you want to make this grocery system easier to run week after week, these related prompts help you plan, summarize, and build quick references.</p>



<p>If you also need a clean summary you can pin in a notes app (or share with a partner), <a href="https://flowpast.com/prompts/create-essential-topic-takeaways-with-this-ai-prompt/">Create Essential Topic Takeaways with this AI Prompt</a> is a good companion. After you generate your weekly plan, use it to extract the rules that matter, like “default breakfast options,” “approved snacks,” and “when to buy frozen vs fresh.” The result is less decision fatigue next time.</p>



<p>For teams doing more structured planning (meal prep for a household, caregiving schedules, or even a community pantry workflow), <a href="https://flowpast.com/prompts/build-a-topic-research-plan-with-this-ai-prompt/">Build a Topic Research Plan with this AI Prompt</a> can help you formalize what to test. Think: tracking price changes at two retailers, logging which meals had leftovers, and setting a simple weekly review routine. It turns “we should budget better” into an actual process.</p>



<p>When your household gets bored of the same dinners, novelty can quietly explode your cart total. <a href="https://flowpast.com/prompts/build-a-topic-concept-map-with-this-ai-prompt/">Build a Topic Concept Map with this AI Prompt</a> is a surprisingly useful way to map “meal families” from a small ingredient set (chicken becomes tacos, bowls, salads, soups). You keep the same core groceries while still changing the feel of the week.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/create-essential-topic-takeaways-with-this-ai-prompt/">Create Essential Topic Takeaways with this AI Prompt</a>: Turn plans into reusable rules.</li>


<li><a href="https://flowpast.com/prompts/build-a-topic-research-plan-with-this-ai-prompt/">Build a Topic Research Plan with this AI Prompt</a>: Set up a repeatable improvement process.</li>


<li><a href="https://flowpast.com/prompts/build-a-topic-concept-map-with-this-ai-prompt/">Build a Topic Concept Map with this AI Prompt</a>: Expand meals without expanding ingredients.</li>


<li><a href="https://flowpast.com/prompts/generate-distinctive-essay-topics-ai-prompt/">Generate Distinctive Essay Topics AI Prompt</a>: Quick idea generation from constraints.</li>


<li><a href="https://flowpast.com/prompts/write-cohesive-satire-on-any-topic-with-this-ai-prompt/">Write Cohesive Satire on Any Topic with this AI Prompt</a>: Creative writing practice and tone control.</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 budget grocery plan AI prompt?</span>

<p class="answer"><strong>Household managers</strong> use this to turn a vague weekly budget into one cart, one meal map, and fewer “extra” store runs. <strong>Personal finance coaches</strong> apply it to create a practical spending system clients can repeat, including fee awareness and tradeoffs by category. <strong>Care coordinators</strong> (supporting seniors or multi-generational households) find it helpful for aligning dietary needs with storage limits and predictable delivery schedules. <strong>Operations-minded meal preppers</strong> use it to standardize ingredients, reduce waste, and keep nutrition consistent without constant planning.</p>

</div>

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

<p class="answer"><strong>Grocery delivery and last-mile services</strong> can use the structure to understand how fees, minimums, and substitutions change customer behavior across the week. <strong>Healthcare and nutrition programs</strong> (community clinics, health coaches, wellness initiatives) can adapt the plan format to produce realistic meal maps that respect restrictions and limited storage. <strong>Social services and community food access organizations</strong> may use it to design low-waste weekly baskets that are practical for real households, not idealized recipes. <strong>Employee benefits and HR wellness teams</strong> can share a simplified version as a “budget-friendly week” template to support staff dealing with rising food costs.</p>

</div>

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

<p class="answer">A typical prompt like &#8220;<em>Write me a 7-day grocery plan under $150</em>&#8221; fails because it: lacks your location context (so retailer availability and regional prices are guessed), provides no fee handling (delivery, service fees, tips, and minimums get ignored), and skips a category allocation that prevents protein-heavy overspending early in the cart. It also ignores storage capacity, which leads to waste-heavy recommendations like “buy in bulk” when you cannot store it. Finally, it produces generic meal ideas instead of an item-level list that compares 2–3 online retailers and gives a primary choice with a backup.</p>

</div>

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

<p class="answer">Yes. The best results come from tightening the inputs: set BUDGET as an all-in ceiling (or specify fees separately), define HOUSEHOLD_SIZE and who has different needs, and be explicit about LOCATION so the retailer comparison stays realistic. DIETARY_RESTRICTIONS should include hard rules (allergies) plus “soft” preferences that drive waste, and STORAGE_CAPACITY should mention freezer/fridge space. After the first output, ask: “Revise the plan to reduce cook time on weekdays to 20 minutes max, keep lunches packable, and re-check the total including delivery fees.”</p>

</div>

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

<p class="answer">The biggest mistake is leaving LOCATION vague — instead of “USA,” try “Austin, TX; can use Walmart, H‑E‑B delivery, and Instacart; avoiding specialty stores.” Another common error is treating DIETARY_RESTRICTIONS as generic; “eat healthier” isn’t actionable, but “low-sodium, no peanuts, lactose-free milk only” is. People also misstate STORAGE_CAPACITY: “normal fridge” leads to bad bulk assumptions, while “apartment fridge, no chest freezer, one freezer drawer” produces realistic sizes. Finally, BUDGET gets entered without clarifying if it includes fees; “$120 plus fees” and “$120 total after fees” yield very different carts.</p>

</div>

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

<p class="answer">This prompt isn’t ideal for one-off, gourmet-focused cooking weeks where novelty ingredients are the whole point, because it intentionally prioritizes high-utility staples. It’s also a poor fit if you refuse to use online retailers or delivery at all, since retailer comparison and fee handling are core to the output. And if you have not decided a realistic budget range yet, you may get better results by first tracking a week of receipts and then coming back with a firm ceiling. If that’s you, start with a simple expense baseline, then run the prompt with clearer constraints.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this budget grocery plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Household managers use this to turn a vague weekly budget into one cart, one meal map, and fewer “extra” store runs. Personal finance coaches apply it to create a practical spending system clients can repeat, including fee awareness and tradeoffs by category. Care coordinators (supporting seniors or multi-generational households) find it helpful for aligning dietary needs with storage limits and predictable delivery schedules. Operations-minded meal preppers use it to standardize ingredients, reduce waste, and keep nutrition consistent without constant planning."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this budget grocery plan AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Grocery delivery and last-mile services can use the structure to understand how fees, minimums, and substitutions change customer behavior across the week. Healthcare and nutrition programs (community clinics, health coaches, wellness initiatives) can adapt the plan format to produce realistic meal maps that respect restrictions and limited storage. Social services and community food access organizations may use it to design low-waste weekly baskets that are practical for real households, not idealized recipes. Employee benefits and HR wellness teams can share a simplified version as a “budget-friendly week” template to support staff dealing with rising food costs."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for building a 7-day grocery plan produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like \"Write me a 7-day grocery plan under $150\" fails because it: lacks your location context (so retailer availability and regional prices are guessed), provides no fee handling (delivery, service fees, tips, and minimums get ignored), and skips a category allocation that prevents protein-heavy overspending early in the cart. It also ignores storage capacity, which leads to waste-heavy recommendations like “buy in bulk” when you cannot store it. Finally, it produces generic meal ideas instead of an item-level list that compares 2–3 online retailers and gives a primary choice with a backup."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this budget grocery plan prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. The best results come from tightening the inputs: set BUDGET as an all-in ceiling (or specify fees separately), define HOUSEHOLD_SIZE and who has different needs, and be explicit about LOCATION so the retailer comparison stays realistic. DIETARY_RESTRICTIONS should include hard rules (allergies) plus “soft” preferences that drive waste, and STORAGE_CAPACITY should mention freezer/fridge space. After the first output, ask: “Revise the plan to reduce cook time on weekdays to 20 minutes max, keep lunches packable, and re-check the total including delivery fees.”"
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this budget grocery plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is leaving LOCATION vague — instead of “USA,” try “Austin, TX; can use Walmart, H‑E‑B delivery, and Instacart; avoiding specialty stores.” Another common error is treating DIETARY_RESTRICTIONS as generic; “eat healthier” isn’t actionable, but “low-sodium, no peanuts, lactose-free milk only” is. People also misstate STORAGE_CAPACITY: “normal fridge” leads to bad bulk assumptions, while “apartment fridge, no chest freezer, one freezer drawer” produces realistic sizes. Finally, BUDGET gets entered without clarifying if it includes fees; “$120 plus fees” and “$120 total after fees” yield very different carts."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this budget grocery plan prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off, gourmet-focused cooking weeks where novelty ingredients are the whole point, because it intentionally prioritizes high-utility staples. It’s also a poor fit if you refuse to use online retailers or delivery at all, since retailer comparison and fee handling are core to the output. And if you have not decided a realistic budget range yet, you may get better results by first tracking a week of receipts and then coming back with a firm ceiling. If that’s you, start with a simple expense baseline, then run the prompt with clearer constraints."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Grocery savings rarely come from one big hack. They come from a plan you can repeat, with totals you can trust. Paste the prompt into your AI tool, answer the questions, and build next week’s cart in one sitting.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5000277.webp" medium="image"></media:content>
            	</item>
		<item>
		<title>Build a Configurable Tracking Platform AI Prompt</title>
		<link>https://flowpast.com/prompts/build-a-configurable-tracking-platform-ai-prompt/</link>
		
		<dc:creator><![CDATA[Lisa Granqvist]]></dc:creator>
		<pubDate>Fri, 23 Jan 2026 02:02:38 +0000</pubDate>
				<category><![CDATA[Prompts]]></category>
		<guid isPermaLink="false">https://flowpast.com/?p=5001393</guid>

					<description><![CDATA[Scope creep kills platform builds - the ultimate AI Prompt that specs schema, RLS, realtime, UI, and analytics for React and Supabase. Discover more AI prompts for marketing, sales, and ops.]]></description>
										<content:encoded><![CDATA[<!-- FOCUS_KEYWORD: tracking platform prompt -->
<div class="hook-introduction">

<p>“Tracking platform” sounds simple until you start building. Then you hit scope creep, unclear permissions, brittle status logic, and a dashboard that’s basically a guess. The worst part is discovering late that your schema can’t handle real-time updates at scale.</p>



<p>This <strong>tracking platform prompt</strong> is built for <strong>product leads</strong> trying to turn a fuzzy “we need tracking” idea into buildable specs, <strong>engineering managers</strong> who need a safe multi-tenant Supabase design with RLS from day one, and <strong>implementation consultants</strong> mapping client workflows into configurable entity types and status pipelines. The output is a production-grade technical blueprint: schema tables, RLS policy direction, realtime wiring, React component boundaries, and analytics patterns for a React + TypeScript + Supabase stack.</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 ambiguous “tracking system” request into a concrete architecture outline with modules for admin configuration, tracking UI, realtime sync, analytics, and exports.</li>
          <li>It designs a Supabase/Postgres data model that supports custom entity types and bespoke status pipelines without rewriting code for every workflow.</li>
          <li>It specifies query patterns and data-access boundaries (what the client reads, what is handled via RPC, and where to cache or paginate).</li>
          <li>It details realtime behavior using Supabase realtime events, including subscription strategy, UI state updates, and conflict handling.</li>
          <li>It bakes in enterprise constraints: tenant isolation, role-based permissions, and explicit scale targets for 10k+ items and high event volume.</li>
       </ul>
      </td>
      <td>
        <ul class="results-list">
          <li>You’re starting a new React + Supabase build and need to lock schema and security decisions before the first sprint.</li>
          <li>A “simple tracker” has ballooned into 20 edge cases, and requirements are arriving through meetings instead of documentation.</li>
          <li>You have multiple departments asking for different workflows, but you can’t afford separate apps or hardcoded status logic.</li>
          <li>Stakeholders want real-time monitoring, auditability, and dashboards, yet your current plan is “we’ll add it later.”</li>
          <li>You’re preparing to scale usage (more orgs, more users, more records) and need guardrails around performance and permissions.</li>
        </ul>
      </td>
       <td>
         <ul class="deliverables-list">
           <li>A buildable schema plan that covers entities, status definitions, event history, memberships, and multi-tenant boundaries.</li>
           <li>A security and RLS checklist with policy directions for tenant isolation and role-scoped access paths.</li>
           <li>A React UI blueprint: page map, component boundaries, and the admin configurator flow for non-engineers.</li>
           <li>A realtime wiring plan that outlines channels, subscription rules, and UI update patterns for “shipping-status clarity.”</li>
           <li>An analytics and reporting outline, including dashboard metrics and a Recharts-ready data approach.</li>
         </ul>
       </td>
    </tr>
  </tbody>
</table>

</div>

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

<h2 class="wp-block-heading">The Full AI Prompt: Configurable Tracking Platform 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>[TARGET_AUDIENCE]</code></td>
                                <td class="var-desc">
                                    Describe the primary users or customer segments for the product, including their roles, needs, and challenges.                                    <div class="var-example">For example: "Enterprise operations managers in logistics companies who need to track shipments and optimize delivery pipelines."</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>[PRODUCT_DESCRIPTION]</code></td>
                                <td class="var-desc">
                                    Provide a concise overview of the product, highlighting its purpose and key functionalities.                                    <div class="var-example">For example: "A configurable tracking platform that allows organizations to monitor workflows, visualize progress, and manage complex pipelines in real-time."</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>[INDUSTRY]</code></td>
                                <td class="var-desc">
                                    Specify the industry or domain the product is targeting, including any relevant sub-sectors.                                    <div class="var-example">For example: "Logistics and supply chain management."</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 or specific circumstances that inform the product&#039;s design and use case.                                    <div class="var-example">For example: "The platform is intended for use in high-volume environments where real-time tracking and multi-user collaboration are critical."</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">
                                    Define the main objective the product aims to achieve for its users.                                    <div class="var-example">For example: "Enable organizations to efficiently track and manage workflows with minimal manual intervention."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PRIMARY_GOAL]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TECH_STACK]</code></td>
                                <td class="var-desc">
                                    List the technologies, frameworks, and tools that will be used to build the product.                                    <div class="var-example">For example: "React, TypeScript, Supabase (PostgreSQL + realtime), Tailwind CSS, Recharts, React Router."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[TECH_STACK]"
                                            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 communication the product should convey to its users.                                    <div class="var-example">For example: "Pragmatic, implementation-focused, and professional, with clear and concise messaging."</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>[FEATURES]</code></td>
                                <td class="var-desc">
                                    List the key features or functionalities the product should include.                                    <div class="var-example">For example: "Customizable entity types, real-time progress tracking, role-based permissions, and analytics dashboards."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[FEATURES]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[PERFORMANCE_REQUIREMENTS]</code></td>
                                <td class="var-desc">
                                    Specify the expected scalability and performance targets for the product.                                    <div class="var-example">For example: "Support for 10k+ items, 500+ concurrent users, and high event volume with minimal latency."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[PERFORMANCE_REQUIREMENTS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[USER_ACCESS_LEVELS]</code></td>
                                <td class="var-desc">
                                    Define the different roles and permissions that users will have within the system.                                    <div class="var-example">For example: "Admin, Manager, Viewer; admins can configure workflows, managers can update statuses, and viewers can only track progress."</div>
                                </td>
                                <td class="var-input">
                                                                            <textarea
                                            class="customize-input"
                                            data-placeholder="[USER_ACCESS_LEVELS]"
                                            placeholder="Enter your value here..."
                                            rows="3"></textarea>
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[TIMEFRAME]</code></td>
                                <td class="var-desc">
                                    Provide the expected timeline for delivering the product or specific milestones.                                    <div class="var-example">For example: "Initial MVP to be delivered within 12 weeks, with full production readiness in 6 months."</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[TIMEFRAME]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                                    <tr>
                                <td class="var-name"><code>[BUDGET]</code></td>
                                <td class="var-desc">
                                    Specify the financial constraints or funding allocated for the project.                                    <div class="var-example">For example: "$150,000 for development and initial deployment."</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>[UPPERCASE_WITH_UNDERSCORES]</code></td>
                                <td class="var-desc">
                                    Provide a value formatted in uppercase letters with underscores separating words.                                    <div class="var-example">For example: "TRACKING_PLATFORM_CONFIGURATOR"</div>
                                </td>
                                <td class="var-input">
                                                                            <input
                                            type="text"
                                            class="customize-input"
                                            data-placeholder="[UPPERCASE_WITH_UNDERSCORES]"
                                            placeholder="Enter your value here..." />
                                                                    </td>
                            </tr>
                                            </tbody>
                </table>

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

        <!-- Prompt Content -->
        <div class="prompt-box prompt-gated-wrapper">
            <!-- Gated: Blurred content -->
            <div class="prompt-gated-content">
                <div class="prompt-header-visible">OBJECTIVE</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PERSONA</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">CONSTRAINTS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div></div></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible">PROCESS</div><div class="locked-section"><div class="locked-section-bg"><div class="locked-section-lines"><div class="locked-line" style="width: 85%;"></div><div class="locked-line" style="width: 78%;"></div><div class="locked-line" style="width: 92%;"></div><div class="locked-line" style="width: 75%;"></div><div class="locked-line" style="width: 88%;"></div><div class="locked-line" style="width: 72%;"></div><div class="locked-line" style="width: 80%;"></div><div class="locked-line" style="width: 95%;"></div></div></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">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) {Schema Design}</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></div><div class="locked-section-icon">🔒</div></div><div class="prompt-header-visible subheader">2) {Admin Configuration}</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">3) {Tracking Interface}</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) {Realtime Engine}</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">5) {Analytics Module}</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) {Polish Implementation}</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) {Performance 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></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 a production-grade, highly configurable tracking platform that lets organizations model any workflow (logistics, healthcare, projects, etc.) by creating custom trackable entity types, bespoke status pipelines, and real-time progress monitoring—built specifically for a React + TypeScript + Supabase stack and optimized for enterprise-scale usage.

## PERSONA
You are a senior full-stack systems designer and delivery lead with deep experience shipping high-throughput tracking products. Your style is pragmatic and implementation-forward: you translate ambiguous requirements into stable schemas, resilient real-time flows, and polished UI behavior. You favor maintainable patterns, measurable performance, and admin experiences that non-engineers can safely configure.

## CONSTRAINTS
- Use the specified stack: **React + TypeScript, Supabase (PostgreSQL + realtime), Tailwind CSS**, plus **Recharts** and **React Router** where needed.
- The deliverable must be “buildable”: include concrete schema objects, query patterns, component boundaries, and realtime wiring—not abstract advice.
- Scale targets must be addressed explicitly (10k+ items, many concurrent users, high event volume).
- UX must match the requested visual direction (minimal, crisp, “shipping-status clarity”, dark mode, emerald accent **#10b981**).
- Security must be first-class: role-based permissions, tenant/data isolation, and Supabase RLS policies.
- Use a structured technical documentation layout with clear headings and ordered build steps (schema → API/data access → UI → realtime → analytics → hardening → deployment).

## PROCESS
1. **Pre-analysis (mandatory):** Restate what you’re building, list key assumptions, and call out any missing inputs you need. If anything is ambiguous, propose 2–3 sensible options and proceed with the best default.
2. **Architecture outline:** Provide a module map (data model, admin configurator, tracking UI, realtime sync, analytics, exports, hardening).
3. **Schema-first build:** Define the Postgres/Supabase schema, constraints, indexes, and RLS. Explain why each table exists and how it supports flexibility.
4. **Frontend blueprint:** Define route structure, component hierarchy, and state/data strategy (including caching and invalidation).
5. **Realtime implementation:** Specify subscriptions, event shapes, conflict handling, optimistic updates, and presence/awareness if applicable.
6. **Analytics design:** Provide aggregation strategy, queries/materialized views if needed, and dashboard composition with Recharts.
7. **Production readiness:** Cover migrations, observability basics, error boundaries, loading UX, performance tactics, and deployment notes.
8. **Edge cases:** Include handling for large boards, massive custom fields, permission mismatches, offline/latency, and race conditions.

### What This Is NOT
- Not a generic “idea” outline or product brief.
- Not a framework comparison or alternative-stack proposal.
- Not a full codebase dump for every file; instead, provide representative code patterns and the critical, copy-pastable pieces (schema/RLS, key hooks, subscription wiring, and core components).

## INPUTS
- **Primary user segment / ideal recipient:** [TARGET_AUDIENCE]
- **Product summary:** [PRODUCT_DESCRIPTION]
- **Industry / domain(s):** [INDUSTRY]
- **Background context (deadlines, constraints, current state):** [CONTEXT]
- **Primary outcome to optimize for (e.g., flexibility, auditability, speed):** [PRIMARY_GOAL]
- **Tech stack (confirm or override defaults):** [TECH_STACK]
- **UI direction (brand look, colors, dark mode rules):** [BRAND_VOICE]
- **Key features list:** [FEATURES]
- **Performance targets (numbers, concurrency, event volume):** [PERFORMANCE_REQUIREMENTS]
- **Access roles + rules:** [USER_ACCESS_LEVELS]
- **Time expectations / delivery timeline:** [TIMEFRAME]
- **Budget guardrails (optional):** [BUDGET]

## OUTPUT SPECIFICATION
Use the following sections and include the specified artifacts inside each.

### 1) {Schema Design}
Provide:
- Tables with columns and types for:
  - {Tenant/Workspace}
  - {Users &amp; Memberships}
  - {Role Assignments}
  - {Trackable Type Definitions}
  - {Trackable Items}
  - {Status Pipelines}
  - {Status Stages}
  - {Item Status History / Timeline Events}
  - {Custom Field Templates}
  - {Custom Field Values} (EAV/JSONB hybrid rationale required)
  - {Comments/Attachments} (if in scope)
- Foreign keys, constraints, and cascade rules
- Index plan (including partial indexes, GIN indexes for JSONB, and sort-supporting indexes)
- Supabase RLS policies for {Admin}, {Editor}, {Viewer} with tenant isolation
- Suggested migration approach and seed data strategy

### 2) {Admin Configuration}
Provide:
- UI module breakdown for admin setup:
  - {Trackable Type Builder}
  - {Pipeline Builder} (stages, WIP limits optional, stage rules)
  - {Custom Field Designer} (field kinds, validation, default values)
- Core React component map and route tree: {Route} → {Page} → {Key Components}
- Form strategy (e.g., RHF/Zod if used) and validation rules
- Patterns for saving drafts vs publishing schema changes
- Safety rails: preventing breaking changes to in-use types

### 3) {Tracking Interface}
Provide:
- Main views: {Kanban}, {List}, {Timeline/Detail Drawer}, {Search &amp; Filters}
- Drag/drop strategy (library-agnostic or specify one) including persistence workflow
- Inline edit patterns with optimistic updates
- Bulk actions and column configuration (user preferences)
- Data fetching approach (React Query or equivalent) with pagination/virtualization plan

### 4) {Realtime Engine}
Provide:
- Supabase channel setup examples with:
  - {Subscriptions} by tenant + entity type
  - {Row Level Events} handling (insert/update/delete)
- Client state synchronization strategy:
  - dedupe, ordering, and idempotency
  - conflict handling for simultaneous edits
  - optimistic UI rollback rules
- Presence/awareness behavior (optional) and how it impacts UX
- Suggested event payload conventions and security considerations

### 5) {Analytics Module}
Provide:
- Dashboard sections: {Throughput}, {Cycle Time}, {Stage Aging}, {SLA Breaches}, {Workload}
- Postgres queries (or views/materialized views) for aggregates at scale
- Recharts component patterns for each chart type
- Performance strategy: caching, incremental refresh, time-bucketing, and indices supporting analytics

### 6) {Polish Implementation}
Provide:
- Loading skeletons and perceived-performance tactics
- Error boundaries + retry UX + empty states
- Responsive layout rules (mobile-first constraints)
- Export paths: {CSV}, {JSON}, and optional {Webhook} design
- Accessibility basics (keyboard nav for boards, color contrast for dark mode)

### 7) {Performance Optimization}
Provide:
- Virtualization approach for lists/boards: {Library/Technique}, {Row Height Strategy}
- Debounced search + server-side filtering patterns
- React Query (or alternative) caching keys, invalidation rules, and stale-time recommendations
- Database-side scaling notes: connection pooling, query shape, avoiding N+1
- Monitoring metrics to watch: {p95 Latency}, {Subscription Fanout}, {DB CPU}, {Cache Hit Rate}

## QUALITY CHECKS
At the end, include a verification list confirming:
- All user-input variables are in **[UPPERCASE_WITH_UNDERSCORES]** and all template placeholders use **{Title Case}**
- RLS policies enforce tenant isolation and role permissions correctly
- Schema supports new entity types/pipelines without migrations for routine changes
- UI and realtime plan remains responsive at the stated scale targets
- Analytics queries are index-supported and won’t degrade core transactional performance            </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 a production-grade, highly configurable tracking platform that lets organizations model any workflow (logistics, healthcare, projects, etc.) by creating custom trackable entity types, bespoke status pipelines, and real-time progress monitoring\u2014built specifically for a React + TypeScript + Supabase stack and optimized for enterprise-scale usage.\r\n\r\n## PERSONA\r\nYou are a senior full-stack systems designer and delivery lead with deep experience shipping high-throughput tracking products. Your style is pragmatic and implementation-forward: you translate ambiguous requirements into stable schemas, resilient real-time flows, and polished UI behavior. You favor maintainable patterns, measurable performance, and admin experiences that non-engineers can safely configure.\r\n\r\n## CONSTRAINTS\r\n- Use the specified stack: **React + TypeScript, Supabase (PostgreSQL + realtime), Tailwind CSS**, plus **Recharts** and **React Router** where needed.\r\n- The deliverable must be \u201cbuildable\u201d: include concrete schema objects, query patterns, component boundaries, and realtime wiring\u2014not abstract advice.\r\n- Scale targets must be addressed explicitly (10k+ items, many concurrent users, high event volume).\r\n- UX must match the requested visual direction (minimal, crisp, \u201cshipping-status clarity\u201d, dark mode, emerald accent **#10b981**).\r\n- Security must be first-class: role-based permissions, tenant\/data isolation, and Supabase RLS policies.\r\n- Use a structured technical documentation layout with clear headings and ordered build steps (schema \u2192 API\/data access \u2192 UI \u2192 realtime \u2192 analytics \u2192 hardening \u2192 deployment).\r\n\r\n## PROCESS\r\n1. **Pre-analysis (mandatory):** Restate what you\u2019re building, list key assumptions, and call out any missing inputs you need. If anything is ambiguous, propose 2\u20133 sensible options and proceed with the best default.\r\n2. **Architecture outline:** Provide a module map (data model, admin configurator, tracking UI, realtime sync, analytics, exports, hardening).\r\n3. **Schema-first build:** Define the Postgres\/Supabase schema, constraints, indexes, and RLS. Explain why each table exists and how it supports flexibility.\r\n4. **Frontend blueprint:** Define route structure, component hierarchy, and state\/data strategy (including caching and invalidation).\r\n5. **Realtime implementation:** Specify subscriptions, event shapes, conflict handling, optimistic updates, and presence\/awareness if applicable.\r\n6. **Analytics design:** Provide aggregation strategy, queries\/materialized views if needed, and dashboard composition with Recharts.\r\n7. **Production readiness:** Cover migrations, observability basics, error boundaries, loading UX, performance tactics, and deployment notes.\r\n8. **Edge cases:** Include handling for large boards, massive custom fields, permission mismatches, offline\/latency, and race conditions.\r\n\r\n### What This Is NOT\r\n- Not a generic \u201cidea\u201d outline or product brief.\r\n- Not a framework comparison or alternative-stack proposal.\r\n- Not a full codebase dump for every file; instead, provide representative code patterns and the critical, copy-pastable pieces (schema\/RLS, key hooks, subscription wiring, and core components).\r\n\r\n## INPUTS\r\n- **Primary user segment \/ ideal recipient:** [TARGET_AUDIENCE]\r\n- **Product summary:** [PRODUCT_DESCRIPTION]\r\n- **Industry \/ domain(s):** [INDUSTRY]\r\n- **Background context (deadlines, constraints, current state):** [CONTEXT]\r\n- **Primary outcome to optimize for (e.g., flexibility, auditability, speed):** [PRIMARY_GOAL]\r\n- **Tech stack (confirm or override defaults):** [TECH_STACK]\r\n- **UI direction (brand look, colors, dark mode rules):** [BRAND_VOICE]\r\n- **Key features list:** [FEATURES]\r\n- **Performance targets (numbers, concurrency, event volume):** [PERFORMANCE_REQUIREMENTS]\r\n- **Access roles + rules:** [USER_ACCESS_LEVELS]\r\n- **Time expectations \/ delivery timeline:** [TIMEFRAME]\r\n- **Budget guardrails (optional):** [BUDGET]\r\n\r\n## OUTPUT SPECIFICATION\r\nUse the following sections and include the specified artifacts inside each.\r\n\r\n### 1) {Schema Design}\r\nProvide:\r\n- Tables with columns and types for:\r\n  - {Tenant\/Workspace}\r\n  - {Users & Memberships}\r\n  - {Role Assignments}\r\n  - {Trackable Type Definitions}\r\n  - {Trackable Items}\r\n  - {Status Pipelines}\r\n  - {Status Stages}\r\n  - {Item Status History \/ Timeline Events}\r\n  - {Custom Field Templates}\r\n  - {Custom Field Values} (EAV\/JSONB hybrid rationale required)\r\n  - {Comments\/Attachments} (if in scope)\r\n- Foreign keys, constraints, and cascade rules\r\n- Index plan (including partial indexes, GIN indexes for JSONB, and sort-supporting indexes)\r\n- Supabase RLS policies for {Admin}, {Editor}, {Viewer} with tenant isolation\r\n- Suggested migration approach and seed data strategy\r\n\r\n### 2) {Admin Configuration}\r\nProvide:\r\n- UI module breakdown for admin setup:\r\n  - {Trackable Type Builder}\r\n  - {Pipeline Builder} (stages, WIP limits optional, stage rules)\r\n  - {Custom Field Designer} (field kinds, validation, default values)\r\n- Core React component map and route tree: {Route} \u2192 {Page} \u2192 {Key Components}\r\n- Form strategy (e.g., RHF\/Zod if used) and validation rules\r\n- Patterns for saving drafts vs publishing schema changes\r\n- Safety rails: preventing breaking changes to in-use types\r\n\r\n### 3) {Tracking Interface}\r\nProvide:\r\n- Main views: {Kanban}, {List}, {Timeline\/Detail Drawer}, {Search & Filters}\r\n- Drag\/drop strategy (library-agnostic or specify one) including persistence workflow\r\n- Inline edit patterns with optimistic updates\r\n- Bulk actions and column configuration (user preferences)\r\n- Data fetching approach (React Query or equivalent) with pagination\/virtualization plan\r\n\r\n### 4) {Realtime Engine}\r\nProvide:\r\n- Supabase channel setup examples with:\r\n  - {Subscriptions} by tenant + entity type\r\n  - {Row Level Events} handling (insert\/update\/delete)\r\n- Client state synchronization strategy:\r\n  - dedupe, ordering, and idempotency\r\n  - conflict handling for simultaneous edits\r\n  - optimistic UI rollback rules\r\n- Presence\/awareness behavior (optional) and how it impacts UX\r\n- Suggested event payload conventions and security considerations\r\n\r\n### 5) {Analytics Module}\r\nProvide:\r\n- Dashboard sections: {Throughput}, {Cycle Time}, {Stage Aging}, {SLA Breaches}, {Workload}\r\n- Postgres queries (or views\/materialized views) for aggregates at scale\r\n- Recharts component patterns for each chart type\r\n- Performance strategy: caching, incremental refresh, time-bucketing, and indices supporting analytics\r\n\r\n### 6) {Polish Implementation}\r\nProvide:\r\n- Loading skeletons and perceived-performance tactics\r\n- Error boundaries + retry UX + empty states\r\n- Responsive layout rules (mobile-first constraints)\r\n- Export paths: {CSV}, {JSON}, and optional {Webhook} design\r\n- Accessibility basics (keyboard nav for boards, color contrast for dark mode)\r\n\r\n### 7) {Performance Optimization}\r\nProvide:\r\n- Virtualization approach for lists\/boards: {Library\/Technique}, {Row Height Strategy}\r\n- Debounced search + server-side filtering patterns\r\n- React Query (or alternative) caching keys, invalidation rules, and stale-time recommendations\r\n- Database-side scaling notes: connection pooling, query shape, avoiding N+1\r\n- Monitoring metrics to watch: {p95 Latency}, {Subscription Fanout}, {DB CPU}, {Cache Hit Rate}\r\n\r\n## QUALITY CHECKS\r\nAt the end, include a verification list confirming:\r\n- All user-input variables are in **[UPPERCASE_WITH_UNDERSCORES]** and all template placeholders use **{Title Case}**\r\n- RLS policies enforce tenant isolation and role permissions correctly\r\n- Schema supports new entity types\/pipelines without migrations for routine changes\r\n- UI and realtime plan remains responsive at the stated scale targets\r\n- Analytics queries are index-supported and won\u2019t degrade core transactional performance";
    const variables = ["[TARGET_AUDIENCE]","[PRODUCT_DESCRIPTION]","[INDUSTRY]","[CONTEXT]","[PRIMARY_GOAL]","[TECH_STACK]","[BRAND_VOICE]","[FEATURES]","[PERFORMANCE_REQUIREMENTS]","[USER_ACCESS_LEVELS]","[TIMEFRAME]","[BUDGET]","[UPPERCASE_WITH_UNDERSCORES]"];
    // Initial render with highlighted variables
    document.addEventListener('DOMContentLoaded', function() {
        renderPromptWithHighlights();
    });

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

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

        let updatedPrompt = originalPrompt;
        let filledVariables = {};

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

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

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

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

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

        promptContent.innerHTML = htmlContent;
    }

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

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

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

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

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


    function getCustomizedPrompt() {
        let updatedPrompt = originalPrompt;

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

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

        return updatedPrompt;
    }
</script>

</div>

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

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



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

<li><strong>Give it one real workflow, not five.</strong> Start by describing a single tracking case (for example, “inbound logistics: containers → milestones → exceptions”) so the schema and status pipeline are coherent. After you get the first blueprint, ask: “Now show how to add a second entity type (shipments) without duplicating tables.”</li>


<li><strong>Force an explicit multi-tenant model.</strong> Tell the AI which tenant boundary you want (organization_id everywhere, or a shared table with tenant scoping), then ask it to justify tradeoffs. A good follow-up prompt: “Propose RLS policies for org_admin, org_member, and read-only auditor; include examples of allowed and denied queries.”</li>


<li><strong>Ask for pagination and indexing early.</strong> Scale problems are usually born in the first schema. Request specifics like: “Include indexes for the high-read paths (latest status, active items, status history) and recommend cursor pagination queries for 10k+ items.”</li>


<li><strong>Iterate on the status pipeline behavior.</strong> Status logic gets messy fast, especially when teams want “custom stages.” After the first output, try asking: “Make option A strict (only one active status at a time) and option B flexible (parallel statuses), then score both for auditability and realtime UI complexity.”</li>


<li><strong>Lock the UI acceptance criteria.</strong> The prompt asks for minimal, crisp “shipping-status clarity,” dark mode, and emerald accent (#10b981). Make it measurable: “Define the tracking list UI states (loading, stale realtime, error, empty), and write acceptance criteria for the status timeline component.” Honestly, this one step prevents weeks of design-by-opinion.</li>

</ul>

</div>

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

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



<p>Once you’ve drafted a buildable platform spec, these prompts help you document decisions, align stakeholders, and keep delivery moving without endless meetings.</p>



<p>If you also need to turn architecture reviews into crisp next steps, the <a href="https://flowpast.com/prompts/meeting-follow-up-brief-ai-prompt/">Meeting Follow-Up Brief AI Prompt</a> pairs well with this tracking platform prompt. Use it right after a schema/RLS walkthrough to capture decisions, assign owners, and prevent “we never agreed to that” two weeks later.</p>



<p>When your steering group wants a clean summary that executives will actually read, the <a href="https://flowpast.com/prompts/write-executive-meeting-recap-email-ai-prompt/">Write Executive Meeting Recap Email AI Prompt</a> helps you translate technical tradeoffs (realtime strategy, tenant model, indexing plan) into plain language. It’s especially useful after you’ve run this prompt and you need sign-off on scope and sequencing.</p>



<p>For teams recording discovery calls or implementation workshops, <a href="https://flowpast.com/prompts/turn-meeting-transcripts-into-minutes-with-this-ai-prompt/">Turn Meeting Transcripts Into Minutes with this AI Prompt</a> makes the “inputs” stage less painful. Feed those minutes back into the platform design so assumptions, missing inputs, and option sets are documented in one place.</p>


<br>


<p>Quick reference:</p>



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

<li><a href="https://flowpast.com/prompts/meeting-follow-up-brief-ai-prompt/">Meeting Follow-Up Brief AI Prompt</a>: Action items, owners, and next steps.</li>


<li><a href="https://flowpast.com/prompts/write-executive-meeting-recap-email-ai-prompt/">Write Executive Meeting Recap Email AI Prompt</a>: Exec-ready summary of decisions.</li>


<li><a href="https://flowpast.com/prompts/turn-meeting-transcripts-into-minutes-with-this-ai-prompt/">Turn Meeting Transcripts Into Minutes with this AI Prompt</a>: Clean minutes from messy transcripts.</li>


<li><a href="https://flowpast.com/prompts/write-a-post-meeting-investor-follow-up-email-ai-prompt/">Write a Post-Meeting Investor Follow-Up Email AI Prompt</a>: Investor updates with clear progress.</li>


<li><a href="https://flowpast.com/prompts/write-a-one-page-grant-cover-letter-with-this-ai-prompt/">Write a One-Page Grant Cover Letter with this AI Prompt</a>: Funding narrative for platform build.</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 tracking platform prompt AI prompt?</span>

<p class="answer"><strong>Product Managers</strong> use this to turn “we need tracking” into a prioritized, buildable spec with clear modules (admin config, tracking UI, realtime, analytics). <strong>Engineering Managers</strong> rely on it to sanity-check schema decisions, scaling assumptions (10k+ items), and the Supabase RLS approach before work begins. <strong>Solutions Architects</strong> apply it when a configurable platform must support many workflows without custom code per client. <strong>Implementation Leads</strong> use it to define how non-engineers will safely configure entity types and status pipelines.</p>

</div>

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

<p class="answer"><strong>Logistics and supply chain</strong> teams use it to model shipments, containers, exceptions, and milestone timelines with realtime “where is it now” clarity. <strong>Healthcare operations</strong> can adapt the entity/status approach to patient flow, lab processing stages, or equipment tracking while keeping strict tenant and role separation. <strong>Manufacturing and field service</strong> groups benefit when jobs move through configurable stages and supervisors need live progress dashboards without manual reporting. <strong>Professional services</strong> firms use it to track projects, approvals, and deliverables across multiple clients, with RLS ensuring one client never sees another’s data.</p>

</div>

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

<p class="answer">A typical prompt like &#8216;<em>Write me a tracking platform spec for React and Supabase</em>&#8216; fails because it: lacks explicit assumptions and missing-input handling, provides no structured build order (schema → data access → UI → realtime → analytics → hardening), ignores tenant isolation and RLS policy design, produces generic UI advice instead of component boundaries and state behavior, and misses the scale realities around pagination, indexing, and high event volume realtime updates. This prompt pushes for “buildable” artifacts, not vibes.</p>

</div>

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

<p class="answer">Yes, and you should, because the best results come from tightening the assumptions the prompt asks it to restate. Add your workflow details (entity types, required fields, status stages, and who can change what), your tenancy model (single org vs many orgs), and your realtime expectations (which screens must update instantly). Then run a follow-up: “Rewrite the schema and RLS sections assuming we need audit-grade history and a read-only auditor role, and keep the UI minimal with dark mode and emerald accent #10b981.” If you already know your performance targets, include them (peak concurrent users, daily events) so indexing and pagination choices are concrete.</p>

</div>

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

<p class="answer">The biggest mistake is providing a vague workflow description—instead of “track packages,” use “track containers with milestones (Booked, Departed, Arrived, Delivered) plus exceptions (Held, Damaged) and a required ETA field.” Another common error is skipping roles and permissions; “users can edit” should become “org_admin can configure entity types, org_member can update statuses, auditor is read-only including history.” People also forget scale inputs: “many items” is weak compared to “10k active items per tenant, 50 concurrent users, 200 status events/minute.” Finally, teams under-specify realtime: say which views subscribe (list, detail, dashboards) and what happens during disconnects (stale badge, retry, last-updated timestamp).</p>

</div>

<div class="faq-item">
<span class="question">Who should NOT use this tracking platform prompt AI prompt?</span>

<p class="answer">This prompt isn’t ideal for one-off internal tools where you just need a quick CRUD table and you will not invest in configuration, realtime, or analytics. It’s also a poor fit if you’re not committed to the specified stack (React + TypeScript + Supabase), because many recommendations assume Supabase realtime and RLS. And if your workflow is not yet understood at all, you may need a discovery-first exercise before a production-grade schema. In that case, capture requirements in a workshop, then return to this prompt once the core entities and roles are no longer guesses.</p>

</div>

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which roles benefit most from this tracking platform prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Product Managers use this to turn “we need tracking” into a prioritized, buildable spec with clear modules (admin config, tracking UI, realtime, analytics). Engineering Managers rely on it to sanity-check schema decisions, scaling assumptions (10k+ items), and the Supabase RLS approach before work begins. Solutions Architects apply it when a configurable platform must support many workflows without custom code per client. Implementation Leads use it to define how non-engineers will safely configure entity types and status pipelines."
      }
    },
    {
      "@type": "Question",
      "name": "Which industries get the most value from this tracking platform prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Logistics and supply chain teams use it to model shipments, containers, exceptions, and milestone timelines with realtime “where is it now” clarity. Healthcare operations can adapt the entity/status approach to patient flow, lab processing stages, or equipment tracking while keeping strict tenant and role separation. Manufacturing and field service groups benefit when jobs move through configurable stages and supervisors need live progress dashboards without manual reporting. Professional services firms use it to track projects, approvals, and deliverables across multiple clients, with RLS ensuring one client never sees another’s data."
      }
    },
    {
      "@type": "Question",
      "name": "Why do basic AI prompts for designing a tracking platform produce weak results?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A typical prompt like 'Write me a tracking platform spec for React and Supabase' fails because it: lacks explicit assumptions and missing-input handling, provides no structured build order (schema → data access → UI → realtime → analytics → hardening), ignores tenant isolation and RLS policy design, produces generic UI advice instead of component boundaries and state behavior, and misses the scale realities around pagination, indexing, and high event volume realtime updates. This prompt pushes for “buildable” artifacts, not vibes."
      }
    },
    {
      "@type": "Question",
      "name": "Can I customize this tracking platform prompt for my specific situation?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, and you should, because the best results come from tightening the assumptions the prompt asks it to restate. Add your workflow details (entity types, required fields, status stages, and who can change what), your tenancy model (single org vs many orgs), and your realtime expectations (which screens must update instantly). Then run a follow-up: “Rewrite the schema and RLS sections assuming we need audit-grade history and a read-only auditor role, and keep the UI minimal with dark mode and emerald accent #10b981.” If you already know your performance targets, include them (peak concurrent users, daily events) so indexing and pagination choices are concrete."
      }
    },
    {
      "@type": "Question",
      "name": "What are the most common mistakes when using this tracking platform prompt prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The biggest mistake is providing a vague workflow description—instead of “track packages,” use “track containers with milestones (Booked, Departed, Arrived, Delivered) plus exceptions (Held, Damaged) and a required ETA field.” Another common error is skipping roles and permissions; “users can edit” should become “org_admin can configure entity types, org_member can update statuses, auditor is read-only including history.” People also forget scale inputs: “many items” is weak compared to “10k active items per tenant, 50 concurrent users, 200 status events/minute.” Finally, teams under-specify realtime: say which views subscribe (list, detail, dashboards) and what happens during disconnects (stale badge, retry, last-updated timestamp)."
      }
    },
    {
      "@type": "Question",
      "name": "Who should NOT use this tracking platform prompt AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "This prompt isn’t ideal for one-off internal tools where you just need a quick CRUD table and you will not invest in configuration, realtime, or analytics. It’s also a poor fit if you’re not committed to the specified stack (React + TypeScript + Supabase), because many recommendations assume Supabase realtime and RLS. And if your workflow is not yet understood at all, you may need a discovery-first exercise before a production-grade schema. In that case, capture requirements in a workshop, then return to this prompt once the core entities and roles are no longer guesses."
      }
    }
  ]
}
</script>
</div>

<div class="closing-section">

<p>Configurable tracking platforms don’t fail because teams can’t code; they fail because the spec never becomes “buildable.” Paste this prompt into your AI tool, answer the missing inputs honestly, and walk into your next sprint planning with a blueprint instead of a hunch.</p>

</div>]]></content:encoded>
					
		
		
		<media:content url="https://flowpast.s3.eu-north-1.amazonaws.com/featured_blog_images/5001393.webp" medium="image"></media:content>
            	</item>
	</channel>
</rss>
