Influencer Campaign Planner
Run ID: 69cbbd8e61b1021a29a8be372026-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.

Step 1 of 3: Audience Analysis for Influencer Campaign Planning

This document provides a comprehensive analysis of the target audience, a crucial first step in developing an effective influencer marketing campaign. Understanding your audience's demographics, psychographics, online behavior, and content preferences will inform influencer selection, content strategy, and campaign messaging.


1. Introduction: The Power of Audience Insight

A successful influencer campaign hinges on connecting with the right audience through the right messenger. This analysis delves deep into who your potential customers are, what motivates them, where they spend their time online, and what type of content resonates with them. By understanding these elements, we can identify influencers who genuinely align with your brand values and audience interests, ensuring authentic engagement and maximizing campaign ROI.


2. Assumptions Made for This Analysis

To provide a concrete example of audience analysis, we will proceed with the following hypothetical scenario. Please note: For your specific campaign, these assumptions would be replaced with actual data from your market research, existing customer base, and competitive analysis.

  • Product/Service: A premium, eco-friendly skincare line targeting individuals concerned with natural ingredients, sustainability, and effective results.
  • Initial Target Audience Assumption: Primarily young to middle-aged adults (25-45) with disposable income, active on social media, interested in health, wellness, and ethical consumerism.

3. Key Audience Segments & Demographics

Based on our hypothetical scenario and general market trends for eco-friendly skincare, we identify the following primary and secondary audience segments:

Primary Segment: "Conscious Consumers"

  • Age: 28-40 years old
  • Gender: Predominantly Female (70%), but a growing Male segment (30%)
  • Location: Urban and suburban areas in developed countries (e.g., North America, Western Europe, Australia). Higher concentration in areas with strong environmental awareness.
  • Income Level: Mid to High income ($60k+ annual household income), willing to pay a premium for quality, ethical, and sustainable products.
  • Education: College-educated or higher.
  • Occupation: Professionals, creatives, entrepreneurs.
  • Marital Status: Mix of single, in relationships, and young families.

Secondary Segment: "Wellness Enthusiasts"

  • Age: 25-45 years old
  • Gender: Balanced (55% Female, 45% Male)
  • Location: Similar to primary, but also includes rural areas with a focus on holistic living.
  • Income Level: Mid income ($45k+ annual household income). Value health and wellness above all.
  • Education: Varied, but often self-educated in wellness topics.
  • Occupation: Health practitioners, fitness instructors, wellness coaches, or individuals deeply invested in personal well-being.

4. Psychographics & Behavioral Insights

Understanding why these segments make choices is critical.

  • Values & Beliefs:

* Sustainability & Ethics: High value on environmental impact, cruelty-free, fair trade, clean ingredients, transparent sourcing.

* Health & Wellness: Prioritize natural ingredients, avoid harsh chemicals, seek holistic well-being.

* Authenticity: Skeptical of overly polished or artificial advertising; value genuine recommendations and real-world results.

* Self-Care: View skincare as an investment in personal well-being and a ritual for self-care.

  • Lifestyle:

* Active, health-conscious, often engage in fitness, yoga, meditation.

* Seek out organic food, sustainable fashion, and responsible brands.

* Early adopters of new health/wellness trends.

* Value experiences over possessions.

  • Pain Points:

* Difficulty finding truly natural and effective products without misleading claims.

* Concern about environmental impact of beauty products.

* Skin sensitivities or desire for gentle formulations.

* Information overload and distrust of traditional advertising.

  • Aspirations:

* Achieve healthy, glowing skin naturally.

* Live a more sustainable and ethical lifestyle.

* Feel confident and beautiful in their own skin.

* Be part of a community that shares their values.

  • Online Behavior:

* Research-driven: Actively seek reviews, ingredient lists, and brand stories before purchase.

* Engaged: Participate in discussions, comment on posts, share relevant content.

* Community-focused: Join online groups, forums, or follow thought leaders in wellness and sustainability.

* Mobile-first: Primarily access content and social media via smartphones.


5. Social Media Platform Usage Analysis

Different platforms cater to different content types and audience behaviors.

  • Instagram (Primary):

* Why: Highly visual platform, ideal for showcasing product aesthetics, texture, results, and lifestyle integration. Strong community features (Stories, Reels, DMs, Guides).

* Content Preference: High-quality imagery, short-form video tutorials, "day in the life" content, authentic testimonials, ingredient spotlights, aesthetically pleasing flat lays.

* Engagement: Stories polls/Q&A, comments, DMs for product inquiries.

  • TikTok (Secondary, Growing Importance):

* Why: Exploding for product discovery and authentic, short-form, educational, and entertaining content. Strong for viral trends and "before & after" transformations.

* Content Preference: Quick tutorials, "GRWM" (Get Ready With Me), ingredient explanations, product reviews, humor, relatable skits about skincare struggles.

* Engagement: Comments, shares, duets, stitches.

  • YouTube (Tertiary, for In-depth Content):

* Why: Best for longer-form, detailed reviews, tutorials, ingredient deep-dives, "empties" videos, and brand story narratives.

* Content Preference: 5-15 minute videos, unboxings, routine demonstrations, comparative reviews, educational content on skin health.

* Engagement: Comments, likes, subscriptions.

  • Pinterest (Supporting, for Discovery & Inspiration):

* Why: Visual search engine for inspiration, product discovery, and saving ideas. Good for driving traffic to blogs or product pages.

* Content Preference: Infographics on ingredients, skincare routines, aesthetic product shots, mood boards for healthy living.

* Engagement: Saves, clicks to external links.

  • Facebook (Supporting, for Community & Older Demographics):

* Why: Good for community groups focused on natural living, eco-friendly products. May reach an older segment of the target audience.

* Content Preference: Links to articles, group discussions, live Q&As with experts.

* Engagement: Group posts, comments, shares.


6. Content Consumption Preferences

  • Authenticity over Polish: While high quality is appreciated, overly produced or artificial content is often met with skepticism. Raw, genuine, and relatable content performs better.
  • Educational & Informative: Audiences want to understand why ingredients work, how to use products effectively, and the story behind the brand.
  • Problem/Solution Focused: Content that addresses common skin concerns and offers a clear solution resonates strongly.
  • Visually Appealing & Aspirational: Content should inspire a sense of well-being, natural beauty, and a desired lifestyle.
  • Short-form & Engaging (TikTok/Reels): Quick, digestible content that captures attention within the first few seconds.
  • Long-form & Detailed (YouTube/Blogs): For those seeking deeper understanding and comprehensive reviews.
  • User-Generated Content (UGC): Highly trusted. Audiences look for real people using and loving the products.
  • Interactive Content: Polls, Q&As, quizzes, "this or that" stories drive higher engagement.

7. Influencer Affinity & Trust Factors

Our target audience is discerning and values genuine connections.

  • Trust Factors:

* Authenticity: The influencer genuinely uses and believes in the product. They disclose partnerships transparently.

* Relatability: The influencer feels like a trusted friend or peer, not an unattainable celebrity.

* Expertise/Knowledge: They demonstrate a genuine understanding of skincare, ingredients, or sustainability.

* Consistency: Their overall content and values align with the brand's message, not just in sponsored posts.

* Engagement: They actively interact with their audience, building a loyal community.

  • Preferred Influencer Archetypes:

* Educators/Experts: Dermatologists, estheticians, chemists, or deeply knowledgeable skincare enthusiasts who can explain ingredients and science.

* Wellness/Lifestyle Bloggers: Individuals who embody a holistic, sustainable lifestyle and naturally integrate products into their routine.

* Micro/Nano-Influencers: Highly engaged communities, often seen as more authentic and trustworthy due to their niche focus and direct interaction.

* "Real People" Testimonials: Everyday individuals sharing their genuine experiences.


8. Key Trends & Opportunities

  • Rise of "Skinimalism": A trend towards simpler, more effective skincare routines with fewer, high-quality products. Our eco-friendly line fits perfectly here.
  • Ingredient Transparency: Consumers are increasingly demanding to know what's in their products and why. Influencers who can educate on this are invaluable.
  • Sustainability & Ethical Sourcing: A non-negotiable for our target audience. Influencers who champion these values will resonate deeply.
  • Video-First Content: The dominance of short-form video (Reels, TikTok) continues to grow for product discovery and engaging storytelling.
  • Community Building: Influencers who foster strong, interactive communities will yield better engagement than those with passive followers.
  • Long-Term Partnerships: Audiences are more receptive to influencers who consistently feature a brand over time, indicating genuine loyalty rather than one-off promotions.

9. Recommendations for Influencer Targeting

Based on this comprehensive analysis, we recommend focusing on the following influencer profiles and strategies:

  1. Prioritize Niche & Expertise over Follower Count:

* Focus: Micro and Nano-influencers (1k-100k followers) with high engagement rates (3-10%+) who specialize in clean beauty, sustainability, dermatology, or holistic wellness.

* Why: These influencers have highly dedicated and trusting audiences, offering better ROI through authentic recommendations.

  1. Seek Content Creators Aligned with Brand Values:

* Criteria: Influencers who genuinely advocate for sustainability, natural living, ethical consumption, and self-care in their overall content, not just sponsored posts.

* Content Style: Favor those who create educational, authentic, and visually appealing content that aligns with our brand's aesthetic.

  1. Platform Prioritization:

* Primary: Instagram (Reels, Stories, Feed) for visual appeal and community interaction.

* Secondary: TikTok for rapid discovery, authentic reviews, and trend participation.

* Tertiary: YouTube for in-depth reviews and educational content, especially for product launches or ingredient deep-dives.

  1. Embrace Diverse Content Formats:

* Video: Prioritize influencers skilled in creating engaging short-form (Reels, TikTok) and long-form (YouTube) video content.

* Educational: Look for influencers who can effectively explain product benefits, ingredients, and usage.

* Authentic Testimonials: Encourage genuine "before & afters" and honest reviews.

  1. Foster Long-Term Relationships:

* Strategy: Identify influencers for ongoing partnerships rather than one-off posts. This builds credibility and trust with their audience over time.

* Benefits: Allows influencers to genuinely incorporate products into their routine, demonstrating real results and fostering deeper brand advocacy.


10. Next Steps

This audience analysis provides the foundational insights needed to move forward. The next steps will involve translating these insights into actionable campaign components:

  1. Influencer Identification & Vetting: Begin researching and identifying specific influencers who match the profiles recommended above, focusing on engagement rates, audience demographics, content quality, and brand alignment.
  2. Develop Campaign Messaging & Content Pillars: Based on audience pain points, aspirations, and content preferences, outline key messages and content themes for the campaign.
  3. Refine Content Guidelines: Establish clear guidelines for influencers that encourage authenticity while ensuring brand messaging and product features are accurately represented.
  4. Outline Outreach Strategy: Prepare personalized outreach templates that clearly communicate our brand values and partnership expectations.
  5. Define Key Performance Indicators (KPIs): Set specific, measurable goals for the campaign based on desired audience actions (e.g., brand awareness, website traffic, sales).
gemini Output

Influencer Campaign Planner: Your Blueprint for High-Impact Collaborations

Unlock the Power of Authentic Connections and Drive Tangible Results with a Strategic Influencer Marketing Campaign.

Welcome to your comprehensive Influencer Campaign Planner, designed to guide you through every critical step of launching and managing a successful influencer marketing initiative. From identifying the perfect partners to measuring your return on investment, this planner provides the frameworks, templates, and insights you need to execute a campaign that resonates with your target audience and achieves your business objectives.


1. Campaign Goals & Strategic Foundation

Before diving into influencer selection, it's crucial to define the "why" and "what" of your campaign. A clear strategy ensures every action aligns with your ultimate business goals.

1.1. Define Your Campaign Objectives (SMART Goals)

What do you aim to achieve? Be specific, measurable, achievable, relevant, and time-bound.

  • Awareness:

* Increase brand mentions by X% within [Timeframe].

* Reach Y unique users through influencer content.

* Generate Z impressions across all influencer channels.

  • Engagement:

* Achieve an average engagement rate of X% on sponsored posts.

* Generate Y user-generated content (UGC) submissions using a campaign hashtag.

* Increase social media shares by Z% for specific product/service content.

  • Conversions/Sales:

* Drive X sales directly attributable to influencer-specific discount codes or affiliate links.

* Generate Y qualified leads through influencer promotions.

* Increase website traffic from influencer channels by Z%.

  • Brand Perception/Sentiment:

* Improve brand sentiment score by X points among target demographics.

* Position [Product/Service] as the leading solution for [Specific Problem].

1.2. Identify Your Target Audience

Who are you trying to reach? Your influencers' audiences should mirror your ideal customer.

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

1.3. Craft Your Core Message & Call to Action (CTA)

What do you want your audience to hear and what action do you want them to take?

  • Core Message: A concise, compelling statement that highlights your brand's unique value proposition. (e.g., "Experience ultimate comfort and style with our eco-friendly activewear.")
  • Primary CTA Examples:

* "Shop now with code [INFLUENCERNAME] for 15% off!"

* "Learn more about [Product Feature] at [Link in Bio]."

* "Download our free guide on [Topic]."

* "Tag a friend who needs [Product/Service]!"

  • Secondary CTAs: (e.g., "Follow us for more tips," "Visit our profile.")

2. Ideal Influencer Profiles: Finding Your Perfect Match

Identifying the right influencers is paramount to your campaign's success. Focus on authenticity, relevance, and genuine audience connection.

2.1. Influencer Tiers & Audience Size

Consider which tier best fits your campaign objectives and budget.

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

* Pros: High engagement rates, highly niche, very authentic, cost-effective.

* Cons: Limited reach, more effort to manage multiple partners.

* Best For: Driving authentic reviews, hyper-local campaigns, building community.

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

* Pros: Strong engagement, credible niche authority, growing reach, good balance of cost and impact.

* Cons: Still requires managing multiple partners for broader reach.

* Best For: Product launches, sustained brand awareness, targeted conversions.

  • Macro-Influencers (100K - 1M followers):

* Pros: Significant reach, established personal brand, professional content creation.

* Cons: Higher cost, potentially lower engagement rate than micro/nano, can feel less personal.

* Best For: Broad brand awareness, major product launches, mass market penetration.

  • Mega-Influencers/Celebrities (1M+ followers):

* Pros: Massive reach, instant credibility (if aligned), media attention.

* Cons: Very high cost, often lower engagement, less niche, risk of inauthenticity.

* Best For: Global campaigns, major brand repositioning, celebrity endorsement.

2.2. Key Characteristics to Evaluate

  • Niche & Relevance: Does their content align naturally with your brand, products, or services? Is their audience genuinely interested in what you offer?
  • Audience Demographics & Psychographics: Do their followers match your target audience? Request audience insights or media kits.
  • Engagement Rate: A crucial metric. Look beyond follower count. (Engagement Rate = (Likes + Comments + Shares) / Followers * 100%). A healthy rate varies by platform and tier, but generally 2-5% is good for macro, 5-10%+ for micro/nano.
  • Content Quality & Aesthetic: Do their visuals, captions, and overall content style meet your brand's standards? Is it authentic and engaging?
  • Brand Alignment & Values: Do their personal values and past collaborations align with your brand's ethos? Avoid influencers with controversial content or past scandals.
  • Authenticity & Trust: Do they have a genuine connection with their audience? Are their comments real and engaging, or do they appear spammy?
  • Past Performance: Have they successfully partnered with similar brands? What were the results?

2.3. Red Flags to Watch For

  • Fake Followers/Bots: Sudden spikes in follower count, low engagement despite high followers, generic comments, high percentage of suspicious-looking follower accounts.
  • Inconsistent Engagement: Posts with wildly varying engagement rates.
  • Lack of Disclosure: Influencers who consistently fail to disclose sponsored content may indicate a lack of professionalism or ethical commitment.
  • Negative Brand Mentions: Check for any past controversies or negative associations.

3. Influencer Outreach Strategy & Templates

A professional, personalized outreach approach is key to securing top-tier collaborations.

3.1. General Outreach Best Practices

  • Personalize Everything: Refer to their specific content, recent posts, or unique style. Show you're not sending a generic bulk email.
  • Be Clear & Concise: Get straight to the point. What is the opportunity? What's in it for them?
  • Highlight Mutual Benefit: Emphasize how this partnership benefits their audience and helps them create valuable content, not just your brand.
  • Provide Key Information: Briefly introduce your brand, the campaign idea, and what you're looking for.
  • Suggest Next Steps: A clear call to action (e.g., "Let's schedule a quick call," "Reply with your media kit").
  • Use the Right Channel: LinkedIn for professional connections, Instagram DM for initial quick contacts, Email for formal proposals.

3.2. Outreach Templates

Template A: Initial Contact Email (Formal Proposal)

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

Dear [Influencer's Name],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. We've been following your incredible work on [Platform, e.g., Instagram/YouTube] for some time, particularly your [mention a specific post, series, or content style you admire, e.g., "authentic reviews of sustainable beauty products" or "engaging travel vlogs"]. Your ability to connect with your audience around [mention their niche/value, e.g., "conscious living" or "adventure travel"] truly stands out.

At [Your Brand Name], we're passionate about [Your Brand's Mission/Value, e.g., "creating high-quality, ethically sourced skincare products" or "empowering small businesses with innovative software"]. We believe your audience would genuinely appreciate our [mention product/service, e.g., "new line of vegan serums" or "user-friendly project management tool"].

We're currently planning an exciting campaign around [Campaign Theme/Goal, e.g., "sustainable self-care routines" or "streamlining remote work"] and immediately thought of you as an ideal partner. We envision a collaboration that could involve [suggest content ideas, e.g., "a dedicated Instagram post and story series showcasing how you incorporate our products into your daily routine," or "a YouTube video tutorial highlighting our software's key features"].

We're keen to explore how we can create authentic, valuable content together for your engaged community. We offer competitive compensation, product samples, and a supportive creative environment.

Would you be open to a brief 15-minute call next week to discuss this further and learn more about your rates and availability? Please let me know what day and time works best for you, or feel free to share your media kit.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Website Link]

[Social Media Links]


Template B: 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 for our upcoming [Campaign Name/Product] campaign.

We're genuinely excited about the possibility of working with you, given your amazing content around [mention their niche again] and the strong connection you have with your audience.

If you've had a chance to review our previous message and are interested, I'd still love to schedule a quick chat to discuss the details and answer any questions you might have. Please let me know if you'd prefer to connect via email or a brief call.

Thank you again for your time.

Best regards,

[Your Name]


Template C: Instagram DM (Initial Light Touch)

Hi [Influencer's Handle]! 👋 Love your recent post on [specific post/topic] – really resonated with us. We're [Your Brand Name], and we're looking for partners who share our passion for [your brand's niche/value]. We think your audience would really connect with our [product/service]. Would you be open to hearing more about a potential collaboration? We'd love to send you an email with details! 😊


4. Influencer Contract Terms & Agreements

A clear, legally sound contract protects both parties and ensures smooth execution. Always consult with legal counsel to finalize your agreements.

4.1. Key Contractual Elements

  • Parties Involved: Full legal names and contact information of both the brand and the influencer.
  • Scope of Work & Deliverables:

* Specific content types (e.g., 1 Instagram feed post, 3 Instagram stories, 1 TikTok video, 1 blog post).

* Specific requirements for each piece (e.g., minimum word count, video length, number of photos).

* Mandatory inclusions (e.g., specific hashtags, brand mentions, product tags, linking instructions).

* Submission deadlines for drafts and final content.

* Live date requirements.

  • Payment Terms & Structure:

* Compensation Amount: Clearly state the agreed-upon fee.

* Payment Schedule: (e.g., 50% upfront, 50% upon content approval; or full payment Net 30 days after live date).

* Payment Method: (e.g., bank transfer, PayPal).

* Product/Service Compensation: If applicable, detail what products/services will be provided and their value.

* Performance-Based Bonuses: (Optional) If applicable, detail any bonuses for exceeding certain KPIs (e.g., sales, clicks).

  • Content Ownership & Usage Rights:

* Who owns the content? Typically, the influencer owns the raw content, but the brand gets specific usage rights.

* License Granted to Brand: Clearly define how the brand can use the content (e.g., for brand's social media, website, paid ads, print media, for how long, and in what territories).

* Exclusivity: If the brand requires exclusive use for a period, specify this.

  • Disclosure Requirements:

* Mandatory inclusion of FTC/ASA guidelines (e.g., #ad, #sponsored, #partner) visibly and audibly.

* Specific placement of disclosure (e.g., first line of caption, spoken clearly in video).

  • Exclusivity Clauses:

* Product/Category Exclusivity: Prohibits the influencer from promoting competitor products/services for a specified period (e.g., 30-90 days before, during, and after the campaign).

Brand Exclusivity: Less common, but can prohibit working with any* other brand for a period.

  • Approval Process:

* Timeline for content review and feedback.

* Number of revision rounds allowed.

* Who has final approval (brand or influencer)?

  • Confidentiality: Agreement not to share proprietary information about the campaign, products, or contract terms.
  • Termination Clauses:

* Conditions under which either party can terminate the agreement (e.g., breach of contract, failure to meet deliverables, ethical misconduct).

* Consequences of termination (e.g., partial payment, return of product).

  • Representations & Warranties: Influencer confirms they have the right to create and license the content, and that it won't infringe on third-party rights.
  • Indemnification: Protection for the brand against any claims arising from the influencer's content or actions.
  • Governing Law: Which state or country's laws will govern the contract.

5. Content Guidelines & Creative Brief

A clear creative brief empowers influencers to produce authentic, high-quality content that aligns with your brand's vision, while still allowing for their unique creative voice.

5.1. Campaign Overview

  • Campaign Title & Theme: (e.g., "Summer Glow Up with [Your Brand]")
  • Campaign Objectives: (Briefly reiterate 1-2 primary objectives)
  • Key Message: (The core takeaway for the audience)
  • Target Audience: (Remind influencers who they are speaking to)
  • Call to Action: (What you want the audience to do)

5.2. Brand Guidelines

  • Brand Voice & Tone: (e.g., "Empathetic and informative," "Playful and adventurous," "Sophisticated and luxurious.")
  • Visual Aesthetic: (e.g., "Bright and airy," "Bold and vibrant," "Minimalist and clean.") Provide links to your brand's Instagram feed or Pinterest mood boards.
  • Key Product/Service Features to Highlight: (e.g., "Our product is cruelty-free," "Our service saves 10 hours a week," "Our ingredient is sustainably sourced.")
  • Mandatory Elements:

* Hashtags: (e.g., #YourBrandName #CampaignHashtag #ad #sponsored)

*Mentions/

gemini Output

Influencer Campaign Planner: Optimized & Finalized Strategy

This document provides a comprehensive, optimized, and finalized plan for your influencer marketing campaign. It covers all critical aspects from influencer identification to ROI tracking, ensuring a structured and effective approach to achieve your marketing objectives.


1. Executive Summary

This Influencer Campaign Planner outlines a strategic framework designed to identify, engage, and manage influencers to amplify your brand message, drive engagement, and generate measurable results. By detailing ideal influencer profiles, providing actionable outreach templates, establishing clear contractual terms, setting robust content guidelines, and implementing a comprehensive ROI tracking framework, this plan aims to maximize the effectiveness and efficiency of your influencer marketing efforts.


2. Campaign Context & Objectives (Example)

To provide context for the following sections, let's assume a hypothetical campaign for a new eco-friendly skincare line, "GlowGreen Naturals", targeting environmentally conscious consumers aged 25-45.

Campaign Goal: Launch "GlowGreen Naturals" to a broad, engaged audience, drive brand awareness, educate consumers on product benefits, and encourage initial product trials and purchases.

Key Objectives:

  • Achieve 10M impressions within 8 weeks.
  • Generate 500k engagements (likes, comments, shares, saves).
  • Drive 10,000 unique website visits from influencer content.
  • Achieve a 2% conversion rate on influencer-driven traffic.
  • Increase brand sentiment and positive mentions by 15%.

3. Ideal Influencer Profiles

Identifying the right influencers is crucial for campaign success. Our ideal influencer profiles focus on alignment with brand values, audience demographics, and engagement quality.

3.1. Core Criteria for Selection

  • Niche & Relevance:

* Primary: Skincare, beauty, wellness, sustainable living, eco-friendly products.

* Secondary: Lifestyle, fashion (with a focus on natural/sustainable aspects), health & fitness.

* Alignment: Must genuinely align with "GlowGreen Naturals'" values of sustainability, natural ingredients, and ethical practices.

  • Audience Demographics:

* Age: Predominantly 25-45 years old.

* Gender: Primarily female, but open to male/non-binary influencers with relevant audiences.

* Interests: Organic products, environmentalism, healthy living, self-care, ethical consumption.

* Location: Primary target markets (e.g., USA, Canada, UK).

  • Engagement Rate:

* Nano-influencers (1k-10k followers): 5-10%+

* Micro-influencers (10k-100k followers): 3-8%

* Macro-influencers (100k-1M followers): 2-5%

* Celebrity/Mega-influencers (1M+ followers): 1-3% (focus on reach and brand halo effect)

Note: Prioritize quality and authenticity of engagement over sheer numbers.*

  • Content Quality & Aesthetic:

* High-quality visuals (clear, well-lit photos/videos).

* Authentic, engaging, and clear communication style.

* Aesthetic should align with "GlowGreen Naturals'" clean, natural, and aspirational branding.

  • Brand Safety & Reputation:

* No history of controversial content, unethical practices, or association with competing brands within the campaign timeframe.

* Positive public image and professional conduct.

  • Platform Preference: Instagram (Reels, Stories, Posts), TikTok, YouTube, Blogs (for deeper dives).

3.2. Influencer Tiers & Focus

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

* Focus: Authenticity, hyper-niche targeting, high trust, user-generated content (UGC) feel. Ideal for product reviews and genuine testimonials.

* Example: A local eco-blogger who genuinely uses and advocates for sustainable products in their daily life.

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

* Focus: Strong community engagement, relatable content, cost-effective reach. Excellent for driving conversions and detailed product demonstrations.

* Example: A beauty enthusiast known for honest skincare reviews and sustainable lifestyle tips.

  • Macro-Influencers (100k-1M followers):

* Focus: Broader reach, increased brand awareness, professional content creation. Can act as brand ambassadors.

* Example: A popular wellness influencer with a significant following interested in natural beauty and health.

  • Potential Celebrity/Mega-Influencers (1M+ followers):

* Focus: Mass market reach, significant brand credibility, media attention. Reserved for high-impact launch phases or long-term partnerships.

* Example: A celebrity known for their advocacy in environmental causes and natural living.

3.3. Red Flags to Avoid

  • Inauthentic Engagement: High follower count but low engagement, suspicious comment patterns (e.g., generic comments, bot activity).
  • Irrelevant Audience: Audience demographics not matching the target market.
  • Brand Conflicts: Currently promoting direct competitors or having a history of frequent, inconsistent brand partnerships.
  • Poor Content Quality: Blurry images, inconsistent posting, unprofessional editing.
  • Negative Brand Sentiment: History of controversial posts, offensive language, or poor reputation.

4. Influencer Outreach Strategy & Templates

A personalized and professional outreach approach is key to securing high-quality partnerships.

4.1. Outreach Process

  1. Research & Shortlisting: Identify influencers matching ideal profiles using tools like HypeAuditor, Upfluence, or manual Instagram/TikTok searches. Create a shortlist with contact information.
  2. Initial Contact (Personalized DM/Email): Send a concise, personalized message highlighting mutual fit and value.
  3. Follow-up: If no response, send a polite follow-up within 3-5 business days.
  4. Proposal & Negotiation: Once interest is confirmed, send a detailed proposal outlining deliverables, compensation, and terms. Negotiate as needed.
  5. Contracting: Finalize terms and issue a formal contract.
  6. Onboarding: Provide a comprehensive creative brief and product samples.

4.2. Outreach Templates

Template 1: Initial Email/DM Outreach (Personalized)

Subject: Collaboration Opportunity: GlowGreen Naturals x [Influencer's Handle/Name]

Body:

Hi [Influencer Name],

My name is [Your Name] and I'm the [Your Title] at GlowGreen Naturals, an exciting new eco-friendly skincare line dedicated to sustainable beauty.

I've been following your content on [Platform, e.g., Instagram/TikTok] for a while now, and I'm consistently impressed by your [specific positive aspect, e.g., "authentic reviews of natural products," "beautiful aesthetic and commitment to sustainable living," "engaging skincare routines"]. Your audience, particularly those interested in [mention specific audience interest, e.g., "clean beauty and ethical consumption"], aligns perfectly with our brand's mission.

We're launching our hero product, the 'Renew & Restore Serum,' and believe your voice would be incredibly valuable in sharing its benefits with your community. We're looking for partners who genuinely resonate with our values and can create authentic content.

Would you be open to a brief chat to explore a potential partnership? I'd love to share more about GlowGreen Naturals and how we could create something impactful together.

Looking forward to hearing from you!

Best,

[Your Name]

[Your Title]

GlowGreen Naturals

[Website Link]

[Social Media Link]


Template 2: Follow-up Email/DM

Subject: Following Up: Collaboration Opportunity with GlowGreen Naturals

Body:

Hi [Influencer Name],

Just wanted to gently follow up on my previous message regarding a potential collaboration with GlowGreen Naturals.

We're still actively seeking partners who share our passion for sustainable beauty and believe your unique perspective would be a fantastic fit for our launch campaign.

If you're interested in learning more about our brand and the 'Renew & Restore Serum,' please let me know a good time for a quick call or if you prefer, I can send over a brief overview.

Thanks again for your time and consideration!

Best,

[Your Name]

GlowGreen Naturals


Template 3: Proposal/Negotiation Points (Post-Interest)

  • Campaign Overview: Briefly reiterate campaign goals, target audience, and key messages.
  • Proposed Deliverables:

* Number and type of posts (e.g., 1 Instagram Reel, 3 Instagram Stories, 1 Static Post).

* Specific content requirements (e.g., product usage, benefits mentioned, call-to-action).

* Posting dates/timeline.

  • Compensation: Clearly state proposed payment (flat fee, product exchange, commission, etc.). Be open to negotiation.
  • Usage Rights: Specify how the brand can repurpose the content (e.g., for ads, website, social media).
  • Exclusivity: Outline any exclusivity requirements (e.g., not promoting competing skincare brands for X weeks).
  • Disclosure: Emphasize mandatory FTC/ASA disclosure requirements (e.g., #Ad, #Sponsored).
  • Approval Process: Detail content submission and review stages.
  • Call to Action: Prompt for discussion or acceptance of terms.

5. Influencer Contract Terms & Key Clauses

A robust contract protects both the brand and the influencer, ensuring clarity and legal compliance. Always consult with legal counsel to draft and review all influencer agreements.

5.1. Essential Contract Clauses

  1. Parties Involved: Full legal names and addresses of the brand and the influencer.
  2. Scope of Work & Deliverables:

* Detailed description of content required (e.g., 1 Instagram Reel, 3 Instagram Stories, 1 static post).

* Specific product(s) to be featured.

* Mandatory hashtags, mentions, and CTAs.

* Content format, length, and quality standards.

* Posting schedule and deadlines.

  1. Payment Terms:

* Compensation: Flat fee, commission, product exchange, or a combination.

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

* Payment Method: (e.g., bank transfer, PayPal).

* Expenses: Clarification on who covers additional expenses (e.g., travel, props).

  1. Usage Rights & Licensing:

* Grant of License: The influencer grants the brand a non-exclusive, worldwide, perpetual, royalty-free license to use, reproduce, modify, adapt, publish, and display the created content for marketing purposes (specify platforms: social media, website, ads, email).

* Term of Use: Specify if usage rights are limited to a certain period (e.g., 1 year) or perpetual.

* Attribution: How the influencer will be credited.

  1. Exclusivity:

* Product/Category Exclusivity: Influencer agrees not to promote competing products/brands within the specified category for a defined period (e.g., 30-60 days before, during, and after the campaign).

* Platform Exclusivity: If content is exclusive to certain platforms.

  1. Disclosure & Compliance:

* Mandatory adherence to FTC (US), ASA (UK), or relevant local advertising regulations regarding sponsored content disclosure (e.g., #Ad, #Sponsored, #GlowGreenNaturalsPartner).

* Influencer confirms they will clearly and conspicuously disclose the partnership.

  1. Content Approval Process:

* Influencer submits content drafts for brand review/approval before posting.

* Brand's right to request reasonable revisions.

* Timeline for review and feedback.

  1. Intellectual Property:

* Influencer confirms they own the rights to the content created or have necessary licenses.

* Influencer indemnifies the brand against claims of IP infringement.

  1. Representations & Warranties:

* Influencer confirms they are of legal age, have the authority to enter the agreement, and their content will not be defamatory, infringing, or illegal.

* Influencer guarantees content authenticity and originality.

  1. Termination Clause:

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

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

  1. Indemnification:

* Influencer agrees to indemnify the brand against any claims arising from their breach of contract, negligence, or unlawful acts.

  1. Confidentiality:

* Influencer agrees not to disclose proprietary brand information.

  1. Governing Law & Dispute Resolution:

* Specifies the jurisdiction whose laws will govern the contract and the process for resolving disputes (e.g., arbitration).


6. Content Guidelines & Creative Brief

A detailed creative brief ensures content aligns with brand messaging and campaign objectives while allowing influencers creative freedom.

6.1. Campaign Overview

  • Campaign Title: GlowGreen Naturals: Renew & Restore Launch
  • Overall Goal: Introduce GlowGreen Naturals, drive awareness of the Renew & Restore Serum, and encourage trial/purchase.
  • Key Message: "Experience naturally radiant skin with GlowGreen Naturals' Renew & Restore Serum – sustainable beauty that truly works."
  • Target Audience: Eco-conscious individuals, 25-45, interested in clean beauty and sustainable living.
  • Brand Voice: Authentic, empowering, knowledgeable, inspiring, natural, trustworthy.

6.2. Product Focus: Renew & Restore Serum

  • Key Benefits: Hydrates deeply, reduces fine lines, brightens complexion, soothes skin, made with 98% natural ingredients, cruelty-free, vegan, sustainable packaging.
  • Unique Selling Points: Organic botanical extracts, lightweight texture, fast absorption, visible results, ethical sourcing.
  • Visuals: Show product clearly, highlight texture, emphasize natural glow on skin.

6.3. Content Formats & Requirements

  • Instagram Reel (Mandatory):

* Duration: 30-60 seconds.

* Concept: "Get Ready With Me" (GRWM) featuring the serum in a daily skincare routine, or a "Before & After" showing immediate glow/hydration.

* Audio: Use trending audio or calming, natural sounds.

* Call-to-Action: "Shop now at GlowGreenNaturals.com – link in bio!"

  • Instagram Stories (3 frames - Mandatory):

* Frame 1: Unboxing/first impression of the serum, highlighting sustainable packaging.

* Frame 2: Quick demo of application, mentioning

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