Influencer Campaign Planner
Run ID: 69cbcba161b1021a29a8c63b2026-03-31Marketing
PantheraHive BOS
BOS Dashboard

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

Audience Analysis for Influencer Campaign Planning

This document provides a comprehensive analysis of the target audience, laying the foundation for an effective influencer marketing campaign. Understanding the audience's demographics, psychographics, online behavior, and content preferences is crucial for identifying the right influencers, crafting compelling messages, and achieving optimal campaign ROI.


1. Introduction & Methodology

The objective of this analysis is to define the ideal customer segments that an influencer campaign aims to reach and influence. By delving into their characteristics, motivations, and online habits, we can ensure that subsequent campaign planning steps – including influencer selection, content strategy, and platform choice – are precisely aligned with audience needs and behaviors.

Methodology (Conceptual):

This analysis synthesizes insights from various data sources typically utilized in market research:

  • Existing Customer Data: CRM data, purchase history, website analytics (e.g., Google Analytics, social media insights).
  • Market Research Reports: Industry trends, consumer behavior studies.
  • Social Listening & Sentiment Analysis: Monitoring conversations on social media platforms, forums, and review sites to understand audience pain points, desires, and brand perceptions.
  • Competitor Analysis: Examining the audience engagement of competitors and similar brands.
  • Surveys & Focus Groups: Direct feedback from potential and existing customers (if available).
  • Demographic & Psychographic Databases: Leveraging third-party data providers for broader audience segment insights.

2. Key Target Audience Segments

Based on typical market segmentation, we identify primary and secondary audience segments. While specific product/service details would refine these, the following represent common archetypes.

2.1. Primary Target Audience Segment: The "Conscious Consumer"

  • Description: This segment is highly engaged with brands that reflect their values, often prioritizing quality, sustainability, ethical practices, and authenticity. They are digitally savvy and actively seek information before making purchasing decisions.
  • Hypothetical Product Fit Example: Sustainable fashion brand, organic food delivery, eco-friendly tech gadgets, ethical beauty products.

2.2. Secondary Target Audience Segment: The "Aspiring Achiever"

  • Description: This segment is motivated by self-improvement, efficiency, and achieving personal or professional goals. They look for solutions that enhance their lifestyle, productivity, or skill set. They are open to new ideas and products that promise tangible benefits.
  • Hypothetical Product Fit Example: Productivity apps, online learning platforms, fitness trackers, self-care subscriptions, career development services.

3. Detailed Audience Profile

This section provides a deeper dive into the characteristics of the identified audience segments.

3.1. Demographics

  • Age Range: Primarily 25-45 years old, with a secondary cluster in 18-24 (early adopters) and 46-55 (established professionals).
  • Gender: Relatively balanced, with a slight skew towards female for certain product categories (e.g., beauty, fashion, home goods) and male for others (e.g., tech, gaming, finance).
  • Location: Predominantly urban and suburban areas in developed markets (e.g., North America, Western Europe, APAC major cities). High internet penetration is a key factor.
  • Income Level: Mid to high-income earners, with significant disposable income for discretionary purchases, especially those aligned with their values or goals.
  • Education Level: College-educated or higher, indicating a propensity for research and informed decision-making.
  • Occupation: Professionals, entrepreneurs, creatives, and skilled workers.

3.2. Psychographics

  • Interests:

* Primary: Health & Wellness, Sustainability, Personal Development, Technology, Travel, Arts & Culture, Home Decor, Pet Care.

* Secondary: Finance & Investing, Outdoor Activities, Food & Cooking, Social Causes.

  • Values: Authenticity, Transparency, Quality, Innovation, Community, Social Responsibility, Personal Growth, Convenience, Efficiency.
  • Lifestyle: Active, health-conscious, environmentally aware, tech-forward, often seeking experiences over material possessions (though quality possessions are valued). They appreciate convenience but are willing to invest time in research for value-aligned purchases.
  • Attitudes: Skeptical of overt advertising, value peer recommendations, open to new ideas and solutions, demand transparency from brands, prioritize ethical sourcing and production.
  • Pain Points:

* Lack of time/efficiency.

* Information overload/difficulty finding trustworthy sources.

* Concerns about product quality and ethical production.

* Desire for personalized solutions.

* Feeling overwhelmed by choices.

  • Aspirations: To live a fulfilling, healthy, and impactful life; to be more productive; to make informed, responsible choices; to stay updated with trends; to connect with like-minded individuals.

3.3. Online Behavior & Platform Usage

  • Primary Platforms:

* Instagram: Visual content consumption, lifestyle inspiration, product discovery, following influencers.

* TikTok: Short-form video, entertainment, trend discovery, user-generated content (UGC), quick tutorials.

* YouTube: In-depth reviews, tutorials, vlogs, educational content, long-form entertainment.

* Pinterest: Visual search, inspiration for projects, product discovery, mood boarding (especially for home, fashion, crafts).

* Facebook: Community groups, news consumption, connecting with established brands/friends (more passive engagement for product discovery).

* LinkedIn: Professional networking, industry insights, thought leadership (relevant for B2B or high-ticket B2C).

  • Content Consumption Habits:

* Visual-first: Highly responsive to high-quality images and videos.

* Short-form & long-form: Consume quick digestible content (stories, reels) but also deep-dive into detailed reviews and tutorials.

* Authenticity over perfection: Value genuine, relatable content from creators.

* Educational & Entertaining: Prefer content that offers value (tips, insights, solutions) while being engaging.

* User-Generated Content (UGC): Highly influenced by peer reviews and unboxing videos.

  • Interaction Patterns:

* Active in comments, DMs, and polls.

* Share content that resonates with their values or interests.

* Engage with Q&A sessions and live streams.

* Seek direct interaction with creators they trust.

3.4. Brand & Influencer Affinity

  • Influencer Types:

* Micro-influencers (10k-100k followers): Highly trusted for niche expertise, authenticity, and strong community engagement. Perceived as more relatable.

* Mid-tier influencers (100k-500k followers): Offer a balance of reach and engagement, often with established content styles and loyal followings.

* Nano-influencers (1k-10k followers): Highest engagement rates, seen as peers, excellent for hyper-niche targeting and generating authentic UGC.

  • Content Preferences from Influencers:

* "Real life" integration: Product use in everyday scenarios, not overly staged.

* Educational content: How-to guides, tutorials, problem/solution demonstrations.

* Behind-the-scenes: Glimpses into brand values, production, or influencer's personal life relating to the product.

* Unbiased reviews: Honest opinions, including pros and cons.

* Storytelling: Narratives that connect emotionally with the audience.

  • Trust Factors: Authenticity, transparency, consistent messaging, genuine enthusiasm for the product, alignment of values between influencer and brand.

4. Data Insights & Trends

  • Declining Trust in Traditional Ads: Audiences are increasingly wary of overt advertising and seek authentic recommendations. This bolsters the power of influencer marketing.
  • Rise of Niche Communities: Audiences are congregating in highly specific online communities, making micro and nano-influencers with dedicated followings more effective for targeted reach.
  • Video Dominance: Short-form video (TikTok, Instagram Reels) and long-form video (YouTube) continue to be primary content consumption formats, demanding video-centric influencer strategies.
  • Authenticity as Currency: Influencers who maintain genuine connections and transparent communication with their audience drive higher engagement and conversion rates.
  • Value-Driven Consumption: Consumers are increasingly making purchasing decisions based on a brand's ethical stance, sustainability efforts, and social impact. Influencers who embody these values are highly effective.
  • Interactive Content Preference: Polls, Q&As, live sessions, and interactive stories foster deeper engagement and allow for direct audience feedback.

5. Recommendations for Influencer Strategy

Based on this audience analysis, the following recommendations are critical for the influencer campaign:

  • Prioritize Authenticity & Relatability: Select influencers whose personal brand and values genuinely align with the product/service and resonate with the target audience. Avoid purely transactional relationships.
  • Focus on Micro & Nano-Influencers: Leverage their high engagement rates and niche authority for deeper community penetration and higher conversion potential, especially for trust-based products.
  • Embrace Diverse Content Formats: Develop a content strategy that incorporates short-form video (Reels, TikTok), long-form video (YouTube reviews/tutorials), high-quality imagery (Instagram), and interactive elements (stories, Q&As).
  • Emphasize Value-Driven Messaging: Craft messages that highlight the product's benefits in terms of problem-solving, value alignment (e.g., sustainability, ethical sourcing), and personal growth.
  • Encourage User-Generated Content (UGC): Design campaigns that naturally encourage the audience to create and share their own content, amplifying reach and fostering trust.
  • Integrate Educational & Entertaining Content: Influencer content should not just showcase the product but also educate the audience on its use, benefits, or the problem it solves, all while being engaging.
  • Cross-Platform Strategy: While Instagram and TikTok are primary, do not overlook YouTube for deeper dives or Pinterest for discovery, depending on the specific product.

6. Next Steps

This audience analysis serves as the critical first step. The next phases of the "Influencer Campaign Planner" workflow will build directly upon these insights:

  1. Develop Ideal Influencer Profiles: Based on the detailed audience profile, create specific criteria for identifying suitable influencers (e.g., follower count, engagement rate, content style, niche, demographic overlap).
  2. Influencer Identification & Vetting: Research and identify potential influencers who align with the defined profiles and conduct thorough vetting to ensure brand safety and authenticity.
  3. Craft Outreach Templates: Develop personalized and compelling outreach messages that resonate with the selected influencers, highlighting mutual benefits and campaign objectives.
  4. Define Contract Terms & Content Guidelines: Establish clear contractual agreements and detailed content guidelines that ensure brand consistency while allowing for influencer creativity and authenticity.
  5. Develop ROI Tracking Framework: Implement metrics and tools to monitor campaign performance against predefined goals, ensuring measurable outcomes and continuous optimization.
gemini Output

Influencer Campaign Planner: Your Blueprint for Success

Unleash Your Brand's Potential with Strategic Influencer Partnerships

In today's dynamic digital landscape, influencer marketing offers an unparalleled opportunity to connect with your target audience authentically and effectively. This comprehensive planner provides a detailed framework for executing a successful influencer campaign, from identifying the perfect partners to measuring tangible ROI.


1. Campaign Overview & Strategic Objectives

Before diving into the specifics, a clear understanding of your campaign's core purpose is paramount.

Campaign Title: [Placeholder: e.g., "Spring Refresh Product Launch," "Holiday Gifting Guide," "Brand Awareness Drive"]

Overall Goal:

  • To significantly increase brand awareness among [Target Audience Demographics].
  • To drive engagement and consideration for [Specific Product/Service].
  • To generate X% increase in sales/leads for [Specific Product/Service] within [Timeframe].
  • To build authentic brand affinity and trust.

Target Audience:

  • Demographics: Age range, gender, location, income level.
  • Psychographics: Interests, values, lifestyle, pain points, aspirations.
  • Online Behavior: Preferred social media platforms, content consumption habits.

Key Performance Indicators (KPIs):

  • Awareness: Reach, Impressions, Mentions, Brand Sentiment.
  • Engagement: Likes, Comments, Shares, Saves, Story Swipes, Website Clicks.
  • Conversions: Sales, Leads, Sign-ups, App Downloads.

2. Ideal Influencer Profiles: Finding Your Perfect Match

Identifying the right influencers is the cornerstone of a successful campaign. We seek partners whose audience, content, and values align seamlessly with your brand.

Influencer Tiers & Focus:

  • Nano-Influencers (1K-10K followers): High authenticity, strong community trust, niche focus. Ideal for micro-targeted campaigns and authentic testimonials.
  • Micro-Influencers (10K-100K followers): Strong engagement rates, perceived as experts in their niche, good balance of reach and authenticity. Excellent for driving conversions and building brand advocates.
  • Mid-Tier Influencers (100K-500K followers): Broader reach than micro, still maintain good engagement, often have professional content creation capabilities. Suitable for significant awareness and consideration campaigns.
  • Macro-Influencers (500K-1M+ followers): Extensive reach, high visibility. Best for large-scale awareness campaigns and brand launches, though engagement rates can be lower.
  • Celebrity Influencers (1M+ followers): Maximum reach and brand prestige. Reserved for campaigns requiring massive public attention and significant budget.

Key Profile Attributes:

  • Audience Demographics: Must closely mirror your target audience (age, gender, location, interests).
  • Engagement Rate: Aim for influencers with consistently strong engagement (typically 2-5% or higher, depending on tier and platform). High engagement indicates an active and invested audience.
  • Content Niche & Style: Their content should naturally align with your brand's aesthetic, values, and messaging. Look for quality production, creativity, and authenticity.
  • Platform Preference: Focus on platforms where your target audience is most active and where the influencer excels (e.g., Instagram for visuals, TikTok for short-form video, YouTube for long-form reviews, Blogs for in-depth content).
  • Brand Alignment & Authenticity:

* Do their personal values resonate with your brand?

* Have they worked with direct competitors recently? (Preferably not).

* Do they genuinely use or believe in products/services similar to yours?

  • Professionalism: Responsiveness, clear communication, ability to meet deadlines, and adherence to guidelines.

Red Flags to Avoid:

  • Fake Followers/Low Engagement: Tools can help detect inflated follower counts.
  • Inconsistent Posting: Suggests lack of commitment or audience retention.
  • Controversial Content/Brand Misalignment: Any history of content that could negatively impact your brand's reputation.
  • Lack of Transparency: Not disclosing previous sponsored content appropriately.

3. Outreach Strategy & Professional Templates

A well-crafted outreach strategy is crucial for securing top-tier talent. Personalization and clarity are key.

Influencer Discovery Methods:

  • Influencer Marketing Platforms: (e.g., Upfluence, Grin, CreatorIQ) for comprehensive search and analytics.
  • Social Media Native Search: Hashtags, location tags, exploring "similar accounts."
  • Competitor Analysis: See who your competitors are working with (and if you can do better!).
  • Audience Insights: Analyze your existing followers to find potential advocates.

Outreach Process:

  1. Initial Research: Understand their content, audience, and previous collaborations.
  2. Personalized Contact: Use their preferred communication method (email, Instagram DM, LinkedIn).
  3. Clear Value Proposition: Briefly explain why they are a good fit for your brand and what's in it for them.
  4. Proposal & Briefing: Once interest is confirmed, provide a detailed campaign brief.

Outreach Templates:

Template 1: Initial Outreach (Email)

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

Dear [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/TikTok] for a while now, and I'm consistently impressed by your [specific compliment, e.g., "unique aesthetic," "engaging storytelling," "authentic approach to [niche]"]. Your recent post about [mention a specific post/story] really resonated with us.

At [Your Brand Name], we [briefly describe your brand and mission, e.g., "create sustainable skincare products that empower self-care," "develop innovative tech gadgets that simplify daily life"]. We believe your audience, with its strong interest in [mention relevant interest, e.g., "eco-friendly living," "tech reviews," "authentic beauty"], would genuinely connect with our [product/service].

We're currently planning an exciting campaign around [brief campaign theme, e.g., "our new Spring Collection," "the launch of our latest app feature"] and would love to explore a potential collaboration. We envision you creating [mention content type, e.g., "a series of engaging Instagram stories," "a captivating TikTok video," "an in-depth blog post"] that showcases [key product/service feature].

Would you be open to a brief call next week to discuss this further and share a detailed campaign brief? Please let me know your availability.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Your Social Media Link]


Template 2: Follow-Up (Email)

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

Dear [Influencer's Name],

Hope you're having a great week!

I'm just following up on my email from [Date] regarding a potential collaboration between [Your Brand Name] and you. We're very excited about the possibility of working together given your [reiterate unique quality, e.g., "authentic voice" or "creative content style"].

If you haven't had a chance to review it yet, no worries at all. Please let me know if you're interested in learning more about our upcoming campaign or if you have any initial questions.

Looking forward to hearing from you!

Best regards,

[Your Name]


4. Contract Terms & Legal Considerations

A clear, comprehensive contract protects both your brand and the influencer, ensuring expectations are met and legal requirements are fulfilled. This section outlines key clauses.

Essential Contract Clauses:

  1. Deliverables:

* Specific content types: e.g., 1x Instagram Feed Post, 3x Instagram Stories, 1x TikTok Video.

* Minimum requirements: e.g., story duration, video length, number of photos.

* Specific calls to action (CTAs), hashtags, brand tags, links.

* Submission deadlines for content drafts and final posts.

  1. Payment Terms:

* Compensation: Agreed fee (flat rate, per deliverable, commission-based).

* Payment Schedule: e.g., 50% upfront, 50% upon final post approval; net 30 days post-campaign.

* Payment Method: Bank transfer, PayPal, etc.

* Product Gifting: Clearly state if products are gifted in addition to or in lieu of monetary compensation.

  1. Usage Rights & Licensing:

* Brand's Right to Repurpose: Clearly define how your brand can use the influencer's content (e.g., on your social channels, website, paid ads, email marketing) and for how long (e.g., 6 months, 1 year, perpetual).

* Credit: Agreement on how the influencer will be credited when content is repurposed.

  1. Exclusivity:

* Category Exclusivity: Influencer agrees not to work with direct competitors for a specified period (e.g., 30 days before, during, and 60 days after the campaign).

* Platform Exclusivity: If applicable, restrict similar content on certain platforms during the campaign.

  1. Disclosure Requirements:

* Mandatory Disclosure: Influencer must clearly and conspicuously disclose the sponsored nature of the content (e.g., #Ad, #Sponsored, #BrandPartner, Paid Partnership label) in compliance with FTC guidelines (US), ASA (UK), or local regulatory bodies.

* Placement: Disclosure must be visible at the beginning of the caption/story/video.

  1. Content Approval Process:

* Draft Submission: Influencer submits content drafts for brand review.

* Revision Rounds: Specify number of revision rounds (e.g., 1-2 rounds).

* Brand Approval: Final content must receive explicit brand approval before publishing.

  1. Termination Clause:

* 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., partial payment, return of products).

  1. Confidentiality:

* Influencer agrees not to disclose proprietary campaign information or contract terms.

  1. Timeline & Key Dates:

* Content submission deadlines.

* Posting dates/windows.

* Reporting deadlines.

  1. Indemnification:

* Each party agrees to hold the other harmless from certain liabilities arising from the agreement.


5. Content Guidelines & Creative Brief

A detailed creative brief empowers influencers to produce content that is authentic to their style yet perfectly aligned with your brand's vision.

Campaign Core Message & Theme:

  • Campaign Title: [e.g., "The Future is Sustainable," "Unlock Your Inner Glow"]
  • Overarching Message: What single idea or feeling should viewers take away?
  • Key Message Points: 2-3 essential points that must be communicated about the product/service.

Brand Voice & Tone:

  • Adjectives: e.g., Enthusiastic, informative, playful, sophisticated, authentic, empowering.
  • Do's and Don'ts: What language or sentiment to use/avoid.

Visual Aesthetics & Mood Board:

  • Color Palette: Reference brand colors or campaign-specific hues.
  • Lighting: Natural, bright, moody.
  • Setting/Location: Home, outdoors, studio, specific environment.
  • Product Placement: How should the product be featured? (Prominently, subtly, in use).
  • Overall Mood: e.g., Energetic, serene, luxurious, minimalist.
  • Reference Examples: Provide links to your brand's existing content or other influencer content you admire.

Mandatory Elements:

  • Call to Action (CTA):

* "Shop the collection at [Link in Bio/Website URL]"

* "Use code [DISCOUNT CODE] for [X]% off your first order!"

* "Learn more about [Feature] at [Landing Page URL]"

* "Follow @[YourBrandHandle] for more!"

  • Required Hashtags: #YourBrandName #CampaignHashtag #Ad #Sponsored
  • Required Tags: @YourBrandHandle (in caption and image/video)
  • Link Placement: Specify where the link should be placed (e.g., Link in Bio, Story Swipe Up, Pinned Comment).

Prohibited Content:

  • Mentioning competitors.
  • Making unverified claims about the product/service.
  • Offensive, controversial, or politically charged content.
  • Misrepresenting the product or its benefits.
  • Using copyrighted music without proper licensing.

Example of a Strong vs. Weak Execution (for internal reference or brief discussion):

  • Strong Example: Influencer genuinely integrates product into daily routine, shares personal experience, high-quality visuals, clear CTA.
  • Weak Example: Product
gemini Output

This document outlines a comprehensive plan for executing an influencer marketing campaign, covering essential elements from influencer identification to ROI tracking. This structured approach ensures a professional, compliant, and effective campaign.


Influencer Campaign Planner: Detailed Strategy & Execution

This deliverable provides a detailed framework for planning, executing, and measuring your influencer marketing campaign. It covers ideal influencer profiles, outreach strategies, contractual agreements, content guidelines, and a robust ROI tracking framework to ensure maximum impact and accountability.


1. Campaign Overview & Objectives (Contextual)

  • Campaign Title: [To be defined, e.g., "Summer Glow Up with [Your Brand]"]
  • Primary Goal: [e.g., Increase brand awareness by 20%, Drive 15% increase in product sales, Generate 500 leads]
  • Target Audience: [e.g., Gen Z females, 18-24, interested in sustainable beauty]
  • Key Message: [e.g., "Achieve radiant skin naturally with [Product Name]"]
  • Campaign Duration: [e.g., 8 weeks]

2. Ideal Influencer Profiles

Identifying the right influencers is crucial. Our ideal influencer profiles are based on a multi-faceted evaluation to ensure alignment with your brand and campaign objectives.

2.1. Target Audience Alignment

  • Demographics: Influencer's audience must match your target demographics (age, gender, location, interests).
  • Psychographics: Audience values and lifestyle should resonate with your brand's ethos.

2.2. Niche & Category

  • Relevance: Influencers should operate within niches directly relevant to your product/service (e.g., beauty, fitness, tech, sustainable living, gaming).
  • Authenticity: Their content should naturally integrate products or services similar to yours, indicating genuine interest and credibility.

2.3. Follower Tiers & Engagement Rates

We target a mix of influencer tiers to optimize reach and authenticity:

  • Nano-Influencers (1k-10k followers):

* Engagement Rate: 5-10% (typically higher)

* Value: High authenticity, strong community trust, niche focus.

  • Micro-Influencers (10k-100k followers):

* Engagement Rate: 3-7%

* Value: Good balance of reach and authenticity, cost-effective, strong niche authority.

  • Mid-Tier Influencers (100k-500k followers):

* Engagement Rate: 2-5%

* Value: Significant reach, established credibility, often more professional.

  • Macro-Influencers (500k-1M+ followers):

* Engagement Rate: 1-3% (can vary)

* Value: Broad reach, high visibility, brand-building potential. Often used for awareness campaigns.

2.4. Brand Fit & Values

  • Brand Alignment: Influencer's personal brand, content themes, and public image must align positively with your brand's values and messaging.
  • Ethical Conduct: Influencers should have a clean public record and demonstrate ethical behavior.

2.5. Content Quality & Style

  • Visuals: High-quality photography and videography are essential.
  • Creativity: Ability to produce engaging, original, and on-brand content.
  • Storytelling: Skill in weaving compelling narratives that naturally integrate the product/service.

2.6. Past Campaign Performance (If Applicable)

  • Proven Track Record: Evidence of successful past collaborations, especially with brands in similar industries.
  • Audience Response: Positive audience feedback on previous sponsored content.

3. Influencer Outreach Strategy & Templates

A professional and clear outreach strategy is vital for securing collaborations.

3.1. Pre-Outreach Checklist

  • Research: Thoroughly vet influencer profiles, content, audience demographics, and past campaigns.
  • Personalization: Identify specific aspects of their content or brand that resonate with you for a personalized message.
  • Campaign Brief Ready: Have a preliminary brief outlining campaign goals, deliverables, and timeline.
  • Compensation Range: Determine your budget and potential compensation models (product gifting, flat fee, commission).

3.2. Outreach Templates

3.2.1. Initial Contact Email Template

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

Dear [Influencer Name or Preferred Contact],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I'm a huge admirer of your work, particularly your [mention specific content piece, style, or value, e.g., "authentic reviews of sustainable beauty products" or "engaging travel vlogs"]. Your dedication to [mention specific value, e.g., "eco-conscious living"] truly resonates with our brand's mission.

We're launching an exciting new campaign focused on [Campaign Theme/Product Benefit, e.g., "promoting natural skincare solutions for a radiant summer glow"] and we immediately thought of you. Our [Product/Service Name] is [briefly describe product/service and its key benefit, e.g., "a revolutionary organic serum designed to nourish and protect skin naturally"].

We believe your audience would genuinely connect with our brand because [explain alignment, e.g., "they share your passion for clean beauty and effective, natural ingredients"].

We're interested in exploring a potential collaboration that could involve [mention potential deliverables, e.g., "an Instagram Reel, a series of Stories, and a blog post"]. We're open to your creative input to ensure the content feels authentic to your brand.

Would you be open to a brief chat to discuss this opportunity further and share more details about our campaign? Please let me know your availability.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Your Social Media Link (Optional)]

3.2.2. Follow-Up Email Template (1 week after initial contact)

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

Dear [Influencer Name],

Hope this email finds you well.

I'm writing to follow up on my previous email from [Date of previous email] regarding a potential collaboration opportunity with [Your Brand Name] for our [Campaign Theme] campaign.

We're still very keen on the possibility of working with you, as we truly admire your [reiterate specific aspect, e.g., "unique perspective on sustainable fashion"] and believe your audience would be a perfect fit for our [Product/Service Name].

If you've had a chance to review our initial proposal and are interested, please let me know. I'd be happy to answer any questions you might have or schedule a quick call to discuss the details further.

Thank you again for your time.

Best regards,

[Your Name]

[Your Title]

3.2.3. Negotiation & Offer Template (After initial interest confirmed)

Subject: Official Collaboration Proposal: [Your Brand Name] x [Influencer's Name]

Dear [Influencer Name],

Thank you for your interest in collaborating with [Your Brand Name]! We truly enjoyed our discussion and are excited about the potential of working together.

Based on our conversations and your fantastic proposal, we'd like to formally offer you a collaboration for our [Campaign Theme] campaign.

Here are the proposed terms:

  • Campaign Focus: [Briefly reiterate campaign goal/product focus]
  • Deliverables:

* [e.g., 1x Instagram Reel (30-60 seconds)]

* [e.g., 3x Instagram Stories (15 seconds each, posted over 24 hours)]

* [e.g., 1x Static Instagram Post]

* [Specify any mandatory elements like product features, CTAs, hashtags, @mentions]

  • Key Messaging: [e.g., "Highlighting the natural ingredients and the hydrating benefits of our new serum."]
  • Timeline:

* Content Submission for Approval: [Date]

* Live Posting Date(s): [Date Range]

  • Compensation: [e.g., Flat fee of $[Amount] OR Product gifting + commission of [X]% on sales via unique tracking link (provided)]
  • Usage Rights: [e.g., Non-exclusive usage rights for 6 months for your social media channels and our website/social channels for promotional purposes.]
  • Disclosure: Mandatory #Ad / #Sponsored / #BrandPartner disclosure as per FTC/ASA guidelines.

We are confident that your creative vision will bring our product to life for your audience. Please review this proposal, and let us know if you have any questions or require any adjustments. We're open to discussing details to ensure a mutually beneficial partnership.

We look forward to hearing from you.

Best regards,

[Your Name]

[Your Title]


4. Key Contract Terms & Agreements

A clear and legally sound contract is essential to protect both parties and define expectations.

4.1. Scope of Work (Deliverables)

  • Specifics: Clearly list all required content pieces (e.g., 1 Instagram Reel, 3 Instagram Stories, 1 blog post).
  • Format & Length: Specify format (video, photo, text), duration (e.g., 30-60 seconds for video), and minimum word count (for blog posts).
  • Mandatory Elements: Include required hashtags, @mentions, tracking links, and key message points.
  • Posting Schedule: Agreed-upon dates or date ranges for content publication.

4.2. Payment Terms

  • Compensation Model: Flat fee, product gifting, commission-based, or a hybrid.
  • Amount: Clearly state the agreed-upon fee or commission percentage.
  • Payment Schedule: e.g., 50% upfront, 50% upon content approval/publication; or Net 30 days post-publication.
  • Payment Method: Bank transfer, PayPal, etc.

4.3. Content Ownership & Usage Rights

  • Ownership: Typically, the influencer retains original content ownership.
  • Brand Usage Rights: Grant the brand explicit, non-exclusive, perpetual/time-limited rights to repost, share, or repurpose the content on their own channels (social media, website, ads) for specific purposes.
  • Term & Scope: Define the duration (e.g., 1 year, perpetual) and scope (e.g., organic social, paid ads, website) of usage rights.

4.4. Exclusivity Clause

  • Competitive Brands: Prohibit the influencer from promoting direct competitors for a specified period (e.g., 30-90 days) before, during, and after the campaign.
  • Product Category: Define the scope of competitive products/services.

4.5. Disclosure Requirements

  • FTC/ASA Compliance: Mandate clear and conspicuous disclosure of sponsored content (e.g., #Ad, #Sponsored, #BrandPartner, "Paid Partnership with [Brand Name]").
  • Platform-Specific Tools: Require use of platform-specific disclosure tools (e.g., Instagram's "Paid partnership with" tag).

4.6. Performance Metrics & Reporting

  • Data Sharing: Agreement on the sharing of relevant performance metrics (e.g., reach, impressions, engagement rate, clicks, conversions) post-campaign.
  • Reporting Schedule: Specify when performance data should be provided (e.g., 7 days post-campaign end).

4.7. Approval Process

  • Draft Submission: Influencer must submit content drafts for brand approval before publication.
  • Revision Rounds: Specify the number of revision rounds allowed (e.g., 1-2 rounds).
  • Approval Timeline: Define the brand's response time for approvals (e.g., 48 hours).

4.8. Termination Clause

  • Breach of Contract: Conditions under which either party can terminate the agreement (e.g., failure to deliver, non-compliance with guidelines).
  • Consequences: Financial implications or return of products in case of termination.

4.9. Confidentiality

  • Non-Disclosure: Agreement to keep all campaign details, proprietary information, and unreleased product information confidential.

4.10. Indemnification

  • Liability: Clauses protecting both parties from legal claims arising from content or actions of the other party.

5. Content Guidelines & Creative Brief

A clear creative brief ensures brand consistency and effective messaging while allowing influencer creativity.

5.1. Campaign Theme & Messaging

  • Overarching Concept: [e.g., "Embrace your natural beauty with [Brand X]"]
  • Core Message: [e.g., "Our [Product Name] provides deep hydration and a radiant glow using only organic ingredients."]
  • Tone of Voice: [e.g., Authentic, inspiring, educational, playful, luxurious.]

5.2. Key Message Points (Mandatory Inclusions)

  • Product/Service Features: [List 2-3 key features, e.g., "organic ingredients," "cruelty-free," "suitable for sensitive skin."]
  • Benefits: [List 2-3 key benefits, e.g., "reduces fine lines," "improves skin texture," "long-lasting hydration."]
  • Problem/Solution: [e.g., "Tired of dull skin? [Product Name] is your natural solution!"]

5.3. Call-to-Action (CTA)

  • Clear & Specific: [e.g., "Shop now at [link in bio]," "Use code [DISCOUNT CODE] for 15% off," "Learn more about our ingredients on our website."]
  • Placement: Specify where the CTA should appear (e.g., caption, end of video, swipe-up link).

5.4. Content Formats & Specifications

  • Platform: Instagram (Reel, Story, Static Post), TikTok, YouTube, Blog.
  • Specific Requirements:

* Instagram Reel: 30-60 seconds, engaging music, product visibly used, clear voiceover/text overlay.

* Instagram Stories: 3-5 frames, swipe-up link, poll/quiz sticker, behind-the-scenes.

* Static Post: High-resolution image/carousel, detailed caption (min 150 words).

* TikTok: 15-30 seconds, trending audio, authentic product integration, engaging hook.

* YouTube Video: 3-5 minutes, dedicated segment, unboxing/review, link in description.

  • Visuals: High-quality, well-lit, aesthetically pleasing, brand-aligned color palette (if applicable).

5.5. Mandatory Elements

  • Hashtags: #[BrandName], #[CampaignTag], #Ad, #Sponsored, #BrandPartner, #[RelevantNicheTags] (e.g., #CleanBeauty, #SkincareRoutine).
  • @Mentions: @[YourBrandHandle] in caption and visual tags.
  • Tracking Links/Codes: Unique UTM links or discount codes provided by the brand.

5

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