Email Marketing Sequence
Run ID: 69cc5e61b4d97b7651475c832026-03-31Marketing
PantheraHive BOS
BOS Dashboard

Build a complete email marketing sequence with welcome series, nurture campaigns, re-engagement flows, and conversion-optimized copy.

Audience Analysis for Email Marketing Sequence

This document provides a comprehensive analysis of the target audience segments crucial for developing a highly effective email marketing sequence. Understanding these distinct segments will enable the creation of personalized, relevant, and conversion-optimized email content for each stage of the customer journey.


1. Introduction: The Foundation of Effective Email Marketing

A successful email marketing sequence begins with a deep understanding of who you are trying to reach. This audience analysis breaks down potential subscribers and customers into key segments, identifying their characteristics, needs, pain points, and motivations. By tailoring messages to these specific profiles, we can significantly improve engagement rates, nurture leads more effectively, and drive conversions.

This analysis will serve as the strategic foundation for designing the Welcome Series, Nurture Campaigns, Re-engagement Flows, and Conversion-Optimized communications.


2. Core Audience Segmentation Strategy

To build a robust email marketing sequence, we recommend segmenting the audience based on their relationship with the brand, their engagement level, and their position in the sales funnel. This approach ensures that each email delivered is timely, relevant, and aligned with the recipient's current needs and expectations.

Key Segmentation Dimensions:

  • Awareness Level: How familiar are they with the brand and its offerings?
  • Engagement Level: How have they interacted with previous communications or the website?
  • Purchase Intent: Are they browsing, considering, or ready to buy?
  • Customer Status: Are they new prospects, existing customers, or lapsed users?
  • Demographics/Psychographics (as available): Age, interests, behaviors, roles (if B2B).

3. Detailed Audience Segment Analysis & Data Insights

Below are the primary audience segments identified, along with their characteristics, needs, motivations, and relevant data insights critical for crafting targeted email sequences.

3.1. Segment 1: New Subscribers / Prospects (Welcome Series)

  • Description: Individuals who have just opted into the email list (e.g., downloaded a lead magnet, signed up for a newsletter, created an account). They have expressed initial interest but may have limited brand knowledge.
  • Characteristics:

* High initial curiosity and intent.

* Seeking promised value (e.g., lead magnet, exclusive content).

* Potentially comparing options with competitors.

* May be unaware of the full range of products/services.

  • Needs & Pain Points:

* Needs: Clear introduction to the brand, understanding of value proposition, quick wins/solutions, trust-building, next steps.

* Pain Points: Information overload, skepticism, feeling like "just another email."

  • Motivations:

* To learn more about a specific topic/solution.

* To solve an immediate problem.

* To get the promised resource.

* To evaluate the brand's credibility.

  • Data Insights & Trends:

* Opt-in Source: (e.g., specific landing page, blog post, social media ad, website pop-up) – indicates initial interest area.

* Lead Magnet Downloaded: Specific content consumed reveals their primary concern.

* Initial Website Activity: Pages visited immediately after opt-in.

* Demographic/Firmographic Data: If collected during sign-up (e.g., industry, role, location).

* Trend: High open rates for welcome emails (50-70%), but declining engagement if not personalized.

3.2. Segment 2: Engaged Leads / Active Users (Nurture Campaigns)

  • Description: Subscribers who have interacted with previous emails (opened, clicked), visited specific product/service pages, or downloaded multiple resources. They are actively evaluating solutions and deepening their understanding.
  • Characteristics:

* Demonstrated sustained interest.

* More familiar with the brand and its offerings.

* Likely in the "consideration" phase of their buying journey.

* May be looking for specific features, benefits, or use cases.

  • Needs & Pain Points:

* Needs: Deeper insights, specific product/service benefits, case studies, social proof, objection handling, comparison guides.

* Pain Points: Decision fatigue, feature overload, price concerns, difficulty in seeing how a solution applies to their specific context.

  • Motivations:

* Finding the best solution for their specific problem.

* Overcoming objections to purchase.

* Validating their choice with social proof.

* Seeking detailed information to make an informed decision.

  • Data Insights & Trends:

* Email Engagement: Consistent open and click-through rates on specific topics.

* Website Activity: Repeated visits to product pages, pricing pages, features pages, blog content related to specific problems.

* Content Consumption: Downloads of whitepapers, webinars attended, specific blog posts read.

* CRM Data: Interactions with sales (if applicable), lead scoring.

* Trend: Personalization based on demonstrated interest can increase CTR by 15-20%.

3.3. Segment 3: Inactive / Lapsed Subscribers (Re-engagement Flows)

  • Description: Subscribers who have not opened or clicked on emails for a defined period (e.g., 60-90 days), or have shown no recent website activity. They may have lost interest or forgotten about the brand.
  • Characteristics:

* Low to no recent engagement.

* Potentially overwhelmed by other emails.

* May have found an alternative solution.

* Could be simply distracted or busy.

  • Needs & Pain Points:

* Needs: A compelling reason to re-engage, reminder of value, special offer, updated information, an easy way to update preferences or unsubscribe.

* Pain Points: Irrelevant content, forgotten value, perception of spam.

  • Motivations:

* A strong incentive (discount, exclusive content).

* A clear reminder of how the brand can solve a current problem.

* A simple way to opt-out if no longer interested.

* Curiosity about new offerings.

  • Data Insights & Trends:

* Last Open/Click Date: Primary indicator of inactivity.

* Website Activity: Absence of recent visits.

* Purchase History: (If applicable) Last purchase date, indicating potential churn.

* Demographic Changes: (If B2B) Job changes or company shifts.

* Trend: Re-engagement campaigns can recover 5-10% of inactive subscribers, but require compelling offers and clear calls to action.

3.4. Segment 4: Customers / Purchasers (Post-Purchase, Loyalty, Upsell/Cross-sell)

  • Description: Individuals who have made a purchase or subscribed to a service. This segment can be further broken down by product purchased, purchase frequency, or total spend.
  • Characteristics:

* Familiar with the brand and its products/services.

* Likely to be loyal if their initial experience was positive.

* Potential for repeat business, upsells, and cross-sells.

* May require support or usage tips.

  • Needs & Pain Points:

* Needs: Onboarding instructions, product usage tips, support resources, exclusive offers, loyalty rewards, complementary product suggestions, community access.

* Pain Points: Post-purchase dissonance, feeling unappreciated, lack of support, not realizing full product potential.

  • Motivations:

* Maximizing the value of their purchase.

* Feeling appreciated and valued as a customer.

* Discovering new ways to use the product/service.

* Accessing exclusive benefits.

* Solving related problems with additional products/services.

  • Data Insights & Trends:

* Purchase History: Specific products bought, purchase date, frequency, average order value.

* Product Usage Data: (If applicable) Feature adoption, login frequency, key actions taken.

* Customer Service Interactions: Indicates areas of friction or common questions.

* NPS/CSAT Scores: Measures customer satisfaction and loyalty.

* Trend: Personalized post-purchase emails can increase repeat purchases by 20-30%.

3.5. Segment 5: Cart Abandoners / High-Intent, Non-Purchasers (Conversion Optimization)

  • Description: Individuals who have added items to their shopping cart or initiated a checkout process but did not complete the purchase. This also includes those who have viewed high-value pages (e.g., demo request, pricing page) multiple times without converting.
  • Characteristics:

* Very high purchase intent.

* Likely encountered a last-minute objection or distraction.

* May be price-sensitive or have forgotten about the items.

  • Needs & Pain Points:

* Needs: Gentle reminder, reassurance (shipping, returns, security), incentive (discount, free shipping), objection handling (FAQs, testimonials).

* Pain Points: Unexpected shipping costs, long checkout process, distraction, not ready to commit, price.

  • Motivations:

* Completing a desired purchase.

* Getting a good deal or overcoming a specific objection.

* Convenience.

  • Data Insights & Trends:

* Cart Contents & Value: Specific items and total cost.

* Time Since Abandonment: Urgency is key for these emails.

* Previous Purchase History: Indicates loyalty or first-time buyer.

* Website Activity: Pages viewed before and after abandonment.

* Trend: Abandoned cart emails have exceptionally high open rates (40-50%) and conversion rates (10-15%), often recovering a significant portion of lost sales.


4. Recommendations for Email Marketing Sequence Development

Based on this audience analysis, the following recommendations are crucial for designing an effective email marketing sequence:

  1. Hyper-Personalization: Leverage all available data points (opt-in source, content consumed, purchase history, website behavior) to dynamically populate email content, offers, and calls-to-action (CTAs).
  2. Clear Value Proposition per Segment: Each email in a sequence must clearly articulate the value to the specific recipient segment at that stage of their journey.
  3. Tailored Content & Offers:

* Welcome: Brand story, unique selling proposition, quick wins, free resources.

* Nurture: Case studies, detailed product benefits, webinars, testimonials, comparison guides.

* Re-engagement: Exclusive discounts, "we miss you" messages, updated product features, preference centers.

* Post-Purchase: Onboarding guides, usage tips, complementary product suggestions, loyalty rewards, feedback requests.

* Conversion: Reminders of cart contents, urgency, limited-time offers, shipping/return policy reassurance, social proof.

  1. Strategic Cadence & Timing: Adjust email frequency and timing based on segment engagement and typical sales cycle. For instance, abandoned cart emails require immediate follow-up, while nurture campaigns can be more spaced out.
  2. A/B Testing: Continuously test subject lines, email body copy, CTAs, images, and send times across all segments to optimize performance.
  3. Segmentation Refinement: As more data is collected, refine existing segments and identify new micro-segments for even more targeted communication.
  4. Mobile Optimization: Ensure all emails are fully responsive and render perfectly on all devices, given the prevalence of mobile email consumption.

5. Next Steps

To move forward with building the "Email Marketing Sequence," the immediate next steps are:

  1. Data Integration Confirmation: Verify that the necessary audience data (e.g., opt-in source, website activity, purchase history) can be seamlessly integrated with the chosen Email Service Provider (ESP).
  2. Content Mapping Workshop: Conduct a workshop to map specific content ideas, offers, and CTAs to each email within each segment's sequence, leveraging the insights from this analysis.
  3. Journey Flowchart Design: Visually outline the complete email marketing sequence, including triggers, conditions, and paths for each segment, to ensure a coherent and logical customer journey.
  4. Platform Configuration: Begin setting up the email marketing platform with the defined segments and initial sequence structures.

This comprehensive audience analysis provides a robust framework for developing an email marketing sequence that is not only effective but also deeply connected to the needs and behaviors of your target audience.

gemini Output

This document outlines a comprehensive email marketing sequence designed to engage subscribers, nurture leads, and drive conversions for your business. The sequence is broken down into three core flows: a Welcome Series, a Nurture Campaign, and a Re-engagement Flow, each with conversion-optimized copy, clear calls to action, and strategic timing.


Email Marketing Sequence: Comprehensive Deliverable

This deliverable provides detailed, ready-to-use email copy for your marketing automation platform. Each email includes a clear purpose, target audience, trigger, subject line, preheader text, body copy, and call to action.


1. Welcome Series

Purpose: To onboard new subscribers, introduce them to your brand, set expectations, and guide them towards initial engagement. This series builds trust and establishes your value proposition from the start.

Target Audience: New subscribers who have just opted-in (e.g., signed up for a newsletter, downloaded a lead magnet, created an account).


Email 1: Welcome to [Your Company Name]!

  • Purpose: Extend a warm welcome, thank them for joining, and briefly introduce what they can expect from your brand.
  • Trigger: Immediately after signup.
  • Subject Line: Welcome to the [Your Company Name] Family! πŸŽ‰
  • Preheader Text: We're thrilled to have you! Here's what's next...
  • Body Copy:

> Hi [First Name],

>

> A warm welcome to [Your Company Name]! We're absolutely thrilled to have you join our community.

>

> At [Your Company Name], our mission is simple: to [state your core mission or value, e.g., "empower businesses with innovative solutions," or "help you achieve your wellness goals"]. We believe in [mention a key brand value, e.g., "quality," "customer success," "innovation"].

>

> You're now officially part of a group dedicated to [mention a benefit of being part of your community, e.g., "staying ahead in your industry," "making informed decisions"]. Over the next few days, we'll share some valuable insights and resources that we think you'll love.

>

> In the meantime, why not take a moment to explore our world?

>

> Best regards,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Explore Our Website

* Link: [Link to Your Website's Main Page or "About Us" page]

  • Sender Name: [Your Company Name]

Email 2: Discover How We Can Help You [Achieve a Key Benefit]

  • Purpose: Introduce your core offering or a key benefit, showcasing how your product/service solves a common problem or fulfills a need.
  • Trigger: 24-48 hours after Email 1.
  • Subject Line: Your Path to [Key Benefit] Starts Here
  • Preheader Text: See how [Your Company Name] can transform your experience.
  • Body Copy:

> Hi [First Name],

>

> Following up on our welcome, we wanted to dive a little deeper into how [Your Company Name] can truly make a difference for you.

>

> Are you looking to [mention a common pain point or goal your product solves, e.g., "streamline your workflow," "find high-quality products," "improve your health"]? We understand the challenges you face, and that's precisely why we created [Your Product/Service Name].

>

> With [Your Product/Service Name], you can expect to:

> * [Benefit 1]: [e.g., Save countless hours with automation]

> * [Benefit 2]: [e.g., Access exclusive, premium-quality materials]

> * [Benefit 3]: [e.g., Achieve measurable results faster]

>

> We're passionate about helping our customers [reiterate key benefit, e.g., "succeed," "thrive," "live better"]. Ready to see it in action?

>

> Warmly,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Learn More About [Your Product/Service]

* Link: [Link to Your Core Product/Service Page or Solutions Page]

  • Sender Name: [Your Company Name]

Email 3: Your Exclusive Offer: A First Step Towards [Desired Outcome]

  • Purpose: Drive initial conversion or deeper engagement with a specific offer (e.g., discount, free trial, consultation).
  • Trigger: 24-48 hours after Email 2.
  • Subject Line: A Special Gift for You: [Offer Details]!
  • Preheader Text: Don't miss out on this exclusive welcome offer.
  • Body Copy:

> Hi [First Name],

>

> We hope you're enjoying getting to know [Your Company Name]!

>

> As a special thank you for joining our community and to help you experience the full value of what we offer, we'd like to extend an exclusive welcome offer.

>

> For a limited time, enjoy [Your Offer: e.g., 15% off your first purchase / a free 30-day trial / a complimentary consultation] on [specific product/service, if applicable]. This is our way of helping you take that first step towards [desired outcome, e.g., "achieving your goals," "transforming your business," "finding your perfect solution"].

>

> Don't let this opportunity pass you by. Use code [DISCOUNT CODE, if applicable] at checkout or click the link below to redeem your offer.

>

> We can't wait to see you [start your journey / achieve success] with us!

>

> Cheers,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Claim Your Offer Now

* Link: [Link to Your Product Page with Offer Applied / Free Trial Signup / Consultation Booking Page]

  • Sender Name: [Your Company Name]

2. Nurture Campaign

Purpose: To educate subscribers, build authority, address common objections, and deepen their understanding of your value proposition over time. This campaign aims to move leads further down the sales funnel without overt selling.

Target Audience: Subscribers who have completed the welcome series but haven't converted, or existing customers who haven't engaged with a specific product/feature.


Email 1: Are You Facing [Common Problem]? We Have Insights.

  • Purpose: Acknowledge a common pain point or challenge relevant to your audience and position your brand as a source of solutions and valuable information.
  • Trigger: 3-5 days after the Welcome Series concludes (or after a specific engagement point).
  • Subject Line: The #1 Challenge for [Your Audience Type] (and how to tackle it)
  • Preheader Text: We've all been there. Here's a fresh perspective.
  • Body Copy:

> Hi [First Name],

>

> In today's fast-paced world, many [your audience type, e.g., "business owners," "individuals seeking wellness"] struggle with [mention a specific, common problem, e.g., "overwhelming data," "finding reliable information," "maintaining consistency"]. Does this sound familiar?

>

> It's a challenge we hear about often, and it can truly hinder your progress towards [desired outcome]. But what if there was a clearer path forward?

>

> At [Your Company Name], we're constantly exploring effective strategies to help you overcome these hurdles. We've put together a resource that dives deep into this topic, offering actionable insights and proven methods.

>

> We believe in empowering you with knowledge.

>

> Sincerely,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Read Our Latest Article

* Link: [Link to a relevant blog post, guide, or resource that addresses the problem]

  • Sender Name: [Your Company Name]

Email 2: [Your Solution] in Action: Real Stories, Real Results

  • Purpose: Showcase social proof and demonstrate the tangible benefits of your solution through testimonials, case studies, or success stories.
  • Trigger: 3-5 days after Email 1 (assuming no conversion).
  • Subject Line: See How Others Are [Achieving Success] with [Your Company Name]
  • Preheader Text: Don't just take our word for it. Hear from our happy customers!
  • Body Copy:

> Hi [First Name],

>

> In our last email, we discussed the challenges of [reiterate problem from Email 1]. Today, we want to show you how real people and businesses are overcoming these challenges and achieving incredible results with [Your Company Name].

>

> Meet [Customer Name/Company Name], who transformed their [specific area] by [briefly mention their success]. They shared:

>

> " [Quote a compelling testimonial or highlight a key success metric, e.g., 'Using [Your Product] helped us increase efficiency by 30% in just two months!'] "

>

> These stories aren't unique. Our customers consistently experience [mention 2-3 key benefits, e.g., "increased productivity," "better decision-making," "significant cost savings"]. We're proud to be a part of their journey.

>

> Ready to start your own success story?

>

> Best,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Explore Success Stories

* Link: [Link to Your Case Studies Page or Testimonials Page]

  • Sender Name: [Your Company Name]

Email 3: A Deeper Dive: Is [Your Solution] Right for You?

  • Purpose: Provide more detailed information about your product/service, address common questions, and offer a low-friction way to learn more (e.g., webinar, demo, FAQ).
  • Trigger: 3-5 days after Email 2 (assuming no conversion).
  • Subject Line: Got Questions About [Your Product/Service]? We've Got Answers.
  • Preheader Text: Let's clarify how [Your Company Name] fits your needs.
  • Body Copy:

> Hi [First Name],

>

> You've seen the challenges and heard the success stories. Now, you might be wondering: "Is [Your Product/Service Name] truly the right fit for my specific needs?"

>

> We understand that every business and individual is unique. That's why we're here to provide clarity. [Your Product/Service Name] is designed for [briefly describe ideal customer/use case, e.g., "teams looking for seamless collaboration," "individuals committed to sustainable living"].

>

> To help you make an informed decision, we invite you to:

> * Watch a quick demo: See the key features in action.

> * Read our comprehensive FAQ: Get answers to common questions.

> * Book a personalized consultation: Discuss your specific requirements with an expert.

>

> We're confident that once you understand the full scope of [Your Company Name]'s capabilities, you'll see the potential for [desired outcome].

>

> Looking forward to connecting,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Schedule a Demo/Consultation

* Link: [Link to Your Demo Request Page / Consultation Booking Page]

  • Sender Name: [Your Company Name]

3. Re-engagement Flow

Purpose: To reactivate inactive subscribers who haven't opened emails or engaged with your content for a significant period. This flow aims to win them back or, failing that, clean your list.

Target Audience: Subscribers who have not opened or clicked an email in the last 60-90 days.


Email 1: We Miss You! Is Everything Okay?

  • Purpose: A gentle check-in to acknowledge inactivity and offer value to reignite interest.
  • Trigger: 60-90 days of inactivity (no opens or clicks).
  • Subject Line: We've Missed You at [Your Company Name]!
  • Preheader Text: Just checking in – want to make sure you're still interested!
  • Body Copy:

> Hi [First Name],

>

> It's been a little while since we last connected, and we noticed you haven't opened our recent emails. We just wanted to check in and make sure everything is alright and that you're still interested in hearing from [Your Company Name].

>

> We're always striving to bring you the best of [your industry/content type], whether it's [mention 1-2 types of content/value, e.g., "expert tips," "product updates," "exclusive offers"].

>

> To remind you of what you might be missing, here's a quick link to some of our most popular resources:

>

> If you're still with us, we'd love to re-engage! If not, no worries at all – we understand priorities change.

>

> Warmly,

> The Team at [Your Company Name]

  • Call to Action (CTA):

* Button Text: Catch Up On Our Latest

* Link: [Link to Your Blog / Latest Resources Page / Bestselling Products]

  • Sender Name: [Your Company Name]

Email 2: A Special Offer Just For You (We Want You Back!)

  • Purpose: Provide a compelling incentive to re-engage, typically a discount or exclusive access.
  • Trigger: 5-7 days after Email 1 if no engagement.
  • Subject Line: Your Exclusive [Offer Type] - Just for [First Name]!
  • Preheader Text: A little something to welcome you back...
  • Body Copy:

> Hi [First Name],

>

> We really value your presence in the [Your Company Name] community, and we'd love to see you back!

>

> To show you how much we appreciate you, we're

gemini Output

Email Marketing Sequence: Comprehensive Strategy & Optimization

This document outlines a complete and optimized email marketing sequence designed to engage your audience, nurture leads, re-engage dormant subscribers, and drive conversions across the customer lifecycle.


Executive Summary

This comprehensive email marketing strategy encompasses four critical sequence types:

  1. Welcome Series: Onboards new subscribers, sets expectations, and introduces your brand.
  2. Nurture Campaigns: Educates leads, builds trust, and moves them closer to a purchase decision.
  3. Re-Engagement Flows: Recaptures the attention of inactive subscribers and prevents list decay.
  4. Conversion-Optimized Campaigns: Drives specific actions, such as purchases, sign-ups, or bookings, with persuasive copy and clear calls-to-action (CTAs).

Each sequence is designed with specific objectives, triggers, target audiences, and content strategies, ensuring a cohesive and effective communication journey for your customers.


Overall Strategy & Best Practices

Before diving into individual sequences, here are overarching principles for optimal performance:

  • Segmentation: Tailor content to specific audience segments based on demographics, behavior, interests, and purchase history.
  • Personalization: Use subscriber names, dynamic content, and behavioral data to make emails feel highly relevant.
  • Clear Value Proposition: Every email should clearly communicate "What's in it for me?" to the subscriber.
  • Mobile Responsiveness: Ensure all emails render perfectly on any device.
  • Strong Calls-to-Action (CTAs): Make CTAs prominent, clear, and action-oriented.
  • Brand Consistency: Maintain consistent tone, voice, and visual branding across all communications.
  • A/B Testing: Continuously test subject lines, body copy, CTAs, send times, and design elements to improve performance.
  • Deliverability: Monitor sender reputation, authenticate domains (SPF, DKIM, DMARC), and maintain a clean list to ensure emails reach the inbox.
  • Compliance: Adhere to all relevant email marketing regulations (e.g., GDPR, CAN-SPAM, CCPA).

I. Welcome Series: First Impressions That Last

Objective: To warmly greet new subscribers, introduce your brand, set expectations, provide immediate value, and guide them towards their first engagement or purchase.

Target Audience: Newly subscribed individuals (e.g., via website signup, lead magnet download, first purchase).

Trigger: Immediately upon signup or first interaction.

Number of Emails: Typically 3-5 emails over 1-2 weeks.

Content Strategy (Example Flow):

  • Email 1: The Warm Welcome & Thank You (Sent immediately)

* Subject Line Ideas: "Welcome to [Your Brand]!", "Thanks for joining us!", "Your Journey with [Your Brand] Starts Now!"

* Content:

* Personalized greeting.

* Express gratitude for joining.

* Briefly introduce your brand's mission, values, and what makes you unique.

* Clearly state what they can expect from your emails (e.g., exclusive content, offers, updates).

* Provide immediate value (e.g., a special discount code, a link to a popular resource, a free guide).

* Call to action: Explore your website, follow on social media, or browse products.

* Key Elements: Brand logo, friendly tone, clear CTA, immediate value.

  • Email 2: Discover Our Core Value / Problem Solved (Sent 1-2 days later)

* Subject Line Ideas: "How [Your Brand] Solves [Problem/Need]", "Dive Deeper into [Your Unique Offering]", "Unlock the [Benefit] with Us"

* Content:

* Focus on your core product/service or the main problem you solve.

* Share a compelling story, a key feature, or a unique benefit.

* Introduce your best-selling products/services or most popular content.

* Showcase social proof (e.g., a short customer testimonial, a star rating).

* Call to action: Learn more about a specific product/service, read a case study, explore a category.

* Key Elements: Benefit-driven language, social proof, clear product/service introduction.

  • Email 3: Build Connection & Community (Sent 2-3 days later)

* Subject Line Ideas: "Join Our Community!", "Meet the [Your Brand] Family", "Beyond the Product: Our Story"

* Content:

* Share your brand story, behind-the-scenes content, or founder's message.

* Highlight your values or unique culture.

* Encourage engagement (e.g., follow on social media, join a private group, ask a question).

* Feature user-generated content (UGC) if applicable.

* Call to action: Connect on social, read your blog, submit a question.

* Key Elements: Human element, community focus, interactive CTAs.

  • Email 4: Last Chance / Reminder of Value (Sent 3-4 days later, if applicable)

* Subject Line Ideas: "Don't Miss Out on Your [Discount/Offer]!", "A Quick Reminder from [Your Brand]", "Your [Benefit] Awaits!"

* Content:

* A gentle reminder of the initial offer (e.g., discount code) if it hasn't been used.

* Reiterate the value and benefits of your products/services.

* Address common objections or FAQs.

* Stronger call to action to make a purchase or take the desired next step.

* Key Elements: Urgency (if applicable to the offer), clear value proposition, direct CTA.

Optimization Tips:

  • Segmentation: If subscribers signed up for a specific lead magnet, tailor the welcome series content around that topic.
  • A/B Test: Different discount amounts, subject lines, and CTA button colors.
  • Timing: Experiment with the delay between emails.
  • Exit Intent: Offer a final, exclusive discount to those who haven't engaged by the end of the series.

II. Nurture Campaigns: Guiding Prospects Through the Funnel

Objective: To educate leads, build trust and authority, demonstrate product/service value, and address potential objections, moving prospects closer to a purchase decision or desired action.

Target Audience: Leads who have shown interest but haven't converted yet (e.g., downloaded a whitepaper, attended a webinar, browsed specific product categories). Highly segmented.

Trigger: Based on specific actions, inaction, or demographic data (e.g., downloaded a specific resource, visited a pricing page, hasn't purchased within X days).

Number of Emails: Variable, often 4-8+ emails over several weeks or months, depending on the sales cycle.

Content Strategy (Examples for Different Segments/Goals):

  • Segment 1: Educational Nurturing (Top-of-Funnel)

* Objective: Establish thought leadership, provide solutions to pain points.

* Content Ideas:

* Email 1 (Problem-Aware): Focus on a common problem your audience faces.

* Email 2 (Solution-Oriented): Introduce your approach/solution (without being overly salesy).

* Email 3 (Deep Dive): Share a case study, whitepaper, or in-depth guide related to the solution.

* Email 4 (Future Vision): Paint a picture of life after solving the problem with your help.

* CTAs: Read blog post, download guide, watch video, sign up for a webinar.

  • Segment 2: Product/Service-Specific Nurturing (Middle-of-Funnel)

* Objective: Showcase specific product features/benefits, address objections.

* Content Ideas:

* Email 1 (Feature Spotlight): Highlight a key feature of a relevant product/service.

* Email 2 (Benefit-Driven): Explain how that feature translates into a specific benefit for the user.

* Email 3 (Social Proof): Share testimonials, reviews, or success stories related to that product.

* Email 4 (Comparison/FAQ): Compare your product to alternatives or address common questions.

* CTAs: View product page, request a demo, read reviews, download spec sheet.

  • Segment 3: Engagement-Based Nurturing (Behavioral Triggers)

* Objective: Re-engage visitors who browsed specific pages (e.g., pricing, features) but didn't convert.

* Content Ideas:

* Email 1 (Gentle Nudge): "Did you find what you were looking for?" or "Thinking about [Product Category]?"

* Email 2 (Value Reinforcement): Reiterate key benefits or offer a specific resource.

* Email 3 (Direct Offer/Assistance): Offer a limited-time discount, free consultation, or direct support.

* CTAs: Complete purchase, chat with support, book a call, explore alternatives.

Key Elements:

  • Educational content (blog posts, videos, guides).
  • Case studies, testimonials, and social proof.
  • Interactive elements (polls, quizzes).
  • Personalized recommendations.
  • Clear pathways to conversion (demos, free trials, consultations).

Optimization Tips:

  • Scoring: Implement lead scoring to identify the most engaged leads and tailor content accordingly.
  • Dynamic Content: Use dynamic content blocks to show different product recommendations or content based on past behavior.
  • Exit Strategy: Have a clear "opt-out" or preference center option.
  • Branching Logic: Design flows that adapt based on recipient actions (e.g., if they click a link, send follow-up X; if not, send follow-up Y).

III. Re-Engagement Flows: Reviving Dormant Subscribers

Objective: To identify and re-activate inactive subscribers, prevent list decay, and improve overall email deliverability.

Target Audience: Subscribers who have not opened or clicked an email in a defined period (e.g., 60, 90, or 120 days).

Trigger: Inactivity for a specified duration.

Number of Emails: Typically 2-4 emails over 2-3 weeks.

Content Strategy (Example Flow):

  • Email 1: The Gentle Nudge (Sent after 60-90 days of inactivity)

* Subject Line Ideas: "We Miss You!", "Still with us?", "A Quick Hello from [Your Brand]"

* Content:

* Acknowledge their inactivity in a friendly, non-accusatory way.

* Remind them of the value they're missing out on (e.g., new products, exclusive content, special offers).

* Reiterate your brand's core benefit.

* Call to action: Visit your website, check out new arrivals, update preferences.

* Key Elements: Empathetic tone, reminder of value, soft CTA.

  • Email 2: What Are You Interested In? (Sent 3-5 days after Email 1 if no engagement)

* Subject Line Ideas: "Help Us Serve You Better", "What Can We Send You?", "Tell Us What You Love"

* Content:

* Offer options for what kind of content they'd like to receive.

* Provide a link to update their email preferences or a simple "click here if you want to stay subscribed" button.

* Briefly highlight some of your best content or most popular products as examples.

* Call to action: Update preferences, click to stay subscribed.

* Key Elements: Preference center link, clear options, focus on user control.

  • Email 3: The Last Chance (Sent 5-7 days after Email 2 if no engagement)

* Subject Line Ideas: "Don't Go! Your [Benefit] Awaits", "Your Subscription to [Your Brand] is About to Expire", "Final Call: Stay Connected with [Your Brand]"

* Content:

* Clearly state that if they don't engage, they will be unsubscribed from your list.

* Reiterate a strong benefit or offer an irresistible incentive (e.g., a significant discount, exclusive access).

* Create a sense of urgency.

* Call to action: "Click here to confirm your subscription and get [offer]", "Re-activate your account."

* Key Elements: Clear consequence, strong incentive, urgent CTA.

Optimization Tips:

  • Segmentation: Tailor the re-engagement offer based on their past purchase history or browsing behavior.
  • Exclusion: Ensure customers who have recently purchased or interacted via other channels are excluded.
  • List Cleaning: For those who don't re-engage after the final email, remove them from your active mailing list to protect your sender reputation.
  • Subject Line Focus: A/B test subject lines that convey urgency vs. curiosity.

IV. Conversion-Optimized Copy & Campaigns: Driving Action

Objective: To compel subscribers to take a specific, desired action, such as making a purchase, signing up for a service, or completing a form.

Target Audience: Highly segmented based on behavior, purchase intent, and stage in the buying cycle (e.g., abandoned cart users, product viewers, repeat customers).

Trigger: Specific user actions or predefined marketing calendar events.

Number of Emails: Varies greatly by campaign type (e.g., 3 for abandoned cart, single for promotional).

Content Strategy (Examples):

  • A. Abandoned Cart Recovery (High-Intent)

* Objective: Recover lost sales from users who added items to their cart but didn't complete the purchase.

* Trigger: Cart abandonment after a set time (e.g., 30-60 minutes).

* Flow (Example):

* Email 1 (Reminder - 1 hour after abandonment): "Did you forget something?", "Your cart is waiting!"

* Content: Friendly reminder, show cart items, link back to cart.

* Email 2 (Value Reinforcement - 24 hours after abandonment): "Still thinking about it?", "Why [Product] is Perfect for You"

* Content: Reiterate benefits, address common objections, social proof (reviews).

* Email 3 (Incentive/Urgency - 48-72 hours after abandonment): "Last Chance for [Product] + [Discount]!", "Complete Your Order & Save"

* Content: Offer a small discount, free shipping, or highlight low stock.

* Key Elements: Dynamic cart content, clear CTA to complete purchase, urgency/scarcity.

  • B. Post-Purchase Upsell/Cross-sell

* Objective: Increase Customer Lifetime Value (CLTV) by recommending complementary products or upgrades.

* Trigger: X days after a specific purchase.

* Content: "Customers who bought [Product A] also loved [Product B]", "Enhance Your [Product A] Experience with [Product C]".

* Key Elements: Personalized recommendations, clear benefits of additional products, seamless purchase path.

  • C. Promotional Campaigns (Sales, Launches, Events)

* Objective: Drive immediate sales or registrations for specific

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