AI Sales Script Generator
Run ID: 69cb750361b1021a29a893402026-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 for AI Sales Script Generator

This document outlines a comprehensive 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 who benefits most from the AI Sales Script Generator is crucial for effective marketing. Our primary target audience consists of sales professionals and organizations striving for efficiency, consistency, and higher conversion rates in their sales efforts.

1.1 Core Segments

  • Sales Leaders & Managers (SMBs to Enterprise):

* Pain Points: Inconsistent team messaging, long ramp-up time for new reps, low conversion rates, difficulty tracking script effectiveness, high training costs, ensuring brand voice compliance, scaling sales operations without sacrificing quality.

* Goals: Increase team productivity, improve sales forecasting accuracy, standardize high-performing sales processes, reduce sales cycle length, boost overall revenue, enable data-driven script optimization.

  • Individual Sales Representatives (SDRs, BDRs, Account Executives):

* Pain Points: Writer's block when crafting outreach, lack of confidence in handling complex objections, difficulty personalizing at scale, spending too much time on script creation instead of selling, feeling unprepared for diverse prospect scenarios.

* Goals: Close more deals, increase commission, reduce call anxiety, improve personal efficiency, receive effective support for objection handling, access proven scripts quickly.

  • Entrepreneurs & Small Business Owners:

* Pain Points: Limited resources for sales training, lack of sales expertise, needing to wear multiple hats (including sales), difficulty crafting compelling pitches without a dedicated sales team.

* Goals: Generate leads and sales effectively, professionalize their outreach, save time on sales material creation, scale their business with proven sales messaging.

1.2 Key Industries

The AI Sales Script Generator offers significant value across industries with structured sales processes, high-volume outreach, or complex product offerings:

  • SaaS & Technology: High competition, need for constant product updates in messaging, rapid scaling.
  • Financial Services: Regulatory compliance, complex product explanations, trust-building.
  • Real Estate: Personalized client communication, objection handling (e.g., pricing, market conditions).
  • Consulting & Professional Services: Articulating value propositions, building credibility, tailored solutions.
  • Healthcare (B2B): Navigating regulations, demonstrating ROI for complex solutions.
  • Automotive: Sales process standardization, objection handling for pricing/features.

1.3 Psychographics & Motivations

  • Innovators & Early Adopters: Always looking for tools to gain a competitive edge.
  • Efficiency Seekers: Value tools that save time and automate repetitive tasks.
  • Results-Oriented: Driven by metrics, conversions, and revenue growth.
  • Growth-Minded: Companies and individuals looking to scale their sales operations.
  • Problem Solvers: Actively seeking solutions to improve sales performance challenges.

2. Channel Recommendations

To effectively reach our diverse target audience, a multi-channel approach combining inbound and outbound strategies is recommended.

2.1 Digital Channels

  • Content Marketing (Blog, Guides, Whitepapers, Webinars):

* Focus: "How-to" guides on sales script writing, "Top X Sales Objections & How to Handle Them," "AI in Sales: The Future of Outreach," case studies demonstrating ROI.

* Channels: Company Blog, LinkedIn Articles, Guest Posts on industry sites (e.g., Sales Hacker, RevGenius), Medium.

  • Search Engine Optimization (SEO):

* Focus: Ranking for high-intent keywords like "AI sales script generator," "cold call script template," "sales objection handling scripts," "best sales tools," "sales automation software."

* Action: Optimize website content, create pillar pages, build high-quality backlinks.

  • Paid Advertising:

* LinkedIn Ads: Target sales managers, VPs of Sales, BDRs/SDRs, specific industries. Ideal for lead generation (e.g., "Download our AI Sales Script Toolkit").

* Google Search Ads (SEM): Target users actively searching for sales script solutions, sales tools, or specific script types. High conversion intent.

* Facebook/Instagram Ads: Retargeting website visitors, lookalike audiences, and potentially cold audiences interested in sales productivity tools (more visual/storytelling approach).

  • Email Marketing:

* Strategy: Nurture leads from content downloads, webinar sign-ups, and demo requests. Provide valuable insights, product updates, and use cases.

* Action: Build segmented lists based on role/industry.

  • SaaS Directories & Review Sites (G2, Capterra, Software Advice):

* Strategy: Maintain a strong presence, encourage customer reviews, optimize product listings with compelling descriptions and screenshots.

* Action: Leverage positive reviews as social proof in other marketing materials.

  • Social Media Engagement (LinkedIn, X/Twitter):

* Strategy: Share valuable content, engage in sales-focused groups, participate in relevant conversations, showcase product features and success stories.

* Action: Build thought leadership through regular posting by company executives and sales leaders.

  • YouTube:

* Strategy: Create product demo videos, tutorials on using the generator for specific scenarios, "sales tip" videos featuring the tool, customer testimonials.

* Action: Optimize videos for search, cross-promote on other channels.

2.2 Offline & Partnership Channels

  • Industry Conferences & Trade Shows:

* Focus: Exhibit at major sales and tech conferences (e.g., Dreamforce, Sales 3.0, Rev Summit).

* Action: Booth demonstrations, speaking engagements, networking events, lead capture.

  • Partnerships & Integrations:

* Focus: Partner with CRM providers (Salesforce, HubSpot), sales engagement platforms (Outreach, Salesloft), and other complementary sales tools.

* Action: Co-marketing initiatives, API integrations, joint webinars.

  • Referral Programs:

* Focus: Incentivize existing satisfied customers to refer new users.

* Action: Offer discounts or premium features for successful referrals.


3. Messaging Framework

Our messaging framework will highlight the unique value proposition and address the core pain points of our target audience, driving home the benefits of an AI-powered solution.

3.1 Core Value Proposition

"Transform your sales conversations with AI-driven precision. Generate conversion-optimized, industry-specific sales scripts for every scenario, empowering your team to close more deals faster."

3.2 Key Message Themes

  • Efficiency & Time-Saving:

* "Stop wasting hours crafting scripts. Generate high-quality, personalized scripts in minutes."

* "Automate script creation, free up your sales team to do what they do best: sell."

  • Conversion & Revenue Growth:

* "Boost your close rates with AI-optimized scripts proven to convert."

* "Turn more leads into customers by delivering perfectly tailored messages, every time."

  • Consistency & Quality:

* "Ensure every sales interaction reflects your brand's best voice and messaging."

* "Standardize high-performing scripts across your entire sales team for predictable results."

  • Personalization & Relevance at Scale:

* "Deliver hyper-personalized outreach that resonates with specific industries, roles, and pain points."

"Move beyond generic templates. Our AI crafts scripts tailored to your prospect and your* product."

  • Objection Handling & Confidence:

* "Equip your reps with instant, intelligent responses to any objection, increasing their confidence and effectiveness."

* "Never be caught off guard. Our AI anticipates and crafts compelling rebuttals."

  • Scalability & Training:

* "Rapidly onboard new sales reps with a comprehensive library of proven scripts."

* "Adapt your sales messaging instantly to market changes or new product features."

3.3 Tone of Voice

  • Authoritative & Expert: Positioning the AI as a cutting-edge, intelligent solution.
  • Empathetic & Problem-Solving: Acknowledging sales challenges and offering a clear solution.
  • Results-Oriented: Focusing on tangible outcomes like increased conversions, efficiency, and revenue.
  • Innovative & Forward-Thinking: Highlighting the advanced AI capabilities.
  • Professional & Clear: Easy to understand, free of jargon where possible, direct.

3.4 Call to Action (CTA) Examples

  • "Get Started Free"
  • "Request a Personalized Demo"
  • "See How It Works"
  • "Boost Your Sales Today"
  • "Generate Your First Script"
  • "Download the Ultimate Sales Script Playbook"

4. Key Performance Indicators (KPIs)

Measuring the success of our marketing strategy is paramount. The following KPIs will be tracked across different stages of the customer journey.

4.1 Awareness & Engagement

  • Website Traffic: Unique visitors, page views, time on site (overall and specific product pages).
  • Social Media Reach & Engagement: Impressions, likes, shares, comments, follower growth on LinkedIn, X/Twitter.
  • Brand Mentions: Number of times the "AI Sales Script Generator" is mentioned online (media, social, forums).
  • Content Consumption: Downloads of whitepapers/guides, webinar attendance, blog post views.
  • SEO Rankings: Position for target keywords.

4.2 Lead Generation & Acquisition

  • Marketing Qualified Leads (MQLs): Number of leads meeting specific criteria (e.g., downloaded a lead magnet, visited pricing page).
  • Sales Qualified Leads (SQLs): MQLs accepted by the sales team for follow-up.
  • Demo Requests: Number of prospects requesting a product demonstration.
  • Free Trial Sign-ups: Number of users initiating a free trial.
  • Lead-to-Demo/Trial Conversion Rate: Percentage of leads that convert to a demo or trial.
  • Customer Acquisition Cost (CAC): Total marketing and sales spend divided by the number of new customers acquired.

4.3 Activation & Product Usage

  • Feature Adoption Rate: Percentage of users utilizing key features (e.g., script generation, objection handling module).
  • Script Generation Frequency: Average number of scripts generated per user/team per week/month.
  • Time-to-Value: How quickly new users generate their first useful script.
  • Engagement Rate: Daily/weekly active users (DAU/WAU).

4.4 Revenue & Retention

  • Monthly Recurring Revenue (MRR) / Annual Recurring Revenue (ARR): Total predictable revenue from subscriptions.
  • Customer Lifetime Value (CLTV): Predicted total revenue generated from a customer account.
  • Average Deal Size: Average revenue per new customer.
  • Sales Cycle Length: Time from first contact to closed-won deal (aim for reduction).
  • Churn Rate: Percentage of customers who cancel their subscription.
  • Net Promoter Score (NPS): Customer satisfaction and likelihood to recommend.
  • Referral Rate: Number of new customers acquired through referrals.

By systematically addressing these areas, the "AI Sales Script Generator" can establish a strong market presence, attract its ideal customers, and drive significant business growth.

gemini Output

As requested, here is the detailed, professional output for your AI Sales Script Generator, designed to provide conversion-optimized sales scripts across various stages of the sales cycle. This document includes industry-specific language tailored for B2B SaaS solutions, specifically focusing on sales enablement and AI-driven tools.


AI Sales Script Generator: Conversion-Optimized Sales Scripts

This deliverable provides a comprehensive suite of conversion-optimized sales scripts designed to guide your sales team through critical customer interactions. Each script is structured for maximum effectiveness, incorporating best practices for engagement, value articulation, and objection handling, with language tailored for the B2B SaaS sector.


1. Core Principles of Conversion-Optimized Sales Scripts

Before diving into the specific scripts, it's crucial to understand the underlying principles that make them effective:

  • Customer-Centricity: Focus on the prospect's needs, challenges, and desired outcomes, not just your product's features.
  • Value-Driven Communication: Clearly articulate the quantifiable benefits and ROI your solution provides.
  • Problem-Solution Framework: Identify a core pain point and position your solution as the direct, effective remedy.
  • Conciseness & Clarity: Get straight to the point, using clear, jargon-free language where possible, while leveraging industry-specific terms strategically.
  • Call to Action (CTA): Every interaction should lead to a clear, actionable next step.
  • Empathetic & Confident Tone: Build rapport and trust through understanding, while confidently presenting your solution.
  • Adaptability: These scripts are templates; encourage your team to personalize them based on prospect research and real-time conversation flow.

2. Sales Script Categories

2.1. Cold Call Script: Securing the Initial Discovery Meeting

Objective: To pique interest, qualify the prospect, and secure a follow-up discovery call or demo.

Target Industry: B2B SaaS (e.g., selling an AI-powered sales enablement platform)


Script:

(Phase 1: Opening & Permission - ~15-20 seconds)

"Hi [Prospect Name], this is [Your Name] from [Your Company]. Hope I'm not catching you at a bad time. The reason for my call is brief: we help sales leaders like you [mention a key role/title] significantly improve their team's conversion rates and pipeline velocity using AI-driven insights. Would you be open to a quick 20-second overview of how we're doing this for companies similar to [Prospect's Company]?"

(Phase 2: Pain Point & Value Statement - ~30-45 seconds)

"Great, thanks. Many sales teams we speak with are struggling with inconsistent script adherence, suboptimal follow-up cadences, and identifying the true buying signals in their customer conversations. This often leads to missed opportunities and longer sales cycles. Our platform leverages predictive AI to analyze sales interactions, generate dynamic, conversion-optimized scripts in real-time, and automate personalized follow-ups, directly addressing these challenges. We've seen clients achieve a [X]% increase in qualified leads and [Y]% faster deal closures."

(Phase 3: Qualification & CTA - ~20-30 seconds)

"Does optimizing your sales team's performance, especially around data-driven scripting and workflow automation, resonate with any initiatives you're currently focused on at [Prospect's Company]? If so, I'd love to schedule a brief 15-minute call next week to show you how we could specifically impact your team's KPIs. How does [Date] at [Time] or [Date] at [Time] look for you?"

(Phase 4: Handling Initial Hesitation)

  • If "I'm busy" / "Send me an email": "Absolutely, I can send over some information. To make sure it's relevant, could you tell me what specific area of sales performance – perhaps lead qualification, objection handling, or post-demo follow-ups – is most critical for your team to improve right now?" (Then suggest a quick call to tailor the info).
  • If "Not interested": "I understand. Just out of curiosity, when it comes to tools that help scale sales effectiveness and improve rep productivity, what's been your biggest challenge or priority recently?" (Listen for an opening).

2.2. Demo Script Outline: Showcasing Value, Not Just Features

Objective: To demonstrate how the solution directly addresses the prospect's specific pain points and delivers tangible value, leading to a trial or proposal.

Target Industry: B2B SaaS (AI-powered sales enablement platform)


Script Outline & Key Phrases:

(Phase 1: Welcome & Reconfirm Agenda - ~5 minutes)

  • "Welcome, [Prospect Name]! Thanks again for taking the time today. Based on our previous conversation, my understanding is you're looking to [reiterate prospect's core pain point, e.g., 'improve consistency in your sales messaging and reduce ramp-up time for new reps']. Does that still accurately capture your primary objective for this session?"
  • "Today, I'd like to show you how [Your Company]'s platform specifically addresses those challenges, focusing on [mention 2-3 key areas agreed upon in discovery, e.g., 'our dynamic script generation, real-time coaching, and automated follow-up engine']. We'll leave plenty of time for your questions. Sound good?"

(Phase 2: Problem-Solution-Benefit Storytelling - ~10-15 minutes)

  • "Let's start with the challenge of inconsistent messaging and the struggle to adapt to diverse buyer personas. Imagine [Scenario – e.g., 'a new sales rep struggling to articulate value on a complex cold call']. Our platform solves this by..."
  • Demonstrate Feature 1 (e.g., Dynamic Script Generation): "Here, you can see how our AI instantly generates context-aware scripts based on the CRM data and the conversation's progress. This isn't just a static script; it's a living guide that ensures your reps always have the right talking points, objections handled, and value props at their fingertips. The benefit? Improved message adherence and a faster path to productive conversations."
  • "Now, let's consider the issue of missed buying signals and suboptimal real-time coaching. How often do you wish you could provide immediate feedback to your team during live calls?"
  • Demonstrate Feature 2 (e.g., Real-time AI Coaching/Insights): "Our AI listens in, identifies key moments like competitor mentions or budget questions, and provides real-time prompts and suggestions directly to the rep. This is like having a sales coach in every call, guiding them to ask the right questions and pivot effectively. The outcome? Higher engagement, more effective discovery, and ultimately, better qualification."
  • "Finally, a common bottleneck is the post-call follow-up – often generic, time-consuming, and lacking personalization."
  • Demonstrate Feature 3 (e.g., Automated Personalized Follow-ups): "With our system, based on the conversation's content, the AI drafts highly personalized follow-up emails, including relevant case studies or resources discussed. This saves reps hours each week and ensures every follow-up is relevant and impactful. The result? Increased response rates and accelerated progression through your sales funnel."

(Phase 3: Interactive Q&A & Customization - ~10 minutes)

  • "What are your initial thoughts on how this could impact your team's current workflow?"
  • "Are there specific scenarios or challenges within your current sales process where you see this having the biggest immediate impact?"
  • "Let's explore how this integrates with your existing tech stack, specifically [mention their CRM, e.g., Salesforce, HubSpot]. Our API-first approach ensures seamless data flow, enriching your existing CRM data with deeper conversational insights."

(Phase 4: Future Vision & Next Steps - ~5 minutes)

  • "Imagine a future where your sales team is consistently hitting their targets, new reps are fully productive in half the time, and you have data-driven visibility into every customer interaction. That's the power of [Your Company]'s platform."
  • "Based on what we've seen today and your specific needs, the logical next step would be to [suggest a relevant CTA, e.g., 'set up a customized pilot program for your top 5 reps,' or 'schedule a deeper dive with your technical team to discuss integration,' or 'prepare a detailed proposal outlining the ROI for your organization']."
  • "How does a [pilot/technical deep dive/proposal] sound as a next step? What's your availability next week?"

2.3. Follow-Up Script: Post-Demo/Meeting

Objective: To maintain momentum, reiterate value, address any lingering questions, and confirm the next steps.

Target Industry: B2B SaaS (AI-powered sales enablement platform)


Email Script:

Subject: Following Up: Your Team's Sales Performance with [Your Company Name]

Hi [Prospect Name],

It was a pleasure speaking with you today/yesterday and demonstrating how [Your Company]'s AI-powered platform can help [Prospect's Company] achieve [reiterate 1-2 key benefits discussed, e.g., "greater consistency in sales messaging and accelerate rep ramp-up time"].

Specifically, we explored how:

  • Our dynamic script generation ensures reps always have optimal talking points.
  • Real-time AI coaching provides actionable insights during live calls.
  • Automated, personalized follow-ups boost engagement and save time.

You mentioned [specific pain point or goal discussed, e.g., "the challenge of getting new hires productive within their first 90 days"]. I truly believe our solution offers a direct path to addressing that, driving tangible improvements in your sales efficiency and pipeline conversion.

As discussed, the next step would be to [reiterate agreed-upon next step, e.g., "schedule a brief follow-up call with your Head of Sales, [Name], to discuss a pilot program," or "send over a customized proposal outlining the projected ROI"].

Please let me know what time works best for you for [next step], or if you have any additional questions in the meantime.

Looking forward to connecting again soon.

Best regards,

[Your Name]

[Your Title]

[Your Company]

[Your Phone Number]

[Your Website]


Voicemail Script (if no email response after 24-48 hours):

"Hi [Prospect Name], this is [Your Name] from [Your Company]. Just following up on our great conversation on [Day] about how our AI sales enablement platform can help [Prospect's Company] improve sales consistency and accelerate rep productivity. I sent over an email outlining the key takeaways and our agreed-upon next step, which was to [reiterate next step, e.g., 'schedule a brief chat with [Head of Sales Name]']. If you have a moment, please check your inbox, or feel free to call me back directly at [Your Phone Number]. Looking forward to connecting. Thanks!"


2.4. Objection Handling Framework & Examples

Objective: To effectively address prospect concerns, reframe value, and move the conversation forward constructively.

Framework: L.A.C.R.C.

  1. Listen: Truly hear and understand the objection.
  2. Acknowledge: Validate their concern; show empathy.
  3. Clarify: Ask questions to dig deeper into the root cause.
  4. Respond: Address the objection with a solution, value, or reframe.
  5. Confirm: Ensure their concern has been adequately addressed.

Common Objections & Responses (B2B SaaS - AI Sales Enablement):

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

  • Acknowledge: "I completely understand, [Prospect Name]. Budget is always a critical consideration, especially when evaluating new technologies."
  • Clarify: "To help me understand, are you concerned about the initial investment, or the perceived long-term value and ROI? What kind of budget constraints are you typically working with for sales tech investments?"
  • Respond: "Many of our clients initially feel that way, but once they see the ROI from improved conversion rates, reduced ramp-up time for new reps, and the significant time savings for sales managers, the investment quickly pays for itself. For example, [Client Name] saw a [X]% increase in their win rate within 6 months, translating to [Specific Dollar Amount] in additional revenue. What kind of impact would a [X]% increase in your pipeline conversion have on your bottom line?"
  • Confirm: "Does seeing the potential for significant ROI help to put the cost into perspective?"

Objection 2: "We're happy with our current process / We already have a CRM/tool that does this."

  • Acknowledge: "That's great to hear, [Prospect Name]. It sounds like you've put a lot of thought into your current sales operations."
  • Clarify: "Could you tell me a bit more about what aspects of your current process or tools you find most effective, especially around real-time sales guidance or automated content generation? What's working really well?"
  • Respond: "Often, companies find that while their existing CRM tracks data, it doesn't actively guide reps during live conversations or dynamically generate optimized scripts based on context. Our solution isn't meant to replace your CRM; it enhances it, acting as an intelligent layer that provides real-time coaching and ensures consistency across your team's interactions, directly impacting conversion effectiveness at scale. It's about optimizing the 'human' element of the sale with AI precision."
  • Confirm: "Do you see the distinction between data tracking and active, AI-driven sales guidance?"

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

  • Acknowledge: "I appreciate your honesty, [Prospect Name]. I know how demanding the current business environment can be, and prioritizing initiatives is key."
  • Clarify: "To help me understand, what specific initiatives are currently taking precedence that might prevent you from exploring solutions to improve sales performance and team efficiency? Is it a seasonal busy period, or a larger strategic project?"
  • **Respond
gemini Output

This deliverable provides a comprehensive suite of conversion-optimized sales scripts, meticulously generated to enhance your sales effectiveness across various stages of the customer journey. Leveraging advanced AI, these scripts are designed for clarity, impact, and adaptability, ensuring your team communicates value consistently and persuasively.


AI Sales Script Generator: Your Conversion-Optimized Sales Toolkit

This output delivers a foundational set of professionally crafted sales scripts, engineered to maximize your team's efficiency and conversion rates. Our AI Sales Script Generator focuses on delivering clear, compelling, and actionable language for critical sales interactions, from initial outreach to closing and objection handling.

Overview of the AI Sales Script Generator Capabilities

The AI Sales Script Generator is designed to empower your sales team with:

  • Conversion Optimization: Scripts are structured to guide conversations towards desired outcomes, focusing on value proposition and clear calls to action.
  • Consistency & Professionalism: Ensure a high standard of communication across your sales force, maintaining a consistent brand voice and message.
  • Efficiency: Reduce preparation time for sales reps, allowing them to focus more on active listening and relationship building.
  • Adaptability: While providing strong foundations, the scripts are designed to be easily customizable to specific client needs, product features, and industry nuances.
  • Comprehensive Coverage: Addresses key touchpoints including cold outreach, product demonstrations, follow-ups, and strategic objection handling.

Core Script Categories and Examples

Below, you will find detailed scripts and frameworks for the most crucial sales scenarios. For illustrative purposes, we will use a hypothetical B2B SaaS product: "AetherFlow CRM - AI-Powered Sales Automation."


1. Cold Call Script (Discovery & Qualification)

Objective: To secure an initial discovery meeting by quickly establishing relevance and value, while qualifying the prospect.

Key Elements:

  • Permission-Based Opening: Respect the prospect's time.
  • Clear Value Proposition: State why you're calling and the potential benefit.
  • Pain Point Identification: Ask open-ended questions to uncover needs.
  • Qualifying Questions: Determine fit and urgency.
  • Clear Call to Action: Propose a specific next step (e.g., a short discovery call).

Example Script: Cold Call for AetherFlow CRM

(Scenario: Calling a Sales Manager at a mid-sized company)

Rep: "Hi [Prospect's Name], this is [Your Name] from AetherFlow CRM. I know you're busy, so I'll be brief. Is this a good time for a quick 30-second introduction?"

Prospect: "Sure, go ahead." / "What's this about?"

Rep: "Great, thanks. We specialize in AI-powered sales automation, and we've helped companies like [Similar Company Type/Size] reduce their sales cycle by an average of 20% and increase lead conversion by 15% through intelligent lead scoring and automated follow-ups. The reason for my call is, I noticed your team at [Prospect's Company] is focused on [mention something relevant from their LinkedIn/website, e.g., 'scaling your sales operations' or 'improving sales efficiency']. Many sales managers we speak with are looking for ways to streamline their CRM data entry and ensure their reps are focusing on high-value activities."

(Pause for response, listen for cues)

Rep: "Does managing your team's productivity and ensuring consistent follow-up across all leads resonate with some of the challenges you're currently facing?"

Prospect: (Responds, e.g., "Yes, we struggle with that," or "Our current CRM is a bit clunky.")

Rep: "I understand completely. We find that many teams face similar hurdles. We've developed AetherFlow CRM specifically to address these by integrating AI to automate routine tasks, provide predictive insights, and free up your reps to do what they do best: sell."

Rep: "Rather than dive into a full demo now, I'd love to schedule a quick 15-minute discovery call next week. During that call, we could discuss your specific sales processes, see if AetherFlow CRM might be a good fit, and explore how we've helped similar companies. Would Tuesday at 10 AM or Wednesday at 2 PM work better for you?"

Prospect: (Suggests a time or asks for more info)

Rep: "Perfect, [Day] at [Time] it is. I'll send over a calendar invite right away with a brief agenda. Looking forward to speaking with you, [Prospect's Name]."


2. Demo Script Framework (Value-Driven Presentation)

Objective: To showcase how the product solves the prospect's specific problems, drives value, and addresses their key objectives, leading to a clear next step.

Key Stages:

  1. Reconfirm Agenda & Set Expectations: Briefly recap discovery call findings and confirm what the prospect wants to achieve from the demo.
  2. Brief Problem/Solution Overview: Connect their pain points directly to your solution's capabilities.
  3. Tailored Product Demonstration: Focus on features that directly address their identified needs, showing how it works, not just what it does.
  4. Value Reinforcement: Quantify benefits where possible (e.g., "This feature typically saves our clients 5 hours a week per rep").
  5. Address Questions & Concerns: Actively listen and respond.
  6. Next Steps & Call to Action: Propose a clear path forward (e.g., trial, proposal, follow-up meeting with stakeholders).

Example Framework: Demo for AetherFlow CRM

(Pre-Demo Prep: Review discovery call notes, identify 2-3 key pain points, and select relevant features to highlight.)

1. Welcome & Agenda Confirmation (5 min)

* "Hi [Prospect's Name], thanks for joining. Based on our last conversation, my understanding is you're looking to [reiterate 1-2 key pain points/goals, e.g., 'streamline lead qualification and automate follow-ups for your sales team']. Today, I'd like to show you how AetherFlow CRM specifically addresses those challenges, focusing on [mention 2-3 key features/modules]. Does that sound right, and is there anything else you'd like to ensure we cover today?"

2. Problem/Solution Bridge (5 min)

* "Many sales teams struggle with [reiterate pain point 1, e.g., 'leads falling through the cracks due to manual follow-up'], leading to [consequence, e.g., 'missed opportunities']. AetherFlow CRM tackles this head-on by [briefly state solution, e.g., 'using AI to prioritize leads and automate personalized follow-up sequences']."

3. Tailored Product Walkthrough (20-30 min)

* Module 1: AI-Powered Lead Scoring & Prioritization

* "Let's start with how AetherFlow helps your reps focus on the hottest leads. As you can see here in the dashboard, leads are automatically scored based on engagement, demographics, and historical conversion data. This means your team isn't wasting time on cold leads, but rather engaging with prospects who are most likely to convert."

* Show: Dashboard view, lead score explanation, filtering options.

* Value: "This typically results in a 15-20% increase in lead conversion rates by ensuring resources are directed effectively."

* Module 2: Automated Follow-Up Sequences & Task Management

* "Next, let's look at how we eliminate manual follow-up. AetherFlow allows you to set up intelligent, multi-channel follow-up sequences that trigger automatically based on prospect actions. No more forgotten emails or missed calls."

* Show: Sequence builder, email/SMS templates, task automation.

* Value: "Our clients report saving 2-3 hours per rep per week on administrative tasks, allowing more time for actual selling."

* Module 3: Customized Reporting & Analytics

* "Finally, for you as a sales manager, understanding team performance and pipeline health is crucial. AetherFlow provides customizable dashboards and reports that give you real-time insights into every aspect of your sales process."

* Show: Example reports (pipeline, rep performance, conversion metrics).

* Value: "This empowers you to make data-driven decisions, identify bottlenecks, and coach your team more effectively."

4. Q&A and Addressing Concerns (5-10 min)

* "What are your initial thoughts on what you've seen so far? Do you have any questions about how these features would integrate with your current workflow?"

5. Next Steps & Call to Action (5 min)

* "Based on our conversation today, it sounds like AetherFlow CRM could significantly help [reiterate their key goal, e.g., 'improve your team's lead conversion and efficiency']. The next logical step would be to [suggest specific action, e.g., 'set up a 30-day pilot project with a small team' or 'send you a customized proposal outlining pricing and implementation details']. Which of these makes the most sense for you moving forward?"

* "How about we schedule a brief follow-up call for [Date/Time] to discuss the pilot/proposal and answer any further questions you or your team might have?"


3. Follow-Up Script (Post-Call/Demo Nurture)

Objective: To maintain momentum, reinforce value, and guide the prospect to the next stage of the sales process after an initial interaction.

Key Elements:

  • Reference Previous Interaction: Remind them of your last conversation.
  • Reiterate Key Value/Benefit: Briefly link back to their specific needs.
  • Provide Additional Resources (Optional): Offer relevant content.
  • Clear Call to Action: Suggest a specific next step.

Example Script: Follow-Up for AetherFlow CRM

Scenario 1: Post-Discovery Call Follow-Up (Email)

Subject: Following Up: AetherFlow CRM & [Prospect's Company]

Body:

"Hi [Prospect's Name],

It was a pleasure speaking with you earlier today/yesterday. I really appreciated learning about [mention a specific pain point or goal discussed, e.g., 'your team's efforts to streamline lead qualification'] and how [Prospect's Company] is focused on [mention their strategic objective].

As discussed, AetherFlow CRM is designed to help companies like yours by [reiterate 1-2 key benefits, e.g., 'automating lead scoring and follow-ups to boost conversion efficiency'].

I've attached a brief overview of our [relevant feature, e.g., 'AI-powered lead scoring module'] that we touched upon.

I'm looking forward to our scheduled demo on [Date] at [Time]. If anything changes or you have any questions before then, please don't hesitate to reach out.

Best regards,

[Your Name]

[Your Title]

AetherFlow CRM"


Scenario 2: Post-Demo Follow-Up (Email)

Subject: Following Up: Your AetherFlow CRM Demo & Next Steps

Body:

"Hi [Prospect's Name],

Thank you again for your time today/yesterday for the AetherFlow CRM demonstration. I enjoyed our conversation and hope you found it insightful to see how AetherFlow can help [reiterate their primary goal, e.g., 'increase your team's productivity and lead conversion'].

Specifically, I believe our [mention 2-3 key features highlighted, e.g., 'AI lead scoring, automated follow-up sequences, and custom reporting'] would be most impactful for [Prospect's Company] in achieving [specific benefit, e.g., 'a 20% reduction in sales cycle time'].

As discussed, I've attached [e.g., 'the detailed proposal for the Professional package' / 'a link to schedule your 30-day pilot setup'].

Please let me know if you have any questions as you review the information. I'm available to chat further on [Date] at [Time], or feel free to suggest another time that works for you.

Looking forward to hearing from you.

Best regards,

[Your Name]

[Your Title]

AetherFlow CRM"


4. Objection Handling Framework (Empathetic & Solution-Oriented)

Objective: To address prospect concerns effectively, turn potential roadblocks into opportunities, and move the conversation forward constructively.

General Approach:

  1. Listen Actively: Let them finish their objection completely.
  2. Acknowledge & Empathize: Validate their concern, show you understand.
  3. Isolate the Objection: Confirm that this is the only remaining hurdle.
  4. Respond with Value: Provide information, a solution, or a reframe that addresses the specific concern.
  5. Confirm & Move Forward: Ensure the objection is satisfied and propose the next step.

Common Objections & Responses (Examples for AetherFlow CRM):

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

  • Acknowledge: "I completely understand, budget is always a key consideration, especially in the current climate. Many of our clients initially had similar concerns about the investment."
  • Isolate: "Just to be clear, if the investment wasn't an issue, would AetherFlow CRM otherwise be a good fit for your team's needs in terms of [reiterate key benefit, e.g., 'automating lead qualification and improving sales efficiency']?"
  • Respond with Value: "The way most of our clients look at the cost isn't as an expense, but as an investment that delivers a strong ROI. For example, by increasing lead conversion by 15% and saving each rep 2-3 hours a week, AetherFlow CRM typically pays for itself within [X] months. Could we perhaps discuss the potential ROI specific to your sales volume and team size? We could also explore our flexible payment options or a smaller pilot program to demonstrate value before a full rollout."
  • Confirm & Move Forward: "
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);}});}