AI Sales Script Generator
Run ID: 69cbd77f61b1021a29a8ccb52026-03-31Business
PantheraHive BOS
BOS Dashboard

Generate conversion-optimized sales scripts for cold calls, demos, follow-ups, and objection handling with industry-specific language.

Comprehensive Marketing Strategy: AI Sales Script Generator

This document outlines a detailed marketing strategy for the "AI Sales Script Generator," focusing on target audience analysis, channel recommendations, a robust messaging framework, and key performance indicators (KPIs) to measure success.


1. Target Audience Analysis

Understanding our prospective customers is paramount to developing effective marketing campaigns. We identify primary, secondary, and tertiary audiences based on their roles, pain points, and goals.

1.1. Primary Audience: Sales Leadership & Management

  • Roles: VPs of Sales, Sales Directors, Sales Managers, Heads of Business Development, Revenue Operations Leaders.
  • Company Size Focus: Mid-market to Enterprise (companies with 20+ sales reps), growing SMBs with dedicated sales teams.
  • Industries: SaaS/Tech, Financial Services, Healthcare, Professional Services, Manufacturing, Logistics – any industry with a structured sales process and a need for consistent client communication.
  • Pain Points:

* Inconsistent Messaging: Sales reps using varied, off-brand, or ineffective scripts, leading to poor brand perception and lower conversion rates.

* Long Ramp-Up Times: High cost and time associated with onboarding and training new sales reps to achieve proficiency.

* Low Sales Productivity: Reps spending too much time crafting or searching for scripts, or struggling with objection handling.

* Lack of Data-Driven Optimization: Inability to systematically test and improve script effectiveness based on real-world performance.

* Scalability Challenges: Difficulty in maintaining script quality and consistency as sales teams grow.

* Compliance Risks: Ensuring all sales communications adhere to industry regulations and company policies.

  • Goals:

* Increase overall sales team efficiency and productivity.

* Improve conversion rates across all sales stages (cold call to demo, demo to close).

* Reduce new rep ramp-up time and associated training costs.

* Ensure consistent, high-quality messaging across the entire sales organization.

* Gain data-driven insights to continuously optimize sales performance.

1.2. Secondary Audience: Individual Sales Representatives

  • Roles: Account Executives (AEs), Business Development Representatives (BDRs), Sales Development Representatives (SDRs), Inside Sales Reps.
  • Pain Points:

* Script Anxiety/Preparation: Fear of not knowing what to say, forgetting key points, or fumbling during calls/demos.

* Objection Handling Difficulty: Struggling to overcome common objections effectively and confidently.

* Lack of Personalization: Difficulty tailoring generic scripts to specific prospect needs and contexts.

* Time Constraints: Spending valuable selling time researching or drafting responses.

  • Goals:

* Increase personal quota attainment and commission earnings.

* Boost confidence and reduce stress during sales interactions.

* Improve call quality and effectiveness.

* Master objection handling and navigate difficult conversations.

* Save time on preparation, allowing more time for actual selling.

1.3. Tertiary Audience: Sales Enablement & L&D Teams

  • Roles: Sales Enablement Managers, Learning & Development Specialists, Content Managers.
  • Pain Points:

* Content Creation & Management: Tedious process of creating, updating, and distributing sales scripts and collateral.

* Measuring Impact: Difficulty in quantifying the effectiveness of training and enablement materials.

* Adoption Challenges: Ensuring reps actually use the provided resources.

  • Goals:

* Streamline the creation and management of sales content.

* Provide data to demonstrate the ROI of enablement efforts.

* Increase adoption and utilization of best practice sales materials.


2. Channel Recommendations

A multi-channel approach is essential to reach our diverse target audience effectively.

2.1. Digital Marketing Channels

  • Content Marketing (Blog, Whitepapers, Case Studies, Webinars):

* Strategy: Create high-value, problem-solving content addressing the pain points of sales leaders and reps.

* Examples:

* Blog posts: "How AI is Revolutionizing Cold Call Conversions," "The Ultimate Guide to Objection Handling with AI," "Reducing Sales Rep Ramp-Up Time by 50%."

* Whitepapers/eBooks: "The ROI of AI-Powered Sales Enablement," "Building a High-Performing Sales Team with Intelligent Scripts."

* Case Studies: Showcase quantifiable results from early adopters (e.g., "Company X Increased Demo-to-Close Rate by 20%").

* Webinars: Live demonstrations of the product, expert panels on sales AI, "Ask Me Anything" sessions.

  • Search Engine Optimization (SEO):

* Strategy: Optimize website and content for keywords that sales leaders and reps search for when looking for solutions.

* Target Keywords: "AI sales script generator," "cold call script AI," "sales script optimization software," "objection handling AI tool," "sales enablement AI," "conversion-optimized sales scripts."

  • Paid Search (PPC - Google Ads):

* Strategy: Target high-intent keywords with direct calls to action (e.g., "Request a Demo," "Start Free Trial").

* Ad Copy Focus: Highlight immediate benefits like "Boost Conversions," "Save Time," "Consistent Messaging."

  • Social Media Marketing (LinkedIn Focus):

* Strategy: Position the brand as a thought leader in sales technology and AI. Engage with sales communities and influencers.

* Content: Share blog posts, industry insights, product updates, customer testimonials, and short video explainers.

* Paid LinkedIn Campaigns: Target specific job titles (VP Sales, Sales Director) within relevant industries. Use lead generation forms.

  • Email Marketing:

* Strategy: Nurture leads generated through content downloads, webinars, and website sign-ups.

* Campaigns: Onboarding sequences, product feature announcements, success stories, exclusive content offers.

* Segmentation: Tailor content based on lead behavior (e.g., sales leaders receive ROI-focused content, reps receive practical tips).

2.2. Direct Sales & Partnerships

  • Direct Outreach (Cold Email/LinkedIn Sales Navigator):

* Strategy: Personalized outreach to VPs of Sales, Sales Directors, and Revenue Operations leaders.

* Messaging: Focus on their specific industry challenges and how the AI Sales Script Generator directly addresses them, offering a demo or a tailored consultation.

  • Industry Events & Trade Shows:

* Strategy: Exhibit at major sales and B2B tech conferences (e.g., Dreamforce, Sales 3.0, TOPO Summit, Gartner Sales & Marketing Conference).

* Activities: Product demos, speaking slots (thought leadership), networking events.

  • Strategic Partnerships:

* CRM Providers: Integrate with platforms like Salesforce, HubSpot, Zoho CRM, offering joint solutions or marketplace listings.

* Sales Engagement Platforms: Partner with Outreach, Salesloft, Apollo.io, to provide enhanced script capabilities within their ecosystem.

* Sales Training & Consulting Firms: Offer the tool as an enhancement to their training programs.

2.3. Public Relations & Analyst Relations

  • Thought Leadership: Secure guest article placements in prominent sales and business publications (e.g., Sales Hacker, Forbes, Inc., TechCrunch).
  • Press Releases: Announce major product updates, funding rounds, strategic partnerships, and significant customer wins.
  • Analyst Briefings: Engage with industry analysts (Gartner, Forrester) to get included in relevant reports and gain credibility.

3. Messaging Framework

Our messaging will be clear, concise, and focused on the transformative benefits of AI-driven sales scripts.

3.1. Core Value Proposition

"Empower your sales team with AI-driven, conversion-optimized scripts for every scenario – from cold calls to complex objections – ensuring consistent messaging, faster ramp-up, and significantly higher close rates."

3.2. Key Selling Points & Benefits (Mapped to Audience Pain Points)

  • AI-Powered Optimization & Personalization:

Message:* "Stop guessing. Our AI analyzes performance data to generate and refine scripts that actually convert, tailored to industry, product, and even individual prospect profiles."

Benefit:* Data-driven script effectiveness, increased conversion rates, highly relevant communication.

  • Scenario-Specific & Industry-Tailored Scripts:

Message:* "Get the perfect script for every interaction: cold calls, discovery, demos, follow-ups, and robust objection handling – all infused with your industry's specific language and nuances."

Benefit:* Comprehensive coverage, improved rep confidence, reduced preparation time, professional communication.

  • Consistency & Compliance Across the Team:

Message:* "Ensure every rep delivers on-brand, compliant messaging, eliminating inconsistencies and reinforcing your company's value proposition."

Benefit:* Brand integrity, reduced compliance risk, unified team voice, enhanced customer experience.

  • Faster Onboarding & Training:

Message:* "Drastically cut new rep ramp-up time by providing immediate access to proven, effective scripts, getting them productive faster."

Benefit:* Reduced training costs, quicker time to revenue for new hires, scalable growth.

  • Boost Sales Productivity & Confidence:

Message:* "Free up your sales team to focus on selling, not script-writing. Provide them with the confidence of knowing exactly what to say, when to say it, and how to handle any situation."

Benefit:* Increased rep efficiency, higher morale, improved individual performance.

  • Measurable ROI & Revenue Impact:

Message:* "Track the impact of optimized scripts on your conversion rates, average deal size, and overall revenue, demonstrating clear return on investment."

Benefit:* Tangible business results, justification for investment, continuous improvement.

3.3. Messaging Pillars

  1. Efficiency: Automate script creation, save time, streamline sales operations.
  2. Effectiveness: Drive higher conversion rates, improve call quality, master objections.
  3. Scalability: Enable rapid team growth with consistent, high-quality sales communication.
  4. Intelligence: Leverage cutting-edge AI for data-driven insights and continuous improvement.

3.4. Call to Action (CTA) Examples

  • "Request a Personalized Demo"
  • "Start Your 14-Day Free Trial"
  • "Download Our Whitepaper: The Future of Sales Enablement with AI"
  • "See How [Your Company] Can Transform Your Sales Performance"
  • "Get a Custom Quote"

4. Key Performance Indicators (KPIs)

Measuring the success of our marketing efforts is crucial for continuous optimization.

4.1. Marketing & Lead Generation KPIs

  • Website Traffic:

* Unique Visitors, Page Views (overall, by channel: organic, paid, social, direct).

* Traffic from target industries/geographies.

  • Lead Volume & Quality:

* Marketing Qualified Leads (MQLs) generated.

* Sales Qualified Leads (SQLs) generated.

* Lead-to-MQL conversion rate.

* MQL-to-SQL conversion rate.

  • Content Performance:

* Content downloads (whitepapers, eBooks).

* Webinar registrations and attendance rates.

* Blog post views, engagement (comments, shares).

  • SEO Performance:

* Keyword rankings for target terms.

* Organic search traffic.

* Backlink profile growth.

  • Paid Campaign Performance:

* Click-Through Rate (CTR), Conversion Rate (CVR).

* Cost Per Click (CPC), Cost Per Lead (CPL).

* Return on Ad Spend (ROAS).

  • Social Media Engagement:

* Follower growth (LinkedIn).

* Engagement rate (likes, shares, comments).

* Lead generation from

gemini Output

As part of your "AI Sales Script Generator" workflow, this document details the comprehensive capabilities and structure of the conversion-optimized sales scripts generated for various sales scenarios. This output serves as a blueprint for the scripts you will receive, ensuring they are professional, actionable, and tailored to maximize your sales effectiveness.


AI Sales Script Generator: Comprehensive Service Overview & Script Generation Guide

1. Introduction: Empowering Your Sales Team with AI-Optimized Scripts

Welcome to the AI Sales Script Generator – your strategic partner in transforming sales outreach. This service is designed to equip your sales team with dynamic, conversion-optimized scripts for every stage of the sales funnel. Leveraging advanced AI, we craft bespoke scripts that resonate with your target audience, address specific industry nuances, and guide prospects seamlessly towards conversion. From initial cold outreach to complex objection handling, our generator ensures your team communicates with clarity, confidence, and compelling value.

2. Core Features & Benefits

Our AI Sales Script Generator offers a robust set of features designed to elevate your sales communications:

  • Conversion Optimization: Scripts are built with proven psychological triggers, clear value propositions, and strategic calls to action to maximize positive responses.
  • Industry-Specific Language: AI models are trained on vast datasets to incorporate relevant terminology, pain points, and solutions specific to your industry and target market.
  • Scenario-Based Scripting: Tailored scripts for distinct sales interactions: cold calls, product/service demos, follow-ups, and comprehensive objection handling.
  • Personalization Frameworks: Includes prompts and placeholders to enable your sales reps to easily personalize each interaction, making prospects feel understood.
  • Structured & Actionable: Each script is clearly structured, easy to follow, and provides actionable guidance for sales representatives.
  • Time & Resource Efficiency: Significantly reduces the time and effort spent on manual script creation and training.

3. How the Generator Works: Input & Output Structure

The AI Sales Script Generator takes your business context and sales objectives as input and produces detailed, ready-to-use scripts.

Input Requirements (Customer Provided):

To generate the most effective scripts, we typically require information such as:

  • Product/Service Name & Description: What are you selling?
  • Target Audience Profile: Who are you selling to (industry, role, pain points)?
  • Unique Selling Proposition (USP): What makes your offering unique?
  • Key Benefits: What problems do you solve for customers?
  • Desired Outcome/Call-to-Action (CTA): What do you want the prospect to do next?
  • Specific Sales Scenario: (e.g., cold call, demo, follow-up, specific objection).
  • Industry Context: Any particular industry trends, challenges, or jargon to incorporate.
  • Brand Voice/Tone: (e.g., professional, friendly, direct, authoritative).

Output Structure (Generated Script Format):

Each generated script will follow a logical, easy-to-digest format, including:

  • Scenario Title: Clear indication of the script's purpose (e.g., "Cold Call Script: SaaS Onboarding Solution").
  • Objective: The primary goal of this specific interaction.
  • Key Talking Points: A summary of critical information to convey.
  • Detailed Script Sections: Step-by-step dialogue and guidance.
  • Customization Prompts: Clear instructions on where to insert personalized information.
  • Anticipated Responses/Objections: Where applicable, common responses and suggested rebuttals.
  • Actionable Next Steps: Clear guidance for the sales rep on how to conclude the interaction.

4. Detailed Script Categories & Focus Areas

4.1. Cold Call Scripts

Objective: To secure a discovery call or a next step with a qualified prospect who is not expecting your call.

Key Elements:

  • Compelling Opening: Immediately grabs attention and states purpose concisely.
  • Permission-Based Approach: Respects prospect's time, increasing engagement.
  • Problem/Pain Point Identification: Quickly connects with a common challenge faced by the target audience.
  • Brief Value Proposition: Articulates how your solution specifically addresses that pain point.
  • Customer-Centric Language: Focuses on benefits to the prospect, not just features.
  • Clear, Low-Commitment Call-to-Action: Aims for a small, achievable next step (e.g., "Would you be open to a brief 15-minute chat next week?").
  • Voicemail Script: A concise, value-driven message for when the prospect is unavailable.

Example Structure:

  1. Opening Hook & Introduction
  2. Permission Request
  3. Problem Statement / Industry Insight
  4. Value Proposition (Brief)
  5. Soft Call-to-Action (Next Step)
  6. Handling Initial Pushback (If any)
  7. Closing

4.2. Demo Scripts

Objective: To effectively showcase your product/service, demonstrate its value in solving specific prospect problems, and move the prospect closer to a purchase decision.

Key Elements:

  • Pre-Demo Discovery Recap: Acknowledges and validates the prospect's specific needs and challenges identified previously.
  • Agenda Setting: Clearly outlines what will be covered, managing expectations.
  • Problem-Solution Framework: Demonstrates how features directly address prospect pain points.
  • Interactive Engagement: Prompts for questions, feedback, and confirmation of understanding.
  • Benefit-Oriented Language: Translates features into tangible benefits for the prospect.
  • Handling Live Questions/Objections: Integrated strategies for addressing concerns in real-time.
  • Strong Call-to-Action: Defines clear next steps (e.g., trial, proposal, follow-up meeting).
  • Post-Demo Summary: Reinforces key takeaways and value.

Example Structure:

  1. Welcome & Agenda Setting
  2. Recap of Prospect's Needs
  3. Product/Service Overview (High-Level)
  4. Targeted Feature Demonstrations (Problem-Solution Focus)
  5. Value Reinforcement & Use Cases
  6. Q&A Session
  7. Addressing Concerns / Objections
  8. Clear Next Steps & Close

4.3. Follow-up Scripts

Objective: To maintain momentum post-interaction, provide additional value, and guide the prospect towards the next stage of the sales process.

Key Elements:

  • Contextual Reminder: References the previous interaction (call, demo, meeting).
  • Value Reinforcement: Reiterate key benefits discussed or provide new, relevant insights.
  • Resource Sharing: Offer valuable content (case studies, whitepapers, testimonials) that addresses prospect concerns.
  • Clear Call-to-Action: Specific and easy-to-understand next step (e.g., "When is a good time for our next chat?", "Did you have a chance to review the proposal?").
  • Multi-Channel Adaptation: Scripts tailored for email, phone, and even social media messages.
  • Nurturing Sequences: A series of follow-ups designed for different stages and levels of engagement.

Example Structure:

  1. Reference Previous Interaction
  2. Reiterate Key Value/Benefit
  3. Offer Additional Relevant Resource/Insight
  4. Clear, Low-Pressure Call-to-Action
  5. Express Openness for Questions

4.4. Objection Handling Frameworks

Objective: To proactively address common sales objections, mitigate concerns, and turn potential roadblocks into opportunities for deeper engagement.

Key Elements:

  • Listen & Acknowledge: Empathetic validation of the prospect's concern.
  • Isolate the Objection: Clarify the root cause of the concern.
  • Address & Reframe: Provide a compelling, benefit-driven response.
  • Confirm Resolution: Ensure the prospect feels their concern has been adequately addressed.
  • Common Objection Categories:

* Price: (e.g., "It's too expensive")

* Timing: (e.g., "Not right now," "We're happy with our current solution")

* Need: (e.g., "I don't see the value," "We don't need that")

* Authority: (e.g., "I need to talk to my boss")

* Trust/Risk: (e.g., "I'm not sure it will work for us")

  • Pre-emptive Objection Handling: Incorporating solutions to common objections directly into the main script.

Example Structure (for a single objection):

  1. Acknowledge & Validate: "I understand your concern about [objection]."
  2. Clarify/Isolate: "Could you tell me a bit more about what specifically makes you feel that way?"
  3. Reframe/Provide Solution: "Many of our clients initially felt that way, but what they found was [solution/benefit]."
  4. Test for Resolution: "Does that make sense?" or "Does that address your concern?"
  5. Transition: Move back to the main sales narrative or next steps.

5. Conversion Optimization & Industry-Specific Language

Our AI ensures scripts are not just informative but persuasive:

  • Psychological Triggers: Incorporates principles like social proof, scarcity (where appropriate), authority, and reciprocity to influence decision-making.
  • Benefit-Driven Language: Focuses on "what's in it for them" rather than just features.
  • Emotional Connection: Acknowledges and addresses prospect emotions (frustration, aspiration).
  • Clear & Concise: Eliminates jargon, ambiguity, and unnecessary words.
  • Industry-Specific Terminology: Integrates vocabulary common to your industry, making the conversation feel more relevant and credible to the prospect.
  • Competitor Awareness: (If provided) Scripts can be subtly designed to highlight your competitive advantages.

6. Customization & Best Practices for Sales Teams

To maximize the effectiveness of the generated scripts:

  • Personalization is Key: Always encourage sales reps to personalize the scripts with specific prospect research (company news, LinkedIn activity, shared connections).
  • Practice & Internalize: Scripts are a guide, not a rigid mandate. Encourage reps to adapt them to their natural speaking style.
  • Active Listening: Remind reps that scripts are tools for guiding conversation, not replacing genuine listening.
  • Feedback Loop: Continuously gather feedback on script performance and identify areas for refinement.
  • A/B Testing: Experiment with different script variations to identify what resonates best with your audience.

7. Conclusion: Your Partner in Sales Excellence

The AI Sales Script Generator is designed to be an indispensable asset for your sales operations. By providing you with professionally crafted, conversion-optimized, and industry-specific scripts, we empower your team to engage prospects more effectively, build stronger relationships, and consistently achieve their sales targets. This detailed output serves as the foundation for your enhanced sales communication strategy.

gemini Output

As part of the "AI Sales Script Generator" workflow, this deliverable provides a comprehensive suite of conversion-optimized sales scripts, tailored for various stages of the sales cycle. These scripts incorporate industry-specific language (using B2B SaaS for Workflow Automation as a primary example) and are designed to be refined and customized to your specific offerings and target audience.


AI Sales Script Generator: Refined & Formatted Scripts

This document provides detailed, actionable sales scripts for cold calls, product demonstrations, follow-ups, and effective objection handling. Each script is designed for maximum impact, focusing on value proposition, clear calls to action, and professional communication.


1. Cold Call Script: Discovery & Qualification

Purpose: To secure a follow-up discovery call or demo by quickly establishing relevance and identifying a potential pain point.

Key Elements:

  • Permission-based opening: Respects their time.
  • Personalization: Shows you've done your homework.
  • Problem Statement: Highlights a common challenge your solution addresses.
  • Value Proposition: Brief, benefit-oriented statement.
  • Low-commitment CTA: Asks for a short conversation, not a sale.

Industry Example: B2B SaaS for Workflow Automation


Cold Call Script Template

Scenario: Calling a Head of Operations at a mid-sized tech company.

Your Company: InnovateFlow Solutions

Your Product: FlowPilot AI Platform (automates complex business processes)

Script:

(Opening - Permission & Personalization)

"Hi [Prospect Name], this is [Your Name] from InnovateFlow Solutions. I know you weren't expecting my call, but I saw on LinkedIn that you're the Head of Operations at [Company Name], and I noticed your company recently [mention a specific trigger, e.g., expanded into a new market / posted about scaling challenges]. Is this a bad time for a quick 20-second intro?"

  • If Yes (good time): "Great, thanks. We work with companies like [Similar Company 1] and [Similar Company 2] who often struggle with manual, repetitive tasks bogging down their teams, leading to inefficiencies and delayed project delivery."
  • If No (bad time): "No problem at all. When would be a better time for a quick chat, maybe tomorrow around [suggest a time] or [another time]?" (If they give a time, confirm and offer to send a calendar invite. If not, ask for permission to send a brief email.)

(Problem & Value Proposition)

"Specifically, our FlowPilot AI Platform helps operations leaders like you automate those complex, cross-departmental workflows – from onboarding to project management – reducing human error and freeing up your team to focus on strategic initiatives, typically seeing a [mention a quantifiable benefit, e.g., 30% reduction in processing time]."

(Discovery Question)

"Many of our clients tell us that [mention a common pain point, e.g., 'integrating disparate systems' or 'managing manual data entry across teams'] is a significant bottleneck for them. Is that something you're currently facing at [Company Name]?"

(Call to Action - Low Commitment)

"Based on that, it might be worth a brief 15-minute conversation next week to explore if FlowPilot could help streamline your operations. How does [Day], [Date] at [Time] look for you?"

  • If they agree: "Excellent. I'll send over a calendar invite right now with a brief agenda. Looking forward to speaking then!"
  • If they hesitate/ask for more info: "Absolutely, I can send a quick email with a one-pager. What's the best email address for you? And just to make sure it's relevant, what's the biggest operational challenge you're hoping to solve in the next quarter?" (This re-qualifies and gets them to engage.)

Tips for Cold Call Success:

  • Research is paramount: Know their role, company, recent news, and potential challenges.
  • Be concise: Get to the point quickly and respect their time.
  • Listen more than you speak: Ask open-ended questions and let them talk.
  • Confidence and energy: Your tone can make or break the call.
  • Handle gatekeepers professionally: "Could you please tell me the best way to reach [Prospect Name] regarding workflow optimization solutions?"

2. Demo Script: Value-Driven Presentation

Purpose: To showcase how your solution directly addresses the prospect's specific pain points and delivers measurable value, leading to the next step in the sales process.

Key Elements:

  • Agenda Setting: Reconfirm expectations.
  • Discovery Recap: Reiterate their challenges.
  • Solution Mapping: Connect features to benefits and their specific needs.
  • Interactive Demonstration: Focus on key workflows, not every feature.
  • Proof Points: Use case studies or success metrics.
  • Clear Next Steps: Define what happens after the demo.

Industry Example: B2B SaaS for Workflow Automation


Demo Script Template

Scenario: Presenting to the Head of Operations and a Senior Process Analyst.

Your Company: InnovateFlow Solutions

Your Product: FlowPilot AI Platform

Script:

(Introduction & Agenda Setting - 5 min)

"Welcome, [Prospect Name 1] and [Prospect Name 2]! Thanks for taking the time today. Based on our previous conversation, my understanding is that you're looking for a solution to [recap primary pain point, e.g., 'automate your complex customer onboarding process and reduce the manual effort involved']. Is that still accurate, and is there anything else critical you'd like to cover today?"

"Great. My goal for the next [X] minutes is to show you how FlowPilot AI Platform can specifically address these challenges. We'll cover:

  1. A quick overview of how FlowPilot integrates with your existing systems.
  2. A live demonstration of how we can automate a typical [specific workflow, e.g., 'customer onboarding'] process.
  3. Discuss the potential impact and answer any questions you have.

Does that sound good?"

(Discovery Recap & Problem Reiteration - 5 min)

"Before we dive in, [Prospect Name 1], you mentioned last time that your current onboarding process takes an average of [X] days, often leading to [specific negative consequence, e.g., 'delayed time-to-value for new customers']. And [Prospect Name 2], you pointed out the significant manual data entry and hand-offs between departments, correct?"

"Our aim today is to show you how FlowPilot can transform that."

(Solution Presentation & Interactive Demo - 20-30 min)

"Let's jump into FlowPilot. What you're seeing here is our intuitive dashboard. One of the first things our clients appreciate is how easily FlowPilot connects with their existing CRM, ERP, and communication tools like Slack or Teams, ensuring a seamless data flow."

(Show Integration Points briefly)

"Now, let's walk through that customer onboarding scenario we discussed. Imagine a new customer signs up.

  • Step 1: Automated Trigger. Instead of manual initiation, FlowPilot automatically kicks off the onboarding workflow the moment a new client is marked 'closed-won' in your CRM. (Show this trigger point)
  • Step 2: Data Orchestration. FlowPilot then intelligently pulls relevant customer data from the CRM, populates necessary documents, and creates tasks in your project management system for the respective teams. No more copy-pasting errors! (Show data flow and task creation)
  • Step 3: Dynamic Approvals & Notifications. Depending on the client's tier or specific service, FlowPilot can route approval requests to the right managers and send automated, personalized notifications to the customer and internal teams, keeping everyone informed. (Show approval process and notification examples)
  • Step 4: Progress Tracking & Analytics. From the dashboard, you get a real-time view of every onboarding process, identifying bottlenecks instantly. This allows you to proactively address issues and continuously optimize. (Show analytics dashboard)

"As you can see, FlowPilot reduces the manual touchpoints, accelerates the process, and provides complete visibility. What are your initial thoughts on seeing this workflow in action?"

(Address Questions & Reiterate Value - 5-10 min)

"Do you have any questions about what we've covered so far, or perhaps a specific scenario you're wondering how FlowPilot could handle?"

(Address questions, always tying back to their pain points and benefits.)

"To summarize, with FlowPilot, you're not just automating tasks; you're gaining:

  • Efficiency: Reduce onboarding time by [X]% and free up [Y] hours for your team.
  • Accuracy: Eliminate manual errors and ensure compliance.
  • Visibility: Gain real-time insights into every process step."

(Call to Action & Next Steps - 5 min)

"Based on what you've seen today, and considering your goal to [reiterate their key goal], the logical next step would be to schedule a deeper dive with our technical team to discuss specific integration requirements and map out a tailored solution for your [specific workflow]. This would typically be a 30-minute call."

"How does [Day], [Date] at [Time] work for you and your team?"

  • If they agree: "Excellent. I'll send a calendar invite with the details. We'll prepare a preliminary integration plan based on our discussion today."
  • If they need internal discussion: "I understand. What's the best way for me to support your internal discussions? Perhaps I could send a summary of what we covered today, along with a custom ROI projection?"
  • If they ask for pricing: "That's a great question, and pricing is typically based on the scope of automation and integrations required. To give you an accurate quote, the next step with our technical team would be essential to define those parameters. Would you be open to that 30-minute call next week?"

Tips for Demo Success:

  • Personalize: Tailor the demo to their specific problems.
  • Keep it interactive: Ask questions, involve them.
  • Focus on benefits, not just features: Explain "what it means for them."
  • Practice: Know your product inside and out.
  • Be prepared for tech issues: Have a backup plan (e.g., pre-recorded video).
  • Master storytelling: Frame the demo as a journey from problem to solution.

3. Follow-Up Scripts: Nurturing & Advancing

Purpose: To maintain engagement, reinforce value, provide additional resources, and prompt the next action after a call or demo.

Key Elements:

  • Reference previous interaction: Remind them of the context.
  • Reiterate key value/benefit: Anchor back to their needs.
  • Provide relevant content: Offer something useful.
  • Clear, low-friction CTA: Suggest a specific next step.

Industry Example: B2B SaaS for Workflow Automation


Follow-Up Script Templates

A. Post-Cold Call Follow-Up (Email)

Scenario: Prospect was busy but agreed to an email.

Subject: Following up on our quick chat / Streamlining Operations at [Company Name]

"Hi [Prospect Name],

Thanks again for taking my call earlier. As promised, here's a quick recap of how InnovateFlow Solutions helps companies like yours automate complex workflows with our FlowPilot AI Platform.

We discussed how FlowPilot can help reduce manual effort and accelerate processes like [mention specific workflow, e.g., 'customer onboarding'] by [quantifiable benefit, e.g., 'up to 30%'].

I've attached a brief one-pager that outlines how we've helped other B2B companies achieve similar results. You can also check out a quick 2-minute video on our website here: [Link to short video]

I'd still love to learn more about the specific operational challenges you're facing. Would you be open to a brief 15-minute discovery call next [Day of week], say around [Time]?

Best regards,

[Your Name]

[Your Title]

InnovateFlow Solutions

[Your Phone Number]

[Your Website]"


B. Post-Demo Follow-Up (Email)

Scenario: Follow-up after a successful product demonstration.

Subject: Following up: Your FlowPilot Demo & Next Steps for [Company Name]

"Hi [Prospect Name],

It was a pleasure demonstrating the FlowPilot AI Platform for you and [Team Member's Name] today. I truly enjoyed our discussion around how we could specifically [reiterate key pain point, e.g., 'transform your customer onboarding process'].

To recap, we explored how FlowPilot can:

  • [Key Benefit 1 from demo, e.g., 'Automate data sync across CRM and ERP for seamless onboarding.']
  • [Key Benefit 2 from demo, e.g., 'Provide real-time visibility into workflow progress, eliminating bottlenecks.']
  • [Key Benefit 3 from demo, e.g., 'Reduce manual errors and free up your team for strategic work.']

As discussed, the next logical step is to connect you with our technical team for a 30-minute integration discussion, which will help us tailor a precise solution and proposal for [Company Name].

I've already sent a calendar invite for [Day], [Date] at [Time]. Please let me know if that time works, or if another time would be better.

In the meantime, you might find this case study relevant: [Link to relevant case study, e.g., 'How Company X Reduced Onboarding Time by 40% with FlowPilot'].

Looking forward to our next conversation!

Best regards,

[Your Name]

[Your Title]

InnovateFlow Solutions

[Your Phone Number]

[Your Website]"


C. Value-Add/Nurture Follow-Up (Email)

Scenario: Prospect went quiet, or you want to provide ongoing value.

Subject: An article on [Relevant Industry Trend] / Thought you might find this useful for [Company Name]

"Hi [Prospect Name],

Hope you're having a productive week.

I was reading this article on [relevant industry trend, e.g., 'The Future of Hyperautomation in B2B

ai_sales_script_generator.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
\n\n\n"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react'\nimport ReactDOM from 'react-dom/client'\nimport App from './App'\nimport './index.css'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n \n \n \n)\n"); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react'\nimport './App.css'\n\nfunction App(){\n return(\n
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n
\n )\n}\nexport default App\n"); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e}\n.app{min-height:100vh;display:flex;flex-direction:column}\n.app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px}\nh1{font-size:2.5rem;font-weight:700}\n"); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\n## Open in IDE\nOpen the project folder in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "type": "module",\n "scripts": {\n "dev": "vite",\n "build": "vue-tsc -b && vite build",\n "preview": "vite preview"\n },\n "dependencies": {\n "vue": "^3.5.13",\n "vue-router": "^4.4.5",\n "pinia": "^2.3.0",\n "axios": "^1.7.9"\n },\n "devDependencies": {\n "@vitejs/plugin-vue": "^5.2.1",\n "typescript": "~5.7.3",\n "vite": "^6.0.5",\n "vue-tsc": "^2.2.0"\n }\n}\n'); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport { resolve } from 'path'\n\nexport default defineConfig({\n plugins: [vue()],\n resolve: { alias: { '@': resolve(__dirname,'src') } }\n})\n"); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]}\n'); zip.file(folder+"tsconfig.app.json",'{\n "compilerOptions":{\n "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"],\n "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true,\n "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue",\n "strict":true,"paths":{"@/*":["./src/*"]}\n },\n "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"]\n}\n'); zip.file(folder+"env.d.ts","/// \n"); zip.file(folder+"index.html","\n\n\n \n \n "+slugTitle(pn)+"\n\n\n
\n \n\n\n"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './assets/main.css'\n\nconst app = createApp(App)\napp.use(createPinia())\napp.mount('#app')\n"); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue","\n\n\n\n\n"); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547}\n"); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\nOpen in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "scripts": {\n "ng": "ng",\n "start": "ng serve",\n "build": "ng build",\n "test": "ng test"\n },\n "dependencies": {\n "@angular/animations": "^19.0.0",\n "@angular/common": "^19.0.0",\n "@angular/compiler": "^19.0.0",\n "@angular/core": "^19.0.0",\n "@angular/forms": "^19.0.0",\n "@angular/platform-browser": "^19.0.0",\n "@angular/platform-browser-dynamic": "^19.0.0",\n "@angular/router": "^19.0.0",\n "rxjs": "~7.8.0",\n "tslib": "^2.3.0",\n "zone.js": "~0.15.0"\n },\n "devDependencies": {\n "@angular-devkit/build-angular": "^19.0.0",\n "@angular/cli": "^19.0.0",\n "@angular/compiler-cli": "^19.0.0",\n "typescript": "~5.6.0"\n }\n}\n'); zip.file(folder+"angular.json",'{\n "$schema": "./node_modules/@angular/cli/lib/config/schema.json",\n "version": 1,\n "newProjectRoot": "projects",\n "projects": {\n "'+pn+'": {\n "projectType": "application",\n "root": "",\n "sourceRoot": "src",\n "prefix": "app",\n "architect": {\n "build": {\n "builder": "@angular-devkit/build-angular:application",\n "options": {\n "outputPath": "dist/'+pn+'",\n "index": "src/index.html",\n "browser": "src/main.ts",\n "tsConfig": "tsconfig.app.json",\n "styles": ["src/styles.css"],\n "scripts": []\n }\n },\n "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"}\n }\n }\n }\n}\n'); zip.file(folder+"tsconfig.json",'{\n "compileOnSave": false,\n "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]},\n "references":[{"path":"./tsconfig.app.json"}]\n}\n'); zip.file(folder+"tsconfig.app.json",'{\n "extends":"./tsconfig.json",\n "compilerOptions":{"outDir":"./dist/out-tsc","types":[]},\n "files":["src/main.ts"],\n "include":["src/**/*.d.ts"]\n}\n'); zip.file(folder+"src/index.html","\n\n\n \n "+slugTitle(pn)+"\n \n \n \n\n\n \n\n\n"); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser';\nimport { appConfig } from './app/app.config';\nimport { AppComponent } from './app/app.component';\n\nbootstrapApplication(AppComponent, appConfig)\n .catch(err => console.error(err));\n"); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; }\nbody { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; }\n"); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'app-root',\n standalone: true,\n imports: [RouterOutlet],\n templateUrl: './app.component.html',\n styleUrl: './app.component.css'\n})\nexport class AppComponent {\n title = '"+pn+"';\n}\n"); zip.file(folder+"src/app/app.component.html","
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n \n
\n"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1}\n"); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';\nimport { provideRouter } from '@angular/router';\nimport { routes } from './app.routes';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n};\n"); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router';\n\nexport const routes: Routes = [];\n"); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nng serve\n# or: npm start\n\`\`\`\n\n## Build\n\`\`\`bash\nng build\n\`\`\`\n\nOpen in VS Code with Angular Language Service extension.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n.angular/\n"); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join("\n"):"# add dependencies here\n"; zip.file(folder+"main.py",src||"# "+title+"\n# Generated by PantheraHive BOS\n\nprint(title+\" loaded\")\n"); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n\`\`\`\n\n## Run\n\`\`\`bash\npython main.py\n\`\`\`\n"); zip.file(folder+".gitignore",".venv/\n__pycache__/\n*.pyc\n.env\n.DS_Store\n"); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+"\n"; zip.file(folder+"package.json",pkgJson); var fallback="const express=require(\"express\");\nconst app=express();\napp.use(express.json());\n\napp.get(\"/\",(req,res)=>{\n res.json({message:\""+title+" API\"});\n});\n\nconst PORT=process.env.PORT||3000;\napp.listen(PORT,()=>console.log(\"Server on port \"+PORT));\n"; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000\n"); zip.file(folder+".gitignore","node_modules/\n.env\n.DS_Store\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\n\`\`\`\n\n## Run\n\`\`\`bash\nnpm run dev\n\`\`\`\n"); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:"\n\n\n\n\n"+title+"\n\n\n\n"+code+"\n\n\n\n"; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */\n*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e}\n"); zip.file(folder+"script.js","/* "+title+" — scripts */\n"); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Open\nDouble-click \`index.html\` in your browser.\n\nOr serve locally:\n\`\`\`bash\nnpx serve .\n# or\npython3 -m http.server 3000\n\`\`\`\n"); zip.file(folder+".gitignore",".DS_Store\nnode_modules/\n.env\n"); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/\.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/\*\*(.+?)\*\*/g,"$1"); hc=hc.replace(/\n{2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\nFiles:\n- "+app+".md (Markdown)\n- "+app+".html (styled HTML)\n"); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); } function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}