AI Sales Script Generator
Run ID: 69ccf7ac3e7fb09ff16a6bab2026-04-01Business
PantheraHive BOS
BOS Dashboard

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

Comprehensive Marketing Strategy: AI Sales Script Generator

This document outlines a comprehensive marketing strategy for the "AI Sales Script Generator," designed to drive awareness, engagement, and conversion by targeting key decision-makers and addressing their specific pain points.


1. Target Audience Analysis

Our AI Sales Script Generator serves a critical need within organizations looking to optimize their sales performance. The primary target audience consists of sales leaders and professionals within companies that rely heavily on structured outreach and consistent messaging.

  • Primary Persona: Sales Manager / Director of Sales

* Demographics: Typically 30-55 years old, experienced in sales leadership.

* Firmographics: Companies with 10+ sales representatives, B2B focus, industries include SaaS, Technology, Financial Services, Professional Services, Healthcare (B2B), Real Estate, and any sector with complex sales cycles or high-volume outreach.

* Pain Points:

* Inconsistent messaging across the sales team leading to varied performance.

* Long ramp-up times for new sales reps.

* Difficulty in adapting scripts quickly to new product features, market changes, or competitive landscapes.

* Low conversion rates on cold calls, demos, and follow-ups.

* Lack of effective objection handling strategies for common scenarios.

* Time-consuming and manual process of creating, updating, and distributing sales scripts.

* Struggling to personalize outreach at scale.

* Need for data-driven insights into script effectiveness.

* Goals: Increase team productivity, improve conversion rates, standardize high-performing sales behaviors, reduce rep churn, hit revenue targets, and scale sales operations efficiently.

* Motivations: Achieve higher team performance, gain a competitive edge, leverage technology for efficiency, empower their sales force.

  • Secondary Persona: Business Development Representative (BDR) / Sales Development Representative (SDR) Manager

* Pain Points: Training new reps, ensuring consistent quality of outreach, improving cold outreach effectiveness, reducing rejection fatigue, managing high volumes of outreach.

* Goals: Improve lead qualification, increase meeting booked rates, reduce time-to-productivity for new hires.

  • Tertiary Persona: Small Business Owner / Entrepreneur (who handles sales directly)

* Pain Points: Limited resources for sales training/script development, need for quick and effective sales materials, desire to professionalize their sales approach without high costs.

* Goals: Close more deals, grow their business, save time on script creation.


2. Channel Recommendations

To effectively reach our diverse target audience, a multi-channel marketing approach is recommended, leveraging both digital and strategic partnership channels.

  • Digital Marketing:

* Content Marketing:

* Blog Posts: "5 Ways AI is Revolutionizing Cold Calling," "How to Handle Any Sales Objection with AI," "Boosting Demo Conversions: The AI Script Advantage."

* Whitepapers/E-books: "The Future of Sales Enablement: AI-Powered Scripting," "A Guide to Data-Driven Sales Conversations."

* Case Studies: Highlight successful implementations showing quantifiable improvements (e.g., "Company X Increased Cold Call Conversions by 25% with AI Scripts").

* Webinars/Online Workshops: Live demonstrations, Q&A sessions on specific sales challenges (e.g., "Mastering Objection Handling with AI").

* Search Engine Optimization (SEO):

* Keyword Targeting: Focus on terms like "AI sales script generator," "sales script AI," "cold call script software," "objection handling AI tool," "sales enablement platform," "BDR productivity tools."

* Technical SEO: Ensure website speed, mobile responsiveness, and clear site architecture.

* Paid Advertising (PPC & Social):

* Google Ads: Target high-intent keywords for direct conversions (e.g., "buy sales script generator," "AI for sales calls").

* LinkedIn Ads: Precisely target sales managers, directors, VPs of Sales, and BDR/SDR managers based on job title, industry, and company size. Utilize carousel ads for feature highlights and lead gen forms for demo requests.

* Retargeting: Display ads to website visitors across various platforms to reinforce messaging and encourage conversion.

* Email Marketing:

* Nurture Sequences: For leads generated through content downloads or webinars, provide valuable insights and product information.

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

* Social Media Marketing:

* LinkedIn: Organic posts featuring sales tips, industry insights, product updates, and employee spotlights. Engage with relevant sales groups and influencers.

* YouTube: Create product demo videos, "how-to" tutorials, and short explainer videos showcasing specific features and benefits.

  • Partnerships & Integrations:

* CRM Providers: Seek integration partnerships with major CRMs (Salesforce, HubSpot, Zoho CRM) to offer seamless workflow. Co-marketing opportunities with these partners.

* Sales Engagement Platforms: Integrate with tools like Outreach, Salesloft, and Apollo.io to enhance their script management capabilities.

* Sales Coaching & Training Platforms: Partner with sales training companies to offer our tool as an advanced enablement solution.

  • Direct Sales & Business Development:

* Outbound Prospecting: Implement a targeted outbound strategy using SDRs/BDRs to reach sales leaders in high-potential companies, leveraging our own AI sales script generator for effectiveness!

* Product Demos: Offer personalized demonstrations highlighting how the tool addresses specific pain points of the prospect.

  • Public Relations (PR) & Media Relations:

* Industry Publications: Secure features or interviews in leading sales, tech, and business publications (e.g., Sales Hacker, Selling Power, Forbes, TechCrunch).

* Analyst Relations: Engage with industry analysts (e.g., Gartner, Forrester) to get included in relevant reports and market guides.


3. Messaging Framework

Our messaging will emphasize innovation, efficiency, and tangible results, positioning the AI Sales Script Generator as an indispensable tool for modern sales teams.

  • Core Value Proposition:

"Empower your sales team with conversion-optimized, AI-generated sales scripts that adapt instantly, personalize at scale, and consistently close more deals across every interaction."

  • Key Benefits (Targeted by Persona):

* For Sales Managers/Directors:

* Consistency & Standardization: "Ensure every rep delivers a high-performing, consistent message, eliminating guesswork and boosting team-wide effectiveness."

* Faster Rep Ramp-Up: "Cut onboarding time in half by providing new hires with battle-tested, AI-optimized scripts from day one."

* Data-Driven Optimization: "Leverage AI to continuously learn and refine scripts based on real-world performance data, ensuring peak conversion rates."

* Scalable Performance: "Scale your sales operations with confidence, knowing your team is equipped with the best possible communication for every scenario."

* For Sales Reps:

* Confidence & Clarity: "Speak with authority and confidence, knowing you have the perfect script for any cold call, demo, or objection."

* Reduced Rejection: "Handle objections smoothly and effectively with AI-powered responses, turning 'no' into 'how can I learn more?'"

* Personalization Made Easy: "Deliver highly relevant and personalized messages effortlessly, building stronger rapport and increasing engagement."

* Focus on Selling: "Spend less time crafting messages and more time connecting with prospects and closing deals."

* For Businesses:

* Increased Revenue: "Drive significant revenue growth through higher conversion rates and improved sales team efficiency."

* Competitive Advantage: "Outperform competitors by equipping your sales force with cutting-edge AI technology."

* Optimized Sales Process: "Transform your sales process into a predictable, high-performing engine."

  • Unique Selling Points (USPs):

* Adaptive AI Engine: Scripts aren't static; they learn and evolve based on real-time feedback and performance metrics.

* Industry & Role Specificity: Generates highly tailored scripts for cold calls, demos, follow-ups, and objection handling, customized for specific industries and sales roles.

* Multi-Channel Versatility: Supports various communication channels, ensuring consistent and effective messaging across the sales journey.

* Seamless CRM & Sales Tool Integration: Effortlessly integrates with existing sales tech stacks for a unified workflow.

* Dynamic Personalization: AI dynamically adjusts scripts based on prospect data, ensuring maximum relevance.

  • Tone of Voice: Professional, innovative, empowering, results-oriented, intelligent, and confident.
  • Call to Action (CTAs):

* "Request a Personalized Demo"

* "Start Your Free Trial"

* "See How AI Can Transform Your Sales"

* "Download Our Case Study: [Industry] Success"

* "Get Your Custom AI Sales Script"


4. Key Performance Indicators (KPIs)

Measuring the effectiveness of our marketing strategy is crucial. The following KPIs will be tracked across different stages of the customer journey:

  • Awareness & Reach:

* Website Traffic: Organic search traffic, direct traffic, referral traffic, paid traffic.

* Social Media Reach & Impressions: Number of unique users who saw our content and total content views.

* Brand Mentions: Number of times the brand is mentioned in external media, articles, or social conversations.

* SEO Rankings: Position in search engine results pages (SERPs) for target keywords.

* PR Coverage: Number and quality of media placements.

  • Engagement:

* Content Downloads: Whitepapers, e-books, case studies.

* Webinar Attendance & Completion Rates: Number of registrants and attendees, and how many completed the webinar.

* Time on Site & Pages Per Session: Indicates user interest and content relevance.

* Social Media Engagement Rate: Likes, comments, shares per post.

* Email Open & Click-Through Rates: For newsletters and nurture campaigns.

  • Lead Generation & Conversion:

* Demo Requests: Number of qualified demo requests submitted.

* Free Trial Sign-ups: Number of users initiating a free trial.

* Lead-to-MQL Conversion Rate: Percentage of raw leads converted into Marketing Qualified Leads.

* MQL-to-SQL Conversion Rate: Percentage of Marketing Qualified Leads converted into Sales Qualified Leads.

* Customer Acquisition Cost (CAC): Total marketing and sales spend divided by the number of new customers acquired.

* Sales Cycle Length: Average time from initial contact to closed-won deal.

* Conversion Rates: Specifically tracking cold call-to-meeting, demo-to-next-step, and overall close rates for users of the AI script generator.

  • Customer Retention & Lifetime Value (LTV): (Longer-term KPIs, but influenced by initial marketing promise)

* Churn Rate: Percentage of customers who stop using the service.

* Customer Lifetime Value (CLTV): The total revenue a customer is expected to generate over their relationship with the company.

* Feature Adoption Rate: How many users are actively using the core features of the AI script generator.

* Net Promoter Score (NPS) / Customer Satisfaction (CSAT): Measures customer loyalty and satisfaction.

By consistently tracking these KPIs, we will be able to refine our marketing efforts, optimize our budget allocation, and ensure continuous improvement in attracting and converting our target audience for the AI Sales Script Generator.

gemini Output

AI Sales Script Generator: Conversion-Optimized Sales Scripts for PantheraGrow

This document provides a comprehensive suite of conversion-optimized sales scripts tailored for PantheraGrow, an AI-powered B2B Marketing Automation Platform. These scripts are designed to facilitate effective communication across various stages of the sales cycle, from initial cold outreach to objection handling, ensuring consistency, professionalism, and a focus on your target audience: Marketing Directors and VPs in mid-market companies.

Industry Focus: B2B SaaS - Marketing Automation

Product: PantheraGrow (AI-powered Marketing Automation Platform)

Key Value Proposition: Increase lead quality by 30%, reduce manual marketing tasks by 50%, personalize customer journeys at scale.


1. Cold Call Script: Securing a Discovery Call

Objective: To pique interest, identify a potential pain point, and secure a brief, dedicated discovery call.

(Opening - Permission-Based)

  • You: "Hi [Prospect Name], this is [Your Name] from PantheraGrow. I know you weren't expecting my call, but I noticed [Prospect Company] is in [Prospect Industry], and we've been helping similar marketing teams like yours [mention a relevant success metric, e.g., 'increase lead quality by 30%'] using AI-powered automation. Do you have about 20 seconds for me to explain why I called?"

* If Yes: "Great, thanks. We specialize in helping Marketing Directors like yourself streamline campaign execution, personalize customer journeys, and ultimately drive higher-quality leads without the manual overhead. Many of our clients struggled with [common pain point, e.g., 'fragmented data sources' or 'time-consuming manual segmentation'] before PantheraGrow."

* If No (or 'I'm busy'): "I completely understand. When would be a better time for a quick 5-minute chat next week? My goal is just to see if there's any potential alignment."

(Problem Identification & Value Proposition)

  • You: "Are you currently facing challenges with [specific pain point relevant to PantheraGrow, e.g., 'getting a unified view of customer data across all your marketing channels'] or perhaps looking for ways to [desired outcome, e.g., 'scale your personalization efforts without adding more headcount']?"

(Bridging to Solution - Briefly)

  • You: "PantheraGrow leverages AI to unify your data, automate complex campaigns, and provide predictive insights, allowing your team to focus on strategy rather than repetitive tasks. This often leads to [quantifiable benefit, e.g., 'a significant reduction in manual effort and a boost in conversion rates']."

(Call to Action)

  • You: "Based on what I've shared, I believe a brief, dedicated 15-minute discovery call could be valuable. We could explore how PantheraGrow specifically addresses [Prospect Company]'s current marketing goals. Would [Day], [Time] or [Day], [Time] work for you?"

(Handling "Send me information" - Soft Close)

  • You: "Absolutely, I can send some tailored information right after this call. To ensure it's as relevant as possible, could you share what specific aspects of marketing automation or AI you're most interested in exploring for [Prospect Company]? That way, I can focus on the most impactful resources for our chat on [Proposed Date/Time]."

2. Demo Script Outline: Showcasing PantheraGrow's Value

Objective: To provide a tailored demonstration of PantheraGrow's capabilities, addressing the prospect's specific challenges and showcasing ROI.

Pre-Demo Preparation:

  • Review discovery call notes, CRM data, and prospect's website.
  • Identify 2-3 key pain points and corresponding PantheraGrow features to highlight.
  • Prepare a customized demo environment or relevant use case.

(1. Introduction & Agenda Setting - 5 min)

  • You: "Hi [Prospect Name], thanks for taking the time today. Based on our last conversation, my understanding is that you're particularly interested in [reiterate 1-2 key pain points/goals, e.g., 'improving lead quality and personalizing customer journeys at scale']. Does that still sound right?"
  • You: "Today, I'd like to quickly [briefly review agenda, e.g., 'show you how PantheraGrow addresses these challenges through its AI-driven segmentation and automated journey builder, then discuss potential ROI and next steps']. We'll also leave plenty of time for your questions. How does that sound?"

(2. Discovery & Needs Confirmation - 10 min)

  • You: "Before we dive in, can you elaborate on [specific pain point previously mentioned, e.g., 'the biggest bottlenecks you face when trying to segment your audience for targeted campaigns']? Understanding your current process will help me tailor the demo even further."
  • You: "What does success look like for [Prospect Company] in terms of [relevant metric, e.g., 'lead conversion rates' or 'marketing team efficiency'] over the next 6-12 months?"

(3. Key Feature Showcase & Value Proposition - 25 min)

  • You: "Great, let's jump in. First, I want to show you how PantheraGrow's AI-Powered Audience Segmentation works..."

* Feature 1: AI-Powered Audience Segmentation (e.g., "This allows you to dynamically segment users based on predictive behavior, not just static demographics. For [Prospect Company], this means you can target high-intent leads with hyper-relevant content, increasing engagement by [X]%.")

* Feature 2: Automated Customer Journey Builder (e.g., "Once segmented, our drag-and-drop journey builder, enhanced with AI recommendations, lets you create complex, personalized multi-channel campaigns in minutes, not hours. Imagine reducing manual setup time by [X]%.")

* Feature 3: Performance Analytics & Optimization (e.g., "And to ensure you're always improving, PantheraGrow provides real-time, actionable insights into campaign performance, even suggesting optimizations to maximize ROI. This helps you identify what's working and what's not, allowing for agile adjustments.")

  • Throughout: Connect features directly to prospect's pain points and desired outcomes. Use phrases like: "For you, [Prospect Name], this means..." or "This directly addresses your challenge of [...] by [...]."

(4. Value & ROI Discussion - 10 min)

  • You: "Based on what you've seen today, which of these capabilities do you think would have the most immediate impact on [Prospect Company]'s marketing efforts?"
  • You: "If PantheraGrow could help you [reiterate key benefit, e.g., 'increase lead quality by 30% and free up your team's time from manual tasks'], what kind of impact would that have on your business?"
  • You: "Many of our clients see an average [X]% ROI within the first 6-9 months. We can work together to build a customized ROI projection for [Prospect Company]."

(5. Q&A & Next Steps - 10 min)

  • You: "What questions do you have for me at this point?"
  • You: "Based on what we've discussed, what would be a logical next step? Typically, clients at this stage are interested in [suggest next steps, e.g., 'a customized proposal and an ROI analysis' or 'a deeper dive into a specific module with your team']. Would you be open to a follow-up call next week to discuss a tailored proposal?"
  • You: "To prepare for that, what other information or team members should be involved in that discussion?"

3. Follow-up Scripts: Nurturing and Re-engagement

Objective: Maintain engagement, provide value, and move the prospect to the next stage of the sales cycle.

A. Post-Demo Follow-up (Email)

Subject: Following Up: PantheraGrow for [Prospect Company] - Your Path to [Key Benefit]

Body:

Hi [Prospect Name],

Thank you again for taking the time to connect today and explore how PantheraGrow can help [Prospect Company] [reiterate primary goal discussed, e.g., 'achieve better lead quality and streamline your marketing automation efforts'].

I truly enjoyed our conversation, especially discussing [specific point of discussion from demo, e.g., 'your challenges with cross-channel data unification']. As we discussed, PantheraGrow's [mention 1-2 key features shown, e.g., 'AI-powered segmentation and automated journey builder'] are specifically designed to address these areas, leading to [quantifiable benefit, e.g., 'a significant reduction in manual tasks and a boost in conversion rates'].

As promised, here are a few resources that might be helpful:

  • [Link to relevant case study, e.g., 'Case Study: How [Similar Company] Increased Lead Quality by 35% with PantheraGrow']
  • [Link to specific feature overview, e.g., 'Video: AI-Powered Customer Journey Builder']
  • [Link to ROI calculator/whitepaper if applicable]

Our next step, as we discussed, is to schedule a 30-minute call to review a customized proposal and an ROI projection tailored to [Prospect Company]'s specific needs.

Would [Date/Time Option 1] or [Date/Time Option 2] work best for that conversation?

Looking forward to connecting again.

Best regards,

[Your Name]

[Your Title]

PantheraGrow

[Your Phone Number]

[Your LinkedIn Profile]

B. Value-Add Nurture Follow-up (Email - If no immediate next step)

Subject: An interesting read on [Relevant Industry Trend] for [Prospect Company]

Body:

Hi [Prospect Name],

Hope you're having a productive week.

I was reading this article/report on [relevant industry trend, e.g., 'the rise of generative AI in marketing automation'] and immediately thought of our conversation about [Prospect Company]'s goals for [specific goal, e.g., 'scaling personalization'].

[Briefly summarize a key insight from the article and connect it to PantheraGrow's value, e.g., 'It highlights how crucial predictive analytics are becoming for identifying high-intent leads, which is precisely where PantheraGrow's AI excels.']

Thought you might find it insightful: [Link to Article/Report]

If you're finding these trends resonate with your priorities, I'd be happy to share more specific examples of how PantheraGrow is helping Marketing Directors navigate this landscape.

No pressure at all, just wanted to share.

Best,

[Your Name]

C. "Break-up" Email (When prospect goes silent)

Subject: Closing the loop on PantheraGrow for [Prospect Company]

Body:

Hi [Prospect Name],

I've tried reaching out a couple of times regarding PantheraGrow and our previous discussions about how we could help [Prospect Company] [reiterate primary goal, e.g., 'improve lead quality and automate your marketing campaigns'].

Since I haven't heard back, I'm going to assume that this isn't a priority for you right now, or the timing isn't quite right. I'll close your file for now.

However, if your priorities change or you find yourself looking for ways to [reiterate key benefit, e.g., 'scale your marketing efforts with AI and achieve a higher ROI'] in the future, please don't hesitate to reach out. We're always here to help.

Wishing you all the best.

Sincerely,

[Your Name]


4. Objection Handling: Addressing Common Concerns

Objective: To confidently address prospect objections, turn them into opportunities, and keep the conversation moving forward.

Objection 1: "It's too expensive."

  • Clarify & Reframe: "I understand price is always a consideration. When you say 'too expensive,' are you comparing it to [current solution/competitor] or are you concerned about the overall budget for [marketing automation/AI solutions]?"
  • Value-Based Response: "PantheraGrow is an investment designed to deliver significant ROI by [reiterate 1-2 key benefits, e.g., 'increasing lead quality by 30% and drastically reducing manual marketing tasks']. Many of our clients find that the efficiency gains and improved conversion rates quickly offset the initial investment. Could we explore the potential ROI for [Prospect Company] based on your specific goals? I'm confident we can demonstrate a clear path to positive returns."
  • Break Down Cost (if applicable): "Rather than just focusing on the sticker price, let's look at the cost per lead, or the cost per hour saved for your team. When you consider the value of [e.g., 'a 30% increase in qualified leads'], the total cost of ownership becomes quite attractive."

Objection 2: "We're happy with our current solution ([Competitor/Manual Process])."

  • Acknowledge & Validate: "That's great to hear! It sounds like [Current Solution] is serving you well in certain areas. Many of our clients were also 'happy' before discovering PantheraGrow. What aspects of your current solution are you most satisfied with?"
  • Identify Gaps/Elevate: "Often, while existing solutions handle the basics, they might lack [specific PantheraGrow differentiator, e.g., 'the predictive power of AI for truly dynamic segmentation'] or `
gemini Output

AI Sales Script Generator: Conversion-Optimized Sales Playbook

This deliverable provides a comprehensive suite of conversion-optimized sales scripts tailored for various stages of the sales cycle. Designed to enhance your team's effectiveness, these scripts incorporate best practices for engagement, value articulation, and objection handling, ensuring consistency and professionalism across all interactions.


Executive Summary

This document presents a refined collection of sales scripts for cold calls, product demonstrations, follow-ups, and common objection handling scenarios. Each script is meticulously crafted to be persuasive, customer-centric, and structured for maximum conversion potential, leveraging principles of clear communication, empathy, and strategic questioning. While the examples provided herein utilize a generic B2B AI SaaS product for illustrative purposes, the underlying frameworks are designed for easy adaptation to any industry or specific product/service.


Introduction to Conversion-Optimized Sales Scripts

Effective sales communication is the cornerstone of successful conversions. These scripts are not meant to be read verbatim but serve as robust frameworks and guides to empower your sales team. They are designed to:

  • Increase Engagement: Capture attention quickly and maintain interest.
  • Articulate Value Clearly: Communicate benefits in a way that resonates with customer pain points.
  • Streamline Communication: Ensure key messages are consistently delivered.
  • Improve Confidence: Equip sales reps with proven responses for common scenarios.
  • Boost Conversion Rates: Guide prospects naturally through the sales funnel.

Key Principles for Effective Script Utilization

Before diving into the scripts, remember these core principles:

  1. Listen Actively: Scripts are a guide, not a monologue. Prioritize understanding the prospect's needs.
  2. Be Authentic: Adapt the language to your natural speaking style.
  3. Personalize: Integrate specific details about the prospect, their company, and their industry.
  4. Focus on Value: Always connect your solution back to the prospect's challenges and desired outcomes.
  5. Practice: Rehearse the scripts to ensure smooth, confident delivery.

1. Cold Call Script: Discovery & Qualification

Goal: To pique interest, qualify the prospect, and secure a follow-up meeting or demo.

Structure:

  • Permission-Based Opener: Respect their time.
  • Context/Reason for Call: Briefly explain why you're calling (e.g., observed a trend, helped similar companies).
  • Value Proposition (Brief): Highlight a key benefit relevant to their potential pain points.
  • Qualifying Question: Uncover a potential challenge they might face.
  • Call to Action (CTA): Propose a quick, low-commitment next step.

Example Script (Generic AI Sales Enablement Platform):

(Rep: "AI Sales Pro")

  • Rep: "Hi [Prospect Name], this is [Your Name] from AI Sales Pro. I know you're busy, do you have about 30 seconds for me to explain why I called?"
  • Prospect: "Sure, go ahead." / "What's this about?"
  • Rep: "Great, thanks. We specialize in helping B2B sales teams like yours dramatically reduce manual data entry and intelligently prioritize leads, which typically leads to a 15-20% increase in sales efficiency within the first quarter. The reason I reached out specifically is that I noticed [Prospect Company] operates in [Industry], where many companies struggle with [Specific Pain Point, e.g., 'CRM overload' or 'inconsistent follow-up practices']."
  • Rep: "Curious, how are you currently managing lead prioritization and ensuring consistent sales processes across your team?"

(Listen carefully to their response. This is crucial for qualification.)*

  • Rep (If pain point confirmed/implied): "It sounds like you might be experiencing some of the challenges we help solve. Would you be open to a brief, 15-minute call next week to explore how AI Sales Pro could specifically enhance your team's workflow and potentially boost your conversion rates? We could look at [Day] at [Time] or [Day] at [Time]."
  • Rep (If no immediate pain point): "I understand. Many of our clients initially thought their systems were sufficient until they saw the efficiency gains our AI brings. Even if it's not a priority right now, would you be open to a quick 10-minute chat next [Day] to share some insights on how top-performing sales teams are leveraging AI, no strings attached?"

Tips for Delivery:

  • Tone: Confident, friendly, and respectful.
  • Pacing: Speak clearly, but don't rush. Pause to allow the prospect to interject.
  • Objection Handling (Initial): For "Not interested" or "Send me an email," try: "I understand. Before I send anything over, could you briefly tell me what specifically you're not interested in? That way I can ensure any information I send is relevant, or not send it at all if it's truly not a fit."

2. Demo Script: Value-Driven Presentation

Goal: To showcase the solution's capabilities in a way that directly addresses the prospect's identified pain points and demonstrates clear ROI, leading to a trial or next-step meeting.

Structure:

  • Introduction & Agenda: Set expectations.
  • Discovery & Confirmation: Reiterate understanding of their needs.
  • Problem-Solution Showcase: Demonstrate features tied to their specific problems.
  • Value Reinforcement: Quantify benefits and ROI.
  • Q&A & Next Steps: Address questions and define the path forward.

Example Script (Generic AI Sales Enablement Platform):

(Rep: "AI Sales Pro")

  • Rep: "Welcome, [Prospect Name/Team]! Thanks for taking the time today. My goal for this 30-minute session is to show you how AI Sales Pro can specifically address [Pain Point 1, e.g., 'the manual effort in lead qualification'] and [Pain Point 2, e.g., 'the challenge of consistent follow-up'], ultimately helping your team [Desired Outcome, e.g., 'close more deals faster']. Does that sound like a good agenda for you?"
  • Rep: "Before we dive in, based on our previous conversation, my understanding is that your team is currently struggling with [Reiterate specific challenge, e.g., 'spending too much time sifting through unqualified leads, leading to missed opportunities and burnout']. Is that still an accurate reflection of your primary challenge today?"

(Allow for confirmation and any new insights.)*

  • Rep: "Excellent. Let's look at how AI Sales Pro tackles that head-on. I'll share my screen.

* [DEMO SEGMENT 1: Intelligent Lead Scoring & Prioritization]

* "Here you can see our AI-powered lead scoring dashboard. Instead of manual guesswork, our system analyzes hundreds of data points – historical conversions, engagement patterns, firmographics – to give each lead a real-time 'hotness' score. This means your reps are always working on the leads most likely to convert. For [Prospect Company], imagine the impact of your team focusing 80% of their effort on the top 20% of your leads."

* "Notice how it integrates directly with your CRM, pushing these scores and even suggesting the next best action. This saves your reps an average of [X hours] per week."

* [DEMO SEGMENT 2: Automated & Personalized Follow-Up Sequences]

* "Now, let's look at follow-ups. Inconsistent follow-ups are a huge deal killer. Our platform allows you to create AI-optimized, personalized follow-up sequences that adapt based on prospect engagement. If a prospect opens an email but doesn't reply, the AI can trigger a specific voicemail script or a LinkedIn message, ensuring no lead falls through the cracks. This maintains engagement without requiring constant manual oversight."

* "We've seen clients reduce their sales cycle by [X%] using this feature alone."

  • Rep: "So, what are your initial thoughts on how these capabilities could impact your team's daily workflow and overall sales performance?"

(Listen for questions, concerns, or excitement.)*

  • Rep: "Based on what we've discussed today, it seems AI Sales Pro could help [Prospect Company] achieve [Recap 2-3 key benefits tied to their needs, e.g., 'a significant reduction in unqualified lead pursuit, leading to higher morale and a measurable increase in closed-won deals']. What's the best next step for you? Would you like to schedule a deeper dive with a technical expert, or perhaps we can set up a pilot program for a subset of your team to experience the benefits firsthand?"

Tips for Delivery:

  • Show, Don't Tell: Focus on demonstrating features that solve their problems.
  • Tell Stories: Use anecdotes or examples of how other clients benefited.
  • Engage Continuously: Ask open-ended questions throughout the demo.
  • Handle Technical Issues Gracefully: Have a backup plan.
  • Practice Transitions: Move smoothly between different features.

3. Follow-Up Scripts: Nurture & Advance

Goal: To maintain engagement, provide additional value, and move the prospect to the next stage of the sales cycle.

Types of Follow-ups:

  • Post-Call/Meeting: Reiterate value, provide resources, confirm next steps.
  • Post-Demo: Summarize key takeaways, address questions, push for decision.
  • Nurture/Check-in: Provide new insights, case studies, or relevant content.

Example Script (Email - Generic AI Sales Enablement Platform):

a) Post-Demo Follow-Up Email

Subject: Following up: Your AI Sales Pro Demo & Next Steps for [Prospect Company]

Body:

Hi [Prospect Name],

Thanks again for taking the time to review AI Sales Pro yesterday. It was great to discuss your team's challenges with [Specific Pain Point 1, e.g., 'lead qualification efficiency'] and [Specific Pain Point 2, e.g., 'consistent follow-up strategy'].

As we discussed, I believe AI Sales Pro can significantly help [Prospect Company] by:

  • [Benefit 1]: Intelligently prioritizing your hottest leads, saving reps valuable time.
  • [Benefit 2]: Ensuring every lead receives timely, personalized follow-up, boosting engagement.

I've attached a brief summary of our discussion and a link to a case study from [Similar Company/Industry] that saw a 25% increase in conversion rates after implementing our solution.

To keep the momentum going, would you be available for a brief 15-minute call next [Day, e.g., Tuesday] to answer any further questions and discuss setting up a pilot program? Please let me know what works best for you.

Best regards,

[Your Name]

[Your Title]

AI Sales Pro

[Your Phone Number]

[Your Website]

b) Nurture/Value-Add Follow-Up Email

Subject: An interesting read: [Relevant Industry Trend] for [Prospect Company]

Body:

Hi [Prospect Name],

Hope you're having a productive week.

I was thinking about our conversation last month regarding [Specific Pain Point, e.g., 'the challenges of scaling your sales team effectively'] and came across this article/report on '[Relevant Industry Trend, e.g., "The Rise of AI in Sales Operations"]' that I thought you might find insightful.

It highlights how many companies in [Prospect Industry] are leveraging AI to [Specific Benefit, e.g., 'automate routine tasks and free up reps for high-value selling'], which aligns perfectly with what we discussed.

[Link to Article/Resource]

If anything in the article sparks a question or you'd like to revisit how AI Sales Pro addresses these trends, feel free to schedule a quick chat here: [Your Calendar Link].

No pressure at all, just wanted to share.

Best,

[Your Name]

AI Sales Pro

Tips for Delivery (Emails):

  • Concise: Get to the point quickly.
  • Personalized: Always refer to previous conversations or specific details.
  • Clear CTA: Make it easy for the prospect to take the next step.
  • Provide Value: Don't just "check in"; offer something useful.

4. Objection Handling Framework & Scripts

Goal: To confidently address prospect concerns, reframe perceived negatives, and keep the sales conversation moving forward.

General Framework (Acknowledge, Empathize, Reframe, Solution/Isolate):

  1. Acknowledge: "I understand..." / "That's a valid point..."
  2. Empathize: "Many of our clients initially felt the same way..."
  3. Reframe/Educate: Provide new perspective, data, or clarify misunderstanding.
  4. Solution/Isolate: Offer a solution, ask a clarifying question, or isolate the true objection.

Common Objections & Example Responses (Generic AI Sales Enablement Platform):

a) "It's too expensive / We don't have the budget."

  • Rep: "I understand, [Prospect Name], budget is always a key consideration. Many of our clients initially raise concerns about the investment, but what they quickly realize is that AI Sales Pro isn't just an expense; it's an investment that delivers a strong ROI. When we look at the cost of [manual lead qualification, missed follow-ups, lost deals], our clients typically see a payback period of [X months] due to [quantifiable benefits, e.g., 'a 15% increase in sales efficiency and a 10% reduction in sales cycle time'].

* "Could you tell me a bit more about what you're comparing our solution to, or what budget constraints you're currently facing? That helps me understand if we're truly a fit."

b) "We're happy with our current solution / We already have a CRM."

  • Rep: "That's great to hear, [Prospect Name]. A robust CRM is essential, and we're not here to replace it. In fact, AI Sales Pro is designed to augment your existing CRM, making it significantly more powerful. Think of your CRM as the brain, and AI Sales Pro as the AI-powered nervous system that helps it act smarter and faster.

"Many of our clients felt their current setup was sufficient until they experienced how our AI could automatically prioritize leads and personalize follow-ups within* their existing CRM, eliminating manual tasks their reps were spending hours on. What specific aspects of your current setup are working exceptionally well, and where do you feel there might still be room for improvement in terms of efficiency or conversion?"

c) "I don't have time right now."

  • Rep: "I completely understand, [Prospect Name], time is a precious commodity, especially for sales leaders. The very reason I reached out is because AI Sales Pro is designed to give your team more time by automating
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
"); 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' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); 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' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); 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' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); 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} "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- 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",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "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"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); 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'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); 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} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); 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)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/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)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- 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:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== 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(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } 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);}});}