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

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

This document outlines a comprehensive marketing strategy for the "AI Sales Script Generator," designed to drive awareness, generate leads, and foster customer acquisition. It provides a detailed analysis of the target audience, recommended marketing channels, a core messaging framework, and key performance indicators to measure success.


Marketing Strategy: AI Sales Script Generator

1. Target Audience Analysis

Understanding who benefits most from the AI Sales Script Generator is crucial for effective marketing. We've identified primary, secondary, and tertiary audience segments, along with their specific pain points and goals.

1.1. Primary Audience: Sales Leadership & Management

  • Roles: VPs of Sales, Sales Directors, Sales Managers, Sales Enablement Leaders.
  • Company Size: Mid-market to Enterprise companies (50+ sales reps).
  • Pain Points:

* Inconsistent Messaging: Difficulty ensuring all reps use optimal, consistent, and compliant messaging.

* Low Conversion Rates: Scripts failing to resonate, leading to missed opportunities.

* High Ramp-up Time: New reps struggle to quickly master effective communication.

* Scalability Challenges: Manual script creation and updating is time-consuming and difficult to scale across large teams or diverse product lines.

* Objection Handling: Reps lack confidence or effective responses to common objections.

* Measuring Script Effectiveness: Difficulty in attributing performance directly to specific scripts.

  • Goals:

* Increase overall sales team conversion rates and close rates.

* Improve sales efficiency and reduce sales cycle length.

* Standardize best practices and ensure brand-aligned communication.

* Empower reps with effective, on-demand communication tools.

* Reduce training overhead and accelerate new rep productivity.

* Gain data-driven insights into script performance.

1.2. Secondary Audience: Small to Medium Business (SMB) Owners & Entrepreneurs

  • Roles: Business Owners, Founders, Head of Sales in smaller organizations.
  • Company Size: SMBs (1-49 sales reps, often owner-operated sales).
  • Pain Points:

* Limited Resources: Lack of dedicated sales training or marketing teams for script development.

* Lack of Expertise: Difficulty crafting compelling and professional sales messages.

* Time Constraints: Need for quick and effective sales materials without significant time investment.

* Competitive Pressure: Struggling to differentiate or compete with larger, more resourced sales teams.

  • Goals:

* Professionalize their sales approach and messaging.

* Generate more qualified leads and close more deals.

* Save time and resources on sales content creation.

* Improve sales confidence and effectiveness.

1.3. Tertiary Audience: Sales Trainers & Consultants

  • Roles: Independent Sales Consultants, Sales Training Companies, Corporate L&D Specialists focused on sales.
  • Pain Points:

* Content Creation: Need for tools to quickly generate tailored sales content for clients.

* Demonstrating Value: Seeking innovative tools to offer clients for improved sales performance.

* Staying Current: Keeping up with the latest sales tech and methodologies.

  • Goals:

* Enhance their service offerings with cutting-edge AI tools.

* Streamline content development for training programs.

* Provide clients with actionable, high-impact resources.


2. Channel Recommendations

A multi-channel approach will be most effective in reaching these diverse audiences, focusing on digital platforms where B2B decision-makers and business owners seek solutions.

2.1. Digital Marketing Channels

  • Content Marketing (Inbound Focus):

* Blog Posts: High-value articles targeting pain points (e.g., "How AI is Revolutionizing Cold Calling," "The Ultimate Guide to Objection Handling with AI," "Scaling Your Sales Team with Automated Scripts").

* Whitepapers & E-books: Detailed guides on specific topics (e.g., "The AI-Powered Sales Playbook," "Optimizing Your Sales Funnel with Script Automation").

* Case Studies: Showcase success stories of companies using the generator to improve conversion rates or reduce ramp-up time.

* Webinars/Virtual Events: Host live demonstrations, panel discussions with sales experts, and "how-to" sessions on leveraging AI for sales.

  • Search Engine Optimization (SEO):

* Keyword Targeting: Optimize for terms like "AI sales script generator," "cold call script AI," "sales objection handling software," "demo script automation," "conversion-optimized sales scripts."

* Technical SEO: Ensure website speed, mobile responsiveness, and clean site structure for optimal search ranking.

  • Paid Search (PPC - Google Ads, Bing Ads):

* High-Intent Keywords: Bid on keywords where users are actively searching for solutions (e.g., "best sales script generator," "AI for sales calls").

* Competitor Targeting: Target keywords related to competitors' offerings.

* Geographic & Demographic Targeting: Focus on regions and job titles relevant to the primary audience.

  • Social Media Marketing (Organic & Paid):

* LinkedIn: Essential for B2B. Share thought leadership, product updates, customer testimonials, and engage with sales leaders and professionals. Utilize LinkedIn Ads for precise targeting by job title, industry, and company size.

* Twitter: For sharing industry news, quick tips, and engaging with sales influencers and tech communities.

* Facebook/Instagram: Primarily for retargeting website visitors and building brand awareness within broader business communities.

  • Email Marketing:

* Lead Nurturing Campaigns: Sequence emails for prospects who download content or attend webinars, guiding them through the sales funnel.

* Product Updates & Newsletters: Keep existing customers and interested prospects informed about new features and best practices.

* Personalized Outreach: Segment lists based on industry or role for highly relevant messaging.

  • Video Marketing:

* Product Demos: Short, engaging videos showcasing key features and benefits.

* Explainer Videos: Animated or live-action videos explaining the problem and solution.

* Testimonials: Customer success stories in video format.

2.2. Partnership & Alliance Channels

  • CRM Integrations: Partner with leading CRM platforms (Salesforce, HubSpot, Zoho CRM) to offer seamless integration, expanding reach and enhancing value proposition.
  • Sales Enablement Platforms: Collaborate with platforms like Outreach, Salesloft, Gong to provide complementary solutions.
  • Industry Associations: Partner with sales leadership associations or industry-specific groups for co-marketing opportunities, webinars, or sponsorships.
  • Sales Consultants/Coaches: Offer affiliate programs or direct partnerships with sales consultants who can recommend the tool to their clients.

2.3. Direct Sales & Product-Led Growth

  • Outbound Sales: Develop an Account-Based Marketing (ABM) strategy targeting specific companies and key decision-makers within the primary audience segment.
  • Free Trial/Freemium Model: Offer a limited-feature free trial or a freemium version to allow users to experience the value firsthand, driving self-serve adoption and product-qualified leads.

3. Messaging Framework

The messaging will emphasize the core value proposition, key benefits, and address specific pain points of the target audience, maintaining a professional and results-oriented tone.

3.1. Core Value Proposition

"Empower your sales team with AI-driven, conversion-optimized scripts, ensuring consistent, high-performing messaging and accelerating close rates across all sales interactions."

3.2. Key Messaging Pillars & Benefits

  • Increased Conversions & Revenue:

Message:* "Stop guessing and start closing. Our AI crafts scripts proven to resonate, leading to higher conversion rates and a direct impact on your bottom line."

Benefit:* Maximize every sales opportunity with data-informed, compelling language.

  • Time Savings & Efficiency:

Message:* "Automate the tedious task of script creation. Free up your sales leaders and reps to focus on selling, not writing."

Benefit:* Significant reduction in time spent on script development and updates.

  • Consistency & Quality at Scale:

Message:* "Ensure every rep, from rookie to veteran, delivers your brand's message with precision and professionalism. Standardize best practices effortlessly."

Benefit:* Unified, high-quality communication across the entire sales force, regardless of size or geographic distribution.

  • Enhanced Rep Performance & Confidence:

Message:* "Equip your team with instant access to tailored scripts for cold calls, demos, follow-ups, and airtight objection handling. Boost confidence and reduce ramp-up time."

Benefit:* Improved individual rep performance, leading to a more productive and motivated sales team.

  • Industry-Specific & Adaptive Intelligence:

Message:* "Our AI understands your industry. It generates scripts using relevant jargon, addresses specific customer pain points, and aligns with your unique product features."

Benefit:* Highly relevant and effective communication for diverse market segments.

  • Data-Driven Optimization (Future/Advanced):

Message:* "Learn and adapt. Leverage performance data (when integrated) to continuously refine and optimize your scripts for peak effectiveness."

Benefit:* Continuous improvement and iterative success based on real-world outcomes.

3.3. Tone of Voice

Professional, Authoritative, Innovative, Results-Oriented, Empathetic (to sales challenges), Confident.

3.4. Call to Action (CTAs) Examples

  • "Request a Personalized Demo"
  • "Start Your Free Trial Today"
  • "See How [Product Name] Boosts Your Sales"
  • "Download Our Guide: The Future of Sales Scripting with AI"
  • "Get Your First AI-Generated Script"

4. Key Performance Indicators (KPIs)

Measuring the effectiveness of the marketing strategy requires tracking specific metrics across the entire sales and marketing funnel.

4.1. Marketing & Lead Generation KPIs

  • Website Traffic:

* Overall unique visitors, organic traffic, paid traffic.

* Traffic sources (direct, referral, social, email).

  • Lead Generation Volume:

* Marketing Qualified Leads (MQLs): Number of leads generated through content downloads, webinar registrations, etc.

* Sales Qualified Leads (SQLs): Number of MQLs accepted by the sales team.

  • Conversion Rates:

* Website visitor to MQL conversion rate.

* MQL to SQL conversion rate.

* Free trial sign-up rate.

  • Engagement Metrics:

* Email open rates, click-through rates (CTR).

* Social media engagement (likes, shares, comments).

* Content download rates.

  • Cost Metrics:

* Cost Per Lead (CPL) for various channels.

* Cost Per MQL, Cost Per SQL.

4.2. Sales & Acquisition KPIs

  • Demo/Trial Conversion Rates:

* SQL to Demo booked rate.

* Demo attended to Free Trial started rate.

* Free Trial to Paid Customer conversion rate.

  • Customer Acquisition Cost (CAC): Total sales and marketing spend divided by the number of new customers acquired.
  • Sales Cycle Length: Average time from initial contact to closed-won deal.
  • Win Rate: Percentage of proposals or opportunities that result in a closed-won deal.
  • Average Deal Size: The average revenue generated per customer.

4.3. Customer Success & Retention KPIs (Post-Acquisition)

  • Customer Lifetime Value (CLTV): The predicted total revenue that a customer will generate over their relationship with the product.
  • Churn Rate: Percentage of customers who cancel their subscription over a given period.
  • Feature Adoption Rate: Usage statistics for key features within the AI Sales Script Generator (e.g., number of scripts generated, scripts deployed, specific script types used).
  • Customer Satisfaction (CSAT/NPS): Surveys to gauge customer happiness and loyalty.

By diligently tracking these KPIs, we can continuously optimize the marketing strategy, refine messaging, and ensure the "AI Sales Script Generator" achieves its full market potential.

gemini Output

AI Sales Script Generation: Conversion-Optimized Framework

This document provides a comprehensive suite of conversion-optimized sales scripts designed to elevate your sales interactions across various critical touchpoints. These scripts are crafted with a focus on value proposition, clear calls to action, and persuasive communication, tailored for a B2B SaaS context (specifically for an AI-powered solution) as a default example, emphasizing the need for industry-specific adaptation.


1. Core Principles for Conversion-Optimized Sales Scripts

Before diving into specific scripts, understanding the underlying principles ensures maximum effectiveness:

  • Customer-Centricity: Focus on the prospect's needs, challenges, and desired outcomes, not just your product's features.
  • Value Proposition Clarity: Articulate the unique benefits and ROI your solution provides early and often.
  • Conciseness & Clarity: Get to the point quickly, using simple, direct language. Time is valuable.
  • Question-Based Selling: Use open-ended questions to uncover needs, build rapport, and guide the conversation.
  • Confidence & Authority: Speak with conviction, demonstrating expertise without being arrogant.
  • Active Listening: Pay close attention to the prospect's responses to tailor your message dynamically.
  • Clear Call to Action (CTA): Every interaction should end with a clear, specific next step.
  • Emotional Intelligence: Read the room, adapt your tone, and empathize with the prospect's situation.
  • Personalization: Research your prospect and company to make the script feel less generic.

2. Industry Context: B2B SaaS (AI-Powered Solutions)

For the purpose of these examples, we will assume your solution is an AI-powered platform that optimizes [specific business function, e.g., customer support, data analysis, marketing automation] for B2B enterprises.

Key Industry Drivers: Efficiency, Cost Reduction, Data-Driven Decisions, Scalability, Competitive Advantage, Innovation.


3. Conversion-Optimized Sales Scripts

3.1. Cold Call Script

Goal: Secure a discovery call or a brief initial meeting to understand the prospect's challenges.

Structure:

  1. Permission-Based Opening: Respect their time.
  2. Personalized Hook: Reference something specific about their company or industry.
  3. Problem Statement (Relatable): Briefly mention a common challenge your solution addresses.
  4. Value Proposition (Brief): How your solution helps, focusing on outcomes.
  5. Qualifying Question (Implicit): Gauge interest without being too direct.
  6. Clear CTA: Propose a specific, short next step.

Example Cold Call Script:

(Scenario: Calling a Head of Customer Service at a mid-sized e-commerce company)

  • You: "Hi [Prospect Name], this is [Your Name] from [Your Company]. I know you're busy, so I'll be brief. Is now an okay time for a quick 30-second introduction?"

(If yes)*

  • You: "Great, thanks. I was doing some research and saw that [Prospect Company] is growing rapidly, which often brings challenges in scaling customer support efficiently without increasing costs significantly."
  • You: "We work with companies like yours, helping them leverage AI to automate up to 40% of routine customer inquiries, drastically reducing response times and freeing up agents for complex issues. This typically leads to a 20-30% reduction in support costs within the first year."
  • You: "I'm curious, how are you currently handling the scalability of your customer service operations amidst your growth?"

(Listen actively to their response. If they express a challenge or interest:)*

  • You: "That makes sense. It sounds like [rephrase their challenge]. Many of our clients found that implementing our AI-driven solution helped them [mention a specific benefit relevant to their challenge]."
  • You: "I'd love to schedule a brief 15-minute call next week to explore if there's a potential fit and show you how we've helped other e-commerce businesses. Would Tuesday or Wednesday afternoon work better for you?"

(If no immediate interest/pushback, move to objection handling or offer to send a relevant resource.)*

Customization Notes:

  • Research is Key: Prioritize researching the prospect's role, company news, recent challenges, or LinkedIn posts.
  • Industry Pain Points: Be ready with 2-3 common pain points specific to their industry that your AI solution addresses.
  • Quantifiable Benefits: Always try to include statistics or measurable outcomes.

3.2. Demo Script Framework

Goal: Showcase the value and relevance of your AI solution, align features with prospect needs, and secure commitment for the next stage (e.g., pilot, proposal, deeper dive).

Structure (Discovery-First Approach):

  1. Confirm Agenda & Goals: Set expectations.
  2. Re-qualify/Deepen Discovery: Uncover specific pain points and desired outcomes (even if discussed before).
  3. Personalized Solution Presentation: Show how your AI solves their specific problems.
  4. Interactive Walkthrough: Focus on key features and benefits, not just features.
  5. Address Concerns/Questions: Be open and transparent.
  6. Recap & Value Reinforcement: Summarize benefits relevant to them.
  7. Clear Next Steps & Mutual Action Plan: Define what happens next.

Key Elements & Flow for a Demo:

  • Opening (5 min):

* "Thanks for joining, [Prospect Name]. To ensure we make the most of our time, I'd like to confirm our agenda: first, a quick recap of your key challenges, then I'll walk you through how our AI platform addresses those, and finally, we'll discuss potential next steps. Does that sound good?"

* "Before we dive in, could you briefly share what specifically prompted you to take this demo today? What's the biggest challenge you're hoping to solve or opportunity you're looking to capture with an AI solution like ours?" (Deepen discovery)

  • Needs Alignment & Value Presentation (20-30 min):

* "Based on what you've shared about [their specific challenge, e.g., 'your difficulty in scaling customer support without sacrificing quality'], I'd like to show you how our AI-powered solution, [Your Product Name], directly tackles that."

* (Feature 1 - e.g., AI Chatbot for FAQs): "Let's look at our intelligent chatbot. Instead of showing you every setting, I want to highlight how it integrates seamlessly with your existing knowledge base. For instance, when a customer asks about [common query], our AI instantly provides an accurate answer, reducing your agent workload by X% and improving customer satisfaction."

Connect to their pain:* "This means your team can focus on complex issues, and customers get instant resolutions, which I know was a key concern for you."

* (Feature 2 - e.g., Agent Assist): "Next, for those complex cases, our Agent Assist feature uses AI to provide real-time recommendations to your human agents. Imagine your new hires having instant access to expert advice, cutting down training time and ensuring consistent service quality."

Connect to their pain:* "This directly addresses your need for faster onboarding and higher agent efficiency."

* (Feature 3 - e.g., Analytics & Optimization): "Finally, our analytics dashboard provides insights into common customer queries, agent performance, and areas where your knowledge base can be improved, all powered by AI. This isn't just data; it's actionable intelligence to continuously optimize your support operations."

Connect to their pain:* "This helps you make data-driven decisions to further reduce costs and improve service, aligning with your goal of operational excellence."

  • Addressing Concerns & Q&A (10 min):

* "What are your initial thoughts on what you've seen so far? Does this align with your vision for [specific business function]?"

* "Do you have any questions or concerns about how this would integrate with your current systems or impact your team?"

  • Closing & Next Steps (5 min):

* "Based on our conversation, it seems our AI solution could significantly help [Prospect Company] achieve [reiterate 2-3 key benefits, e.g., 'reduce support costs, improve customer satisfaction, and empower your agents']."

* "What do you think would be a logical next step from your perspective?"

(If they are unsure, propose one:)* "Typically, at this stage, clients find it valuable to have a deeper dive with our technical team to discuss integration specifics, or we can provide a customized proposal based on your needs. Which would be more beneficial for you right now?"

* "I'll send over a summary of what we discussed and a proposed next meeting invite. How does [date/time] sound for that?"

Customization Notes:

  • Interactive: Ask questions throughout the demo to ensure engagement and alignment.
  • Storytelling: Use brief client success stories relevant to the prospect's industry or challenge.
  • Focus on Why: Always explain the "why" behind a feature, linking it back to a benefit for the prospect.
  • Keep it Concise: Avoid feature dumping. Only show what's relevant to their expressed needs.

3.3. Follow-Up Script Examples

Goal: Maintain momentum, provide value, address post-interaction questions, and guide the prospect towards the next stage.


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

Scenario: Prospect agreed to receive information or you left a voicemail.

Subject: Following Up: Your [Company Name] Growth & AI-Powered [Solution Area]

Body:

"Hi [Prospect Name],

It was great connecting briefly earlier today/yesterday. As promised, I wanted to send over some quick information on how [Your Company] helps companies like [Prospect Company] to [key benefit 1] and [key benefit 2] using our AI-powered [Solution Area].

Specifically, you mentioned [their challenge/interest, if any]. Our clients often see [quantifiable result] in areas such as [specific area].

Here's a quick 2-minute video overview: [Link to short video]

And a relevant case study: [Link to relevant case study]

I'd still love to schedule that brief 15-minute discovery call to learn more about your specific needs and explore if there's a good fit.

What does your calendar look like early next week?

Best regards,

[Your Name]

[Your Title]

[Your Company]

[Your Phone Number]"


3.3.2. Post-Demo Follow-Up (Email)

Scenario: After a successful demo, aiming for the next step (e.g., proposal, technical deep dive, trial).

Subject: Recap: Your AI-Powered [Solution Area] Demo & Next Steps

Body:

"Hi [Prospect Name],

Thank you again for your time today/yesterday. I truly enjoyed our conversation and learning about your goals for [specific business function, e.g., customer service optimization] at [Prospect Company].

To recap, we discussed how [Your Product Name] could help you:

  • [Benefit 1, linked to their need]
  • [Benefit 2, linked to their need]
  • [Benefit 3, linked to their need]

Based on our discussion, the logical next step would be [e.g., 'to provide a customized proposal tailored to your needs' or 'to schedule a technical deep dive with our solution architect'].

I've attached a summary document with key highlights and a link to the relevant resources we discussed: [Link to summary/resources].

When would be a good time next week for a brief call to discuss the proposal/schedule the technical deep dive?

Looking forward to continuing the conversation.

Best regards,

[Your Name]

[Your Title]

[Your Company]

[Your Phone Number]"


3.3.3. Value-Add Follow-Up (Email - Mid-Sales Cycle)

Scenario: Keeping the conversation warm, providing value without directly asking for a meeting.

Subject: Thought on [Relevant Industry Trend/News] & Your [Solution Area]

Body:

"Hi [Prospect Name],

Hope you're having a productive week.

I came across this article about [recent industry trend, e.g., 'the rise of generative AI in customer experience'] and immediately thought of our conversation about [their specific challenge].

[Link to article/resource]

It highlights how companies are leveraging AI to [specific insight relevant to your solution]. I thought you might find it interesting, especially as you navigate [their challenge].

No need to respond, just wanted to share something I found valuable.

Best,

[Your Name]

[Your Title]"

Customization Notes:

  • Vary Mediums: Mix emails with LinkedIn messages or even a quick, concise phone call if appropriate.
  • Persistence with Value: Don't just "check in." Always provide a reason for your follow-up, even if it's a small piece of relevant information.
  • Track Engagement: Use CRM tools to see if they've opened emails or clicked links.

3.4. Objection Handling Framework & Examples

Goal: Address prospect concerns confidently, turn potential roadblocks into opportunities, and keep the sales conversation moving forward.

General Strategy: L.A.R.C.

  1. Listen: Actively listen to the entire objection without interrupting.
  2. Acknowledge: Validate their concern to show empathy ("I understand," "That's a valid point").
  3. Relate: Share how others had similar concerns and what the outcome was, or reframe the objection.
  4. Confirm: Check if you've addressed their concern and if they are ready to move forward.

Common Objections & Responses:

Objection 1: "It's too expensive / We don't have the budget."

  • You: "I completely understand that budget is a key consideration. Many of our clients initially share that concern. However, they often find that the ROI from our AI solution, through [mention 2-3 specific quantifiable benefits like cost savings, efficiency gains, revenue increase], far outweighs the initial investment."
  • You: "Could you share a bit more about what your budget typically looks like for solutions that address [the problem your solution solves]? Understanding your current spend helps me illustrate the potential savings and value we can bring. Are you looking at the total cost of ownership or just the initial investment?"
  • You: "Perhaps we can look at a phased implementation or a smaller pilot project to demonstrate the value before a full rollout. Would that be of interest?"

Objection 2: "I don't have time right now / Send me information."

  • You: "I appreciate that your time is valuable, and I don't want to waste it. The reason I called directly is that [mention a specific, relevant insight about their company/industry] and I felt a quick conversation would be more impactful than a generic email. Would you be open to just a 5-minute call tomorrow at [time] to see if this is even worth a deeper look?"
  • You: "I can certainly
gemini Output

As a deliverable from the "AI Sales Script Generator" workflow, we have crafted a suite of conversion-optimized sales scripts tailored for various stages of your sales cycle. These scripts leverage industry-specific language and strategic frameworks to maximize engagement and drive desired outcomes.


AI Sales Script Generator: Conversion-Optimized Scripts for PantheraHive AI CRM

This document provides detailed, professionally structured sales scripts designed for a hypothetical B2B SaaS product: PantheraHive AI CRM – a predictive analytics CRM solution for B2B sales teams. The scripts cover cold calls, demo introductions, follow-ups, and objection handling, incorporating best practices for conversion optimization and industry-specific terminology.

Core Principles of Conversion-Optimized Sales Scripts

Our AI-generated scripts are built upon the following foundational principles to ensure maximum effectiveness:

  • Clear Value Proposition: Immediately articulate the core benefit to the prospect.
  • Problem-Solution Framing: Identify common pain points and position your offering as the ideal solution.
  • Personalization & Empathy: Encourage tailoring to individual prospect needs and showing understanding.
  • Concise & Action-Oriented Language: Get straight to the point and guide the prospect to the next logical step.
  • Objection Pre-emption: Address potential concerns proactively where possible.
  • Strong Call to Action (CTA): Clearly state what you want the prospect to do next.
  • Industry-Specific Terminology: Use language that resonates with the target audience (e.g., "sales forecasting," "lead scoring," "pipeline velocity," "predictive analytics").

1. Cold Call Script: Discover & Qualify

Objective: To secure a brief discovery call or demo by piquing interest and demonstrating a clear, relevant value proposition.

Key Elements:

  • Permission-Based Opening: Respect their time.
  • Personalization Hook: Reference something specific about them or their company.
  • Problem Statement: Connect a common challenge to their potential situation.
  • Value Proposition: Briefly explain how your solution addresses that challenge.
  • Benefit-Oriented Question: Encourage engagement and qualify interest.
  • Low-Commitment CTA: Propose a brief, focused next step.

Cold Call Script Example: PantheraHive AI CRM

(Scenario: Calling a VP of Sales at a mid-sized B2B company)

[Sales Rep Name]: "Hi [Prospect Name], this is [Your Name] from PantheraHive. I know you're busy, do you have about 20 seconds for me to explain why I called?"

[Prospect]: "Sure, go ahead."

[Sales Rep Name]: "Great. I was doing some research on [Prospect Company Name] and saw you're focused on [mention a specific initiative or challenge, e.g., 'scaling your sales operations' or 'optimizing your sales forecasting']. We work with VPs of Sales like yourself who are looking to boost their sales team's productivity and improve win rates by leveraging predictive insights, rather than relying solely on historical data."

"We've helped companies similar to yours, like [mention a relevant, non-competitive company type/size], reduce their sales cycle by 15% and increase lead conversion by 20% using our AI-powered CRM. This often means their reps spend more time selling to high-potential leads and less time on manual data entry."

"Does proactively identifying your most promising leads and having clear next-best actions for your sales team sound like something that could impact your current goals?"

[Prospect]: (Acknowledge interest or ask a question)

[Sales Rep Name]: "Fantastic. Instead of diving into details now, which I know you don't have time for, how about a quick 15-minute call sometime next week? We can explore how PantheraHive AI CRM specifically addresses [mention their specific pain point or goal] and show you some relevant success stories. Would Tuesday or Wednesday work better for you?"

[If objection]: (See Objection Handling Section below)


2. Demo Introduction & Value Proposition Script

Objective: To set the stage for a successful demo by reiterating the value proposition, aligning with the prospect's needs, and outlining what they will gain from the demo.

Key Elements:

  • Welcome & Rapport: Thank them and build connection.
  • Recap Discovery: Briefly confirm their key challenges/goals identified in previous conversations.
  • Demo Objectives: Clearly state what the demo will cover and what the prospect will learn/see.
  • Value-Driven Overview: Connect demo features directly to their desired outcomes.
  • Interactive Approach: Encourage questions and feedback throughout.

Demo Introduction Script Example: PantheraHive AI CRM

(Scenario: Kicking off a scheduled product demonstration with a sales team)

[Sales Rep Name]: "Welcome, [Prospect Name(s)]! Thanks again for taking the time today. I'm excited to walk you through PantheraHive AI CRM. Before we dive in, I just want to quickly recap our last conversation to ensure we're aligned."

"My understanding is that [Prospect Company Name] is currently looking to improve your sales forecasting accuracy, empower your reps with better lead prioritization, and ultimately drive higher conversion rates across your sales pipeline. Is that still an accurate summary of your primary goals?"

[Prospect]: "Yes, that's right."

[Sales Rep Name]: "Excellent. So, during this demo, my goal is to show you exactly how PantheraHive AI CRM can help you achieve those objectives. Specifically, we'll cover:"

  • "How our predictive lead scoring identifies your hottest prospects in real-time, so your reps know exactly who to call and when."
  • "The power of our AI-driven 'Next Best Action' recommendations, which guide your team on the most effective steps to move deals forward."
  • "How you can gain unparalleled visibility into your pipeline health with accurate forecasting, allowing you to make data-backed strategic decisions."

"By the end of this session, you should have a clear understanding of how PantheraHive can transform your sales efficiency and performance. Please feel free to jump in with any questions at any point. Sound good?"

[Prospect]: "Sounds great."

[Sales Rep Name]: "Fantastic. Let's start by looking at the dashboard..."


3. Follow-Up Email Script (Post-Demo)

Objective: To reinforce the value discussed, provide a clear recap, and guide the prospect to the next logical step in the sales process.

Key Elements:

  • Thank You: Express gratitude for their time.
  • Personalized Recap: Reference specific points of interest or questions from the demo.
  • Key Takeaways/Value Reinforcement: Summarize 1-2 primary benefits relevant to them.
  • Relevant Resources: Offer additional useful content (e.g., case study, whitepaper).
  • Clear Next Step & CTA: Propose a specific action.

Follow-Up Email Script Example: PantheraHive AI CRM

(Scenario: Following up after a demo with [Prospect Name])

Subject: Following Up: PantheraHive AI CRM & Your Sales Goals at [Prospect Company Name]

Hi [Prospect Name],

Thank you again for taking the time to connect today and explore PantheraHive AI CRM. I truly enjoyed our conversation, especially discussing [mention a specific point of interest or a question they asked, e.g., "how our predictive lead scoring could integrate with your existing marketing automation" or "your team's specific challenges with current forecasting accuracy"].

As we discussed, the core value of PantheraHive lies in its ability to empower your sales team with actionable AI-driven insights, enabling them to:

  1. Prioritize high-potential leads and focus efforts where they matter most.
  2. Accelerate deal cycles with intelligent 'Next Best Action' recommendations.
  3. Improve forecasting accuracy for more predictable revenue generation.

I've attached a case study from [Similar Company Industry/Size] that highlights how they achieved a 20% increase in win rates and a 15% reduction in sales cycle after implementing PantheraHive. I think you'll find it relevant to your goals at [Prospect Company Name].

To help you further evaluate if PantheraHive is the right fit, I'd suggest a brief 30-minute follow-up call next week with my colleague, [Solution Engineer Name], who can walk you through a more tailored scenario based on your specific data structure. Would you be open to that?

Please let me know your availability, or if you have any immediate questions.

Best regards,

[Your Name]

[Your Title]

PantheraHive

[Your Phone Number]

[Your Email]

[Your Website]


4. Objection Handling Framework & Examples

Objective: To effectively address prospect concerns, reframe objections, and keep the sales conversation moving forward.

Key Elements of the L.A.E.R.C. Framework:

  • L - Listen: Fully hear and understand the objection without interrupting.
  • A - Acknowledge: Validate their concern and show empathy.
  • E - Explore: Ask clarifying questions to uncover the root cause of the objection.
  • R - Respond: Provide a concise, value-driven answer that addresses their specific concern.
  • C - Confirm: Ensure their objection has been adequately addressed and propose the next step.

Objection Handling Examples: PantheraHive AI CRM

Objection 1: "It's too expensive / We don't have the budget."

[Sales Rep Name]: (L) "I hear you, [Prospect Name]. Investing in new technology is a significant decision, and budget is always a crucial consideration." (A) "It's completely understandable to be concerned about the cost."

(E) "To help me understand better, when you say 'too expensive,' are you primarily concerned about the upfront investment, or more about the ongoing operational costs? And what kind of ROI are you typically looking for in a solution like this?"

(R) "Many of our clients initially have similar budget concerns. However, what they often find is that the ROI from PantheraHive AI CRM quickly outweighs the investment. For example, by increasing your lead conversion by just a few percentage points and reducing your sales cycle, the cost savings and revenue gains can be substantial. We've seen companies achieve payback in as little as 6-9 months through improved efficiency and increased win rates. We can also explore flexible payment options or a phased rollout to align with your budget cycles."

(C) "Does seeing the potential for a strong return on investment help address some of your budget concerns, or is there another aspect we should discuss?"


Objection 2: "We're happy with our current CRM / We already have a solution."

[Sales Rep Name]: (L) "That's perfectly fair, [Prospect Name]. It's great that your current CRM is serving some of your needs." (A) "Many of our customers were in a similar position before exploring PantheraHive."

(E) "Could you tell me a bit more about what you like most about your current system, and perhaps any areas where you feel there might still be room for improvement, especially around predictive insights or AI-driven sales intelligence?"

(R) "PantheraHive isn't necessarily designed to replace your entire existing CRM if it's working well for your foundational needs. Instead, we often integrate seamlessly with popular CRMs like Salesforce or HubSpot, acting as an intelligent overlay. We provide the predictive analytics and 'Next Best Action' capabilities that most traditional CRMs lack, giving your reps a significant edge in prioritizing leads, personalizing outreach, and forecasting accurately. It's about augmenting your existing investment, not necessarily abandoning it."

(C) "Would you be open to a brief discussion to see how PantheraHive could specifically enhance your current CRM's capabilities and fill any gaps in predictive sales intelligence, without disrupting your existing workflows?"


Objection 3: "Now isn't the right time / We're too busy."

[Sales Rep Name]: (L) "I completely understand, [Prospect Name]. Sales teams are always incredibly busy, and adding anything new can feel overwhelming." (A) "It's a common challenge, especially in fast-paced environments."

(E) "When you say 'not the right time,' are you anticipating a specific project or initiative that's consuming most of your resources right now? Or is it more about the bandwidth of your team to adopt a new tool?"

(R) "Ironically, many of our clients find that implementing PantheraHive actually frees up their team's time in the long run by automating lead prioritization, streamlining workflows, and reducing manual data analysis. We offer a structured onboarding process designed to minimize disruption, and our AI insights start delivering value almost immediately. The sooner you start, the sooner your team can benefit from increased efficiency and improved win rates."

(C) "Perhaps we could schedule a very brief, low-commitment call in a few weeks to revisit this, or would you be open to a quick 15-minute overview now to see how PantheraHive could actually help alleviate some of that 'busyness' in the near future?"


Customization & Best Practices for Sales Teams

These scripts are powerful templates, but their true potential is unlocked through customization and consistent application.

  • Personalize Relentlessly: Always integrate specific details about the prospect, their company, industry, or recent news.
  • Practice & Role-Play: Familiarize yourself with the scripts so they sound natural, not robotic.
  • Listen Actively: The scripts provide a framework, but always prioritize listening to the prospect's unique situation and adapting your response.
  • Track & Iterate: Monitor conversion rates for each script type. Use A/B testing or feedback loops to continuously refine and optimize.
  • Integrate with CRM: Ensure your CRM is updated with prospect interactions and next steps, aligning with the script's CTAs.

Conclusion & Next Steps

This comprehensive set of AI-generated, conversion-optimized sales scripts provides a robust foundation for your sales team to engage prospects more effectively, articulate value clearly, and confidently navigate objections. By adopting these structured approaches, your team can achieve greater consistency, efficiency, and ultimately, higher conversion rates.

We encourage you to integrate these scripts into your sales training and ongoing coaching to maximize their impact. We are available to discuss further customization, provide additional script variations, or assist with implementation strategies to ensure seamless adoption within your organization.

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);}});}