Influencer Campaign Planner
Run ID: 69caea7ac8ebe3066ba6f6bf2026-03-30Marketing
PantheraHive BOS
BOS Dashboard

Plan an influencer marketing campaign with ideal influencer profiles, outreach templates, contract terms, content guidelines, and ROI tracking framework.

Step 1: Audience Analysis for Influencer Campaign Planning

Workflow: Influencer Campaign Planner

Step: analyze_audience


Executive Summary

This document provides a comprehensive analysis of the target audience for an influencer marketing campaign, focusing on identifying key demographic, psychographic, and behavioral characteristics. The goal is to create detailed audience personas that will inform the selection of ideal influencers, content strategies, and platform choices. By understanding who we are trying to reach, we can ensure our influencer efforts are highly targeted, relevant, and effective in driving engagement and conversions.

Our analysis identifies two primary audience segments: "Eco-Conscious Innovators" and "Efficiency-Seeking Professionals/Families." Both segments value solutions that align with modern lifestyles, emphasizing sustainability, convenience, and smart technology.


1. Target Audience Segmentation

Based on market research and common consumer trends, we have identified two core target audience segments for the [Insert Product/Service Name Here - e.g., Eco-Friendly Smart Home Device]:

1.1. Primary Segment: Eco-Conscious Innovators

  • Description: This segment consists of early adopters and trend-setters who prioritize environmental sustainability, ethical consumption, and integrating technology into their lives for betterment. They are highly informed and seek out brands that align with their values.
  • Estimated Size: 60% of total target market.

1.2. Secondary Segment: Efficiency-Seeking Professionals/Families

  • Description: This segment values convenience, time-saving solutions, and cost-effectiveness. While they may have an interest in sustainability, their primary drivers are practical benefits like energy savings, ease of use, and simplifying daily routines. They are often busy individuals or heads of households.
  • Estimated Size: 40% of total target market.

2. Detailed Audience Profiles (Personas)

2.1. Persona 1: "Eco-Conscious Innovator" - Meet Alex

  • Demographics:

* Age: 25-38 years old (Millennials & younger Gen X)

* Gender: Fairly balanced, slightly leaning female (55%)

* Location: Urban and suburban areas, likely in environmentally progressive regions.

* Income: Mid to high-income ($60,000 - $120,000+), disposable income for conscious purchases.

* Education: College-educated or higher.

* Occupation: Tech professionals, creatives, sustainability advocates, consultants.

  • Psychographics:

* Values: Sustainability, ethical consumption, innovation, community, authenticity, health & wellness.

* Lifestyle: Active, socially conscious, enjoys outdoor activities, reads extensively, attends workshops/events, early adopter of new tech, mindful living.

* Personality: Curious, open-minded, analytical, socially aware, influential among peers.

* Attitudes: Skeptical of greenwashing, seeks genuine impact, values transparency, embraces technology for good.

  • Behaviors:

* Online Activity: Spends significant time on Instagram, TikTok, YouTube, Reddit, eco-blogs, tech review sites. Follows environmental activists, tech reviewers, sustainable living influencers.

* Purchasing Habits: Researches products thoroughly, reads reviews, willing to pay a premium for sustainable/ethical products, prefers DTC brands, values brand story.

* Media Consumption: Podcasts on sustainability/tech, documentaries, TED Talks, long-form articles.

* Pain Points: Difficulty finding truly sustainable products, feeling overwhelmed by environmental issues, desire to reduce personal carbon footprint, inconvenience of current "eco-friendly" solutions.

  • Motivations: To make a positive impact on the planet, to live a more conscious and efficient life, to stay ahead of trends, to express personal values through purchases.
  • Brand Affinity: Patagonia, Allbirds, Tesla, Who Gives A Crap, Ecosia, Headspace.

2.2. Persona 2: "Efficiency-Seeking Professional/Family" - Meet Sarah

  • Demographics:

* Age: 30-50 years old (Gen X & older Millennials)

* Gender: Leaning female (60%), often decision-maker for household purchases.

* Location: Suburban and family-oriented urban areas.

* Income: Mid to high-income ($75,000 - $150,000+), focused on value and long-term savings.

* Education: College-educated.

* Occupation: Managers, small business owners, parents balancing career and family.

  • Psychographics:

* Values: Family, convenience, practicality, financial stability, comfort, smart living, time-saving.

* Lifestyle: Busy, juggling multiple responsibilities, seeks solutions to simplify daily life, enjoys home improvement, values comfort and security.

* Personality: Practical, organized, goal-oriented, responsible, community-minded.

* Attitudes: Open to new technology if it offers clear benefits, trusts peer recommendations, values reliability.

  • Behaviors:

* Online Activity: Spends time on Facebook, Pinterest, YouTube (DIY/home improvement channels), local community groups, parenting forums. Follows home organization influencers, tech-for-family accounts, budget/savings tips.

* Purchasing Habits: Seeks value, reads reviews extensively, compares features, looks for deals and long-term ROI, often buys from established brands or trusted retailers.

* Media Consumption: Lifestyle blogs, news apps, streaming services, podcasts on parenting/productivity.

* Pain Points: High energy bills, feeling overwhelmed by household chores, lack of time, desire for a comfortable and efficient home environment.

  • Motivations: To save money and time, to create a comfortable and safe home for their family, to reduce household stress, to simplify complex tasks.
  • Brand Affinity: Nest, Ring, IKEA, Amazon, Target, Wirecutter.

3. Social Media & Content Consumption Habits

Understanding where our audience spends their time and what content they engage with is crucial for influencer selection and content strategy.

  • Instagram: High engagement for both segments.

* Eco-Conscious Innovators: Visually appealing content, infographics, educational carousels, authentic stories, behind-the-scenes, product aesthetics, sustainable living tips, brand transparency.

* Efficiency-Seeking Professionals/Families: Home decor inspiration, organization hacks, DIY projects, family-friendly content, product reviews demonstrating ease of use, before-and-after transformations.

  • TikTok: Dominant for Eco-Conscious Innovators, growing for Efficiency-Seeking Professionals/Families.

* Eco-Conscious Innovators: Short-form educational content, quick tips, product demos, viral challenges with a sustainable twist, comedic takes on eco-issues.

* Efficiency-Seeking Professionals/Families: Quick life hacks, product showcases in action, relatable family moments, quick home solutions.

  • YouTube: High importance for both segments for in-depth reviews and tutorials.

* Eco-Conscious Innovators: Detailed product reviews, sustainability deep dives, "day in the life" featuring eco-tech, comparisons.

* Efficiency-Seeking Professionals/Families: Installation guides, how-to videos, long-term review updates, "smart home tour" content, comparisons with competitor products focusing on features and savings.

  • Facebook: More relevant for Efficiency-Seeking Professionals/Families, especially for community groups and local recommendations.

* Eco-Conscious Innovators: Less active, may follow specific brand pages or environmental groups.

* Efficiency-Seeking Professionals/Families: Engages with family/lifestyle groups, local community pages, shares product recommendations, seeks advice.

  • Pinterest: Strong for visual discovery, especially for home-related content.

* Both Segments: Seek inspiration for smart home setups, sustainable living ideas, energy-saving tips, home decor.


4. Influencer Preferences & Trust Factors

Both segments value authenticity and expertise, but their specific preferences differ:

  • Eco-Conscious Innovators:

* Preferred Influencers: Micro and nano-influencers with genuine passion for sustainability and tech. Environmental activists, ethical lifestyle bloggers, tech reviewers with a focus on impact.

* Trust Factors: Transparency about brand partnerships, genuine enthusiasm, deep knowledge of the product/industry, alignment of values, willingness to critique, demonstration of real-world impact.

* Content Style: Educational, inspiring, authentic, thought-provoking, aesthetically pleasing, often long-form or detailed.

  • Efficiency-Seeking Professionals/Families:

* Preferred Influencers: Macro and mid-tier influencers focused on home organization, family life, productivity, smart living, and DIY.

* Trust Factors: Relatability, practical demonstration of benefits, clear communication of how a product solves a problem, honest reviews, peer recommendations.

* Content Style: Practical, problem-solution oriented, easy-to-understand tutorials, before-and-after, relatable anecdotes, often visually clear and concise.


5. Key Insights & Trends

  1. Values-Driven Consumption: A growing number of consumers, especially younger demographics, are making purchasing decisions based on a brand's ethical and environmental stance. Authenticity in sustainability claims is paramount.
  2. Demand for Convenience & Automation: Modern lifestyles necessitate products that simplify daily routines and offer smart, automated solutions.
  3. Visual Storytelling Dominance: Platforms like Instagram and TikTok require highly engaging visual content that tells a story quickly and effectively.
  4. Rise of Micro & Nano Influencers: Audiences are increasingly trusting smaller, niche creators who offer perceived authenticity and deeper engagement over large celebrity influencers.
  5. Educational Content is Key: Both segments appreciate content that not only showcases a product but also educates them on its benefits, usage, and broader impact.
  6. Trust in Peer Recommendations: Word-of-mouth and genuine reviews, particularly from trusted online personalities, heavily influence purchasing decisions.

6. Recommendations for Influencer Selection

Based on the detailed audience analysis, the following recommendations will guide the next step of influencer identification:

  1. Diversify Influencer Tiers: Engage a mix of micro and mid-tier influencers. Micro-influencers (10k-100k followers) offer higher engagement and authenticity for "Eco-Conscious Innovators," while mid-tier influencers (100k-500k followers) can provide broader reach and strong relatability for "Efficiency-Seeking Professionals/Families."
  2. Prioritize Value Alignment: For "Eco-Conscious Innovators," select influencers whose personal brand genuinely reflects sustainability, ethical living, and a passion for smart technology. Authenticity here is non-negotiable.
  3. Focus on Problem-Solution Content: For "Efficiency-Seeking Professionals/Families," identify influencers who excel at demonstrating how products solve real-world problems (e.g., saving time, reducing energy bills, simplifying tasks).
  4. Platform-Specific Strategy: Tailor influencer outreach and content briefs to the strengths of each platform (e.g., short, engaging videos for TikTok; aesthetic, educational carousels for Instagram; in-depth reviews for YouTube).
  5. Look for Engagement, Not Just Follower Count: Prioritize influencers with high engagement rates (likes, comments, shares, saves) and a responsive, authentic audience over those with large but disengaged followings.
  6. Geographic & Demographic Match: Ensure influencers' primary audience demographics closely align with our target personas, particularly in terms of age, location, and interests.
  7. Review Past Brand Partnerships: Analyze an influencer's previous collaborations to ensure they align with our brand image and have a track record of successful, authentic endorsements.

7. Next Steps

The insights from this audience analysis will directly inform the subsequent stages of the Influencer Campaign Planner workflow:

  1. Influencer Identification & Vetting: Utilize the detailed persona profiles and preferences to search for and evaluate potential influencers who best match our target audience segments.
  2. Content Strategy Development: Craft compelling content guidelines and messaging that resonate with the specific motivations and pain points of "Eco-Conscious Innovators" and "Efficiency-Seeking Professionals/Families."
  3. Platform Strategy Refinement: Confirm the primary and secondary platforms for the campaign based on audience consumption habits and influencer presence.
  4. KPI Definition: Establish specific, measurable KPIs for each audience segment, aligning with their likely engagement patterns and desired campaign outcomes (e.g., brand awareness, lead generation, sales).

This comprehensive audience analysis serves as the foundational blueprint for a highly effective and targeted influencer marketing campaign.

gemini Output

This comprehensive Influencer Campaign Planner is designed to equip you with the essential tools and frameworks to launch, manage, and measure highly effective influencer marketing campaigns. From identifying the perfect partners to tracking your return on investment, this guide provides actionable strategies and templates to ensure your campaign's success.


Unleashing Brand Power: Your Ultimate Influencer Campaign Planner

Introduction: Elevate Your Brand with Strategic Influencer Partnerships

In today's dynamic digital landscape, influencer marketing stands as a powerful conduit for authentic brand connection and exponential growth. This planner is your definitive guide to navigating the complexities of influencer collaborations, transforming your marketing vision into tangible results. We'll walk you through every critical step, ensuring your campaigns are not just visible, but truly impactful.


1. Discovering Your Perfect Partners: Ideal Influencer Profiles

Finding the right influencers is the cornerstone of a successful campaign. This section outlines the criteria for identifying individuals who genuinely resonate with your brand and target audience.

Headline: Pinpointing Your Power Players: Crafting Ideal Influencer Profiles

Your ideal influencer is more than just a follower count; they are an authentic voice, a trusted curator, and a genuine advocate. Define your ideal partner with precision to ensure maximum impact and alignment.

Key Profile Characteristics to Define:

  • Niche & Expertise:

* Specificity: What specific industry or topic are they experts in (e.g., sustainable fashion, vegan cooking, SaaS productivity tools, adventure travel)?

* Relevance: How directly does their content align with your product/service?

  • Audience Demographics:

* Age, Gender, Location: Does their audience match your target customer demographics?

* Interests: What are their followers' primary interests and pain points?

* Income Level: Is their audience's purchasing power appropriate for your offerings?

  • Engagement Rate & Authenticity:

* High Engagement: Look for strong like-to-comment ratios, shares, and saves. (Typically 2-5% is good, higher for micro-influencers).

* Authentic Interaction: Do they respond to comments? Is their audience genuinely interacting, or are there signs of bot activity?

* Trust & Credibility: Do they have a reputation for honest reviews and genuine recommendations?

  • Follower Count & Tier:

* Nano-influencers (1K-10K): High engagement, niche focus, often seen as highly authentic.

* Micro-influencers (10K-100K): Strong engagement, growing reach, good balance of authenticity and audience size.

* Mid-tier influencers (100K-500K): Broader reach, still good engagement, more professional.

* Macro-influencers (500K-1M): Significant reach, established brand, typically higher rates.

* Mega-influencers/Celebrities (1M+): Massive reach, high visibility, very high rates, often managed by agencies.

Recommendation:* Consider a tiered approach or focus on micro/mid-tier for higher ROI and engagement.

  • Content Quality & Aesthetic:

* Visuals: Do their photos/videos meet a high standard? Is their aesthetic consistent and appealing?

* Storytelling: Are they skilled at weaving narratives that resonate with their audience?

* Brand Fit: Does their content style naturally complement your brand's visual identity and messaging?

  • Brand Alignment & Values:

* Mission & Values: Do their personal values and the causes they support align with your brand's ethos?

* Past Collaborations: Have they worked with competitors? Do they have a history of successful, relevant brand partnerships?

* Brand Safety: Do they avoid controversial topics or behaviors that could negatively impact your brand?

  • Platform Preference:

* Which platforms are they most active and successful on (Instagram, TikTok, YouTube, Pinterest, Blogs, LinkedIn)? Match this to where your target audience spends their time.

Action Step: Create 2-3 distinct influencer personas based on these criteria to guide your search.


2. Making the Connection: Effective Outreach Templates

A compelling initial outreach can make all the difference. These templates provide a professional and personalized approach to initiating conversations with potential influencer partners.

Headline: Beyond the DM: Crafting Irresistible Influencer Outreach

Your first impression is critical. Stand out from the crowd with personalized, value-driven outreach that captures attention and sparks interest.

Template 1: Initial Contact Email

Subject: Collaboration Opportunity: [Your Brand Name] x [Influencer's Name/Handle]

Hi [Influencer's Name],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I've been following your work on [Platform, e.g., Instagram/YouTube] for some time now, and I'm consistently impressed by your [specific compliment, e.g., "unique aesthetic," "insightful reviews," "engaging storytelling"]. Your recent post about [specific post/story] particularly resonated with us!

At [Your Brand Name], we [briefly describe what your brand does and its mission, e.g., "create sustainable, ethical skincare products," "develop innovative productivity software," "offer unique handcrafted jewelry"]. We believe your audience of [describe their audience, e.g., "eco-conscious consumers," "tech-savvy professionals," "fashion-forward individuals"] would genuinely appreciate our [mention key product/service, e.g., "new line of organic moisturizers," "latest software update," "upcoming collection"].

We're currently planning an exciting campaign focused on [brief campaign theme/goal, e.g., "promoting self-care routines," "streamlining workflows," "celebrating individuality"] and we immediately thought of you as an ideal partner. We envision a collaboration that would involve [briefly mention content ideas, e.g., "a dedicated Instagram Reel demonstrating product use," "a YouTube review with a direct link," "a series of engaging stories"].

Would you be open to a brief call next week to discuss this potential partnership further? I'd love to share more details about our brand, campaign goals, and how we can create a mutually beneficial collaboration.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website Link]

[Your Social Media Link (Optional)]


Template 2: Follow-Up Email

Subject: Following Up: Collaboration Opportunity with [Your Brand Name]

Hi [Influencer's Name],

Hope this email finds you well.

I'm just following up on my email from [Date of previous email] regarding a potential collaboration between [Your Brand Name] and you.

We're really excited about the possibility of working together to [reiterate brief campaign goal/benefit, e.g., "introduce our innovative product to your engaged audience," "create authentic content that resonates with your followers"]. We truly believe our [product/service] aligns perfectly with your content and audience interests.

If you're interested, please let me know a good time for a quick chat, or if you prefer, I can send over a brief document outlining the campaign in more detail.

Looking forward to hearing from you!

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]


Outreach Best Practices:

  • Personalize Everything: Generic emails are ignored. Reference specific content, interests, or values.
  • Be Clear & Concise: Get straight to the point but provide enough context.
  • Highlight Mutual Benefit: Explain what's in it for them and their audience.
  • Provide a Clear CTA: Make it easy for them to take the next step.
  • Be Patient: Influencers are busy. Give them time to respond.

3. Solidifying Partnerships: Key Influencer Contract Terms

A clear, comprehensive contract protects both parties and ensures a smooth, professional collaboration. This section outlines essential terms to include.

Headline: The Blueprint for Success: Essential Influencer Contract Terms

Protect your investment and ensure clarity with a robust contract. This isn't just legal jargon; it's the foundation of a strong, transparent partnership.

Essential Contract Terms to Include:

  1. Parties Involved: Full legal names and contact information for both the brand and the influencer.
  2. Campaign Overview & Scope of Work (SOW):

* Campaign Objective: What is the overarching goal?

* Deliverables: Specific content types (e.g., 1 Instagram Feed Post, 3 Instagram Stories, 1 YouTube Video, 1 Blog Post).

* Content Requirements: Minimum word count, video length, specific features to highlight.

* Platforms: Where the content will be published.

* Posting Schedule & Deadlines: Draft submission, final approval, live dates.

  1. Payment Terms & Compensation:

* Fee: Exact monetary compensation for deliverables.

* Payment Schedule: (e.g., 50% upfront, 50% upon content going live; or 100% net 30 days post-campaign).

* Product Gifting: If products are provided in addition to or instead of monetary compensation.

* Expenses: Reimbursement for travel, production costs (if applicable).

* Currency & Method: USD, bank transfer, PayPal, etc.

  1. Content Ownership & Usage Rights (Crucial!):

* Initial Ownership: Who owns the raw content?

* License to Use: Grant the brand a license to use the influencer's content for specific purposes (e.g., brand's social media, website, paid ads).

* Duration of Use: (e.g., 3 months, 1 year, perpetual).

* Exclusivity: If the influencer cannot promote competing brands for a specified period (by product category, not entire industry).

* Usage Fees: Any additional fees for extended or broader usage rights.

  1. Disclosure Requirements:

* Mandatory Hashtags: Clearly state that #ad, #sponsored, or #brandpartner must be prominently displayed.

* Verbal Disclosure: If applicable, verbal disclosure for video content.

* Compliance: Adherence to FTC (US), ASA (UK), or local advertising guidelines.

  1. Confidentiality:

* Agreement not to disclose proprietary campaign information, product details, or contract terms.

  1. Performance Metrics & Reporting:

* Specify what data the influencer is required to provide (e.g., screenshots of reach, impressions, engagement, click-through rates).

* Reporting frequency and format.

  1. Approvals Process:

* Timeline for content submission, brand review, and revisions.

* Number of revision rounds allowed.

  1. Termination Clauses:

* Conditions under which either party can terminate the agreement (e.g., breach of contract, failure to meet deadlines, negative publicity).

* Consequences of termination (e.g., pro-rata payment, content removal).

  1. Indemnification:

* Protection against legal claims arising from content or actions of either party.

  1. Governing Law:

* Which state or country's laws will govern the contract.

  1. Force Majeure:

* Provisions for unforeseeable circumstances that prevent contract fulfillment.

Action Step: Consult with legal counsel to draft or review your standard influencer contract template.


4. Guiding Creativity: Comprehensive Content Guidelines

Empower influencers to create authentic content that resonates, while ensuring it aligns perfectly with your brand's message and aesthetic.

Headline: Empowering Creativity, Ensuring Brand Harmony: Your Content Guidelines

Provide a clear roadmap for content creation that fosters authenticity and delivers your brand's message effectively, without stifling the influencer's unique voice.

Key Elements of Your Content Guidelines:

  1. Campaign Objective & Key Message:

* What is the core message? (e.g., "Our product makes daily life easier," "Sustainability is beautiful," "Innovation for a better future").

* What feeling should the content evoke? (e.g., joy, trust, excitement, sophistication).

  1. Brand Voice & Tone:

* Adjectives: (e.g., playful, informative, luxurious, approachable, cutting-edge).

* Do's: Use clear, positive language. Be encouraging.

* Don'ts: Avoid jargon, negativity, or overly promotional language.

  1. Product/Service Focus:

* Key Features/Benefits: Which specific aspects should be highlighted? (e.g., "long-lasting battery," "organic ingredients," "intuitive interface").

* Unique Selling Proposition (USP): What makes your offering stand out?

* Usage Scenarios: How should the product be demonstrated or integrated into daily life?

  1. Visual Requirements:

* Aesthetic: (e.g., bright & airy, moody & sophisticated, clean & minimalist).

* Product Placement: How should the product be featured? (e.g., clearly visible, in use, as a natural part of the

gemini Output

This document outlines a comprehensive Influencer Campaign Planner, designed to guide your team through the process of identifying, engaging, managing, and measuring the success of your influencer marketing initiatives.


Influencer Campaign Planner: Optimized & Finalized Strategy

1. Campaign Overview & Objectives

Campaign Name: [Insert Campaign Name, e.g., "PantheraHive Summer Glow-Up"]

Overall Goal: Increase brand awareness, drive product consideration, and generate sales for [Specific Product/Service] among [Target Audience].

SMART Objectives:

  • Awareness: Achieve [X]% increase in brand mentions across social media platforms within [Y] weeks.
  • Engagement: Generate an average engagement rate of [X]% on influencer content.
  • Traffic: Drive [X] unique visitors to the product landing page via influencer links within [Y] weeks.
  • Conversions: Generate [X] sales directly attributable to influencer campaign codes within [Y] weeks, achieving an ROI of [X]%.

Target Audience: [e.g., Gen Z and Millennial women, ages 18-35, interested in sustainable beauty and wellness, located in urban areas.]

Key Message: [e.g., "Discover the secret to radiant skin with PantheraHive's new eco-friendly serum – naturally effective, visibly transformative."]

Campaign Duration: [Start Date] to [End Date] (e.g., 8 weeks)

Budget Allocation (High-Level):

  • Influencer Fees: [X]%
  • Product Samples/Shipping: [Y]%
  • Platform/Tools: [Z]%
  • Internal Team Costs: [A]%
  • Contingency: [B]%

2. Ideal Influencer Profiles

To ensure alignment with your brand values and campaign objectives, we've defined specific influencer profiles:

  • Tier & Reach:

* Micro-influencers (10K-100K followers): High engagement, niche focus, authentic connection with audience. Ideal for driving conversions and fostering community. Target: 70% of total influencers.

* Mid-tier influencers (100K-500K followers): Broader reach than micro, still strong engagement. Good for both awareness and consideration. Target: 20% of total influencers.

* Macro-influencers (500K-1M+ followers): Significant reach for broad awareness. Target: 10% of total influencers (strategic selection).

  • Niche/Content Focus:

* Primary: [e.g., Sustainable beauty, clean skincare, holistic wellness, eco-friendly lifestyle, conscious consumerism.]

* Secondary: [e.g., Fashion, travel, home decor (if relevant to lifestyle integration).]

  • Audience Demographics: Influencer's primary audience should align with your target audience (e.g., 70%+ female, 18-35, primarily in [Target Regions]).
  • Engagement Metrics:

Engagement Rate: Minimum 3% for micro-influencers, 2% for mid-tier, 1.5% for macro-influencers (calculated as (Likes + Comments) / Followers 100%).

* Comment Quality: Look for genuine conversations, questions, and detailed feedback, not just emojis or generic comments.

* Authenticity: Utilize tools like HypeAuditor or SparkToro to analyze audience authenticity and detect suspicious follower growth or engagement patterns.

  • Brand Alignment & Aesthetics:

* Values: Influencers must embody values such as authenticity, transparency, sustainability, and quality.

* Aesthetic: Visuals should be high-quality, bright, natural, and align with your brand's visual identity.

* Past Collaborations: Review previous sponsored content for natural integration, disclosure compliance, and overall professionalism. Avoid influencers who frequently promote direct competitors.

  • Platform Preference:

* Primary: Instagram (Feed posts, Reels, Stories), TikTok (Short-form video), YouTube (Long-form reviews, vlogs).

* Secondary: Blog posts, Pinterest (if visual content is a key driver).

  • Content Formats: Must be comfortable creating high-quality photos, short-form video (Reels/TikToks), and engaging Stories.

3. Outreach Templates

These templates are designed to be personalized. Always adapt them to the specific influencer and platform.

3.1. Initial Contact (Cold Outreach - Email)

Subject: Collaboration Opportunity: [Brand Name] x [Influencer's Handle] – [Campaign Name]

Body:

Dear [Influencer Name],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I've been following your content on [Platform, e.g., Instagram] for a while now, and I'm consistently impressed by [specific positive comment about their content, e.g., "your authentic approach to sustainable beauty" or "the incredible way you connect with your community about wellness routines"]. Your recent post about [mention a specific post] particularly resonated with us.

We're launching an exciting campaign for our new [Product/Service Name, e.g., "eco-friendly serum"], which aligns perfectly with your audience's interest in [mention shared interest, e.g., "clean beauty and natural skincare solutions"]. We believe your unique voice and engaging style would be an incredible asset in sharing our brand story.

We're looking to partner with creators who genuinely connect with our mission to [briefly state brand mission]. Would you be open to discussing a potential collaboration? We'd love to share more details about the campaign and explore how we could create something impactful together.

Please let me know if this sounds like something you'd be interested in. We'd be happy to share a brief overview and answer any questions you may have.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Link to your Social Media Profile]

3.2. Follow-up Email (if no response after 5-7 business days)

Subject: Following up: Collaboration Opportunity: [Brand Name] x [Influencer's Handle]

Body:

Hi [Influencer Name],

Just wanted to gently follow up on my email from [Date of previous email] regarding a potential collaboration with [Your Brand Name] for our [Campaign Name] campaign.

We're still very keen on the possibility of working together, given your excellent fit with our brand and audience. No worries if you're busy, but if this is something that might be of interest, please let me know.

Looking forward to hearing from you!

Best,

[Your Name]

3.3. Proposal/Negotiation Email (after initial interest is expressed)

Subject: Proposal: [Brand Name] x [Influencer's Handle] – [Campaign Name]

Body:

Hi [Influencer Name],

Thank you for your interest in partnering with [Your Brand Name]! We're excited about the possibility of working with you.

Here's a brief outline of our proposed collaboration for the "[Campaign Name]" campaign focused on our [Product/Service Name]:

Campaign Objective: [Reiterate specific objective, e.g., "To drive awareness and consideration for our new eco-friendly serum."]

Proposed Deliverables:

  • Instagram:

* 1x Permanent Feed Post (photo or Reel) showcasing [Product/Service] with a genuine review/integration.

* 2x Instagram Stories (video or photo series) with a swipe-up link to [Landing Page URL].

* Required: Tag @[YourBrandHandle] and use #Ad #[CampaignHashtag].

  • TikTok (Optional/Negotiable):

* 1x Short-form Video demonstrating [Product/Service] benefits.

* Required: Tag @[YourBrandHandle] and use #Ad #[CampaignHashtag].

Timeline: Content to be posted between [Start Date] and [End Date], with drafts submitted for approval [X] days prior to posting.

Compensation: We are proposing a fee of [Your Proposed Fee] for these deliverables, along with complimentary [Product/Service Name].

We're open to discussing this proposal and hearing your thoughts or if you have a media kit/rate card you'd like to share.

Please let me know if you have any questions or would like to schedule a quick call to chat further.

Warmly,

[Your Name]

4. Contract Terms (Key Clauses)

A legally sound contract is crucial for protecting both parties. Always consult legal counsel for final contract drafting.

  • Scope of Work (SOW):

* Detailed list of deliverables (e.g., 1x Instagram Feed Post, 2x Instagram Stories, 1x TikTok Video).

* Specific platforms for content dissemination.

* Required posting dates/schedule.

* Mandatory tags, hashtags, and links (e.g., @[BrandHandle], #Ad, #[CampaignHashtag], UTM-tracked link).

* Minimum content quality requirements (e.g., high-resolution, clear audio).

  • Compensation & Payment Terms:

* Agreed-upon fee (fixed, tiered, performance-based, or product-in-kind).

* Payment schedule (e.g., 50% upfront, 50% upon completion; Net 30 days after invoice submission).

* Invoicing requirements (e.g., W-9, specific billing details).

* Clarity on whether product costs are separate or included.

  • Content Ownership & Usage Rights:

* Influencer Ownership: Influencer typically retains copyright, but grants the brand specific usage rights.

* Brand Usage Rights: Grant of a non-exclusive, perpetual, worldwide, royalty-free license for the brand to use, reproduce, modify, distribute, and display the content across the brand's owned channels (website, social media, ads) for marketing purposes. Specify duration of usage (e.g., 1 year, perpetual).

* Exclusivity: During the campaign period, influencer agrees not to promote direct competitors of [Your Brand Name]. Define "competitor" clearly. Specify duration (e.g., 2 weeks prior to first post, throughout campaign, and 4 weeks after last post).

  • Disclosure Requirements:

* Mandatory disclosure of sponsored content in compliance with FTC guidelines (or local equivalents), using clear language like #Ad, #Sponsored, or "Paid Partnership with [Brand Name]."

* Placement of disclosure (e.g., prominently at the beginning of caption/video, visible on Stories).

  • Approval Process:

* Influencer must submit all content drafts (captions, visuals, videos) to the brand for review and approval [X] business days prior to the scheduled publish date.

* Brand reserves the right to request reasonable revisions.

* Specify number of revision rounds included in the fee.

  • Performance Metrics & Reporting:

* Influencer agrees to provide post-campaign analytics (e.g., reach, impressions, engagement rate, link clicks) within [X] days of the final post.

* Method of reporting (e.g., screenshots of platform insights, shared analytics dashboard).

  • Termination Clause:

* Conditions under which either party can terminate the agreement (e.g., material breach of contract, failure to meet deadlines, brand safety issues).

* Consequences of termination (e.g., pro-rata payment for work completed, return of products).

  • Confidentiality: Influencer agrees to keep all non-public campaign details confidential.
  • Moral Clause: Brand reserves the right to terminate the agreement if the influencer engages in behavior that could harm the brand's reputation (e.g., illegal activities, public controversy).
  • Governing Law: Specify the jurisdiction whose laws will govern the contract.

5. Content Guidelines

These guidelines ensure brand consistency and effective messaging while allowing influencers creative freedom.

  • Key Message & Brand Voice:

* Core Message: [Reiterate main message, e.g., "Our serum delivers visible results with natural, sustainable ingredients."]

* Tone: [e.g., Informative, authentic, inspiring, approachable, premium,

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

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

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

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

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

"+title+"

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

$1

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

$1

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

$1

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

"); h+="

"+hc+"

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