Influencer Campaign Planner
Run ID: 69ccebd73e7fb09ff16a65402026-04-01Marketing
PantheraHive BOS
BOS Dashboard

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

Influencer Campaign Planner: Step 1 of 3 - Audience Analysis

Project Title: Influencer Campaign Planner

Workflow Step: gemini → analyze_audience

Deliverable: Comprehensive Target Audience Analysis for Influencer Marketing Campaign


1. Introduction: The Cornerstone of Influencer Success

Understanding your target audience is the absolute foundation of any successful influencer marketing campaign. Without a deep, data-driven understanding of who you're trying to reach, your influencer selection, content strategy, and messaging will lack precision and effectiveness. This analysis aims to provide a robust framework for identifying, segmenting, and understanding your ideal customer base, ensuring that your influencer partnerships resonate authentically and drive measurable results.

Objective: To define and analyze the key characteristics, behaviors, and motivations of the target audience to inform strategic influencer selection, content creation, and campaign messaging.


2. Framework for Target Audience Segmentation

Before diving into detailed analysis, it's crucial to consider potential audience segments. While a specific product/service has not been provided, we recommend categorizing your audience to tailor messaging and influencer selection effectively.

  • Primary Target Audience: The core group most likely to purchase or engage with your product/service. They represent the largest potential for ROI.
  • Secondary Target Audience: A significant, but perhaps smaller or less immediate, group that can be influenced. They might be future customers or advocates.
  • Niche/Emerging Segments: Specific sub-groups with unique interests or demographics that could be highly engaged by a specialized influencer.

Action Item: As we proceed, consider which of the following analytical points apply most strongly to your primary, secondary, and niche segments.


3. Detailed Audience Analysis Categories

This section outlines the critical data points required for a comprehensive audience understanding. For each category, we provide insights, trends, and actionable recommendations.

3.1. Demographics

Demographic data provides the factual backbone of your audience profile.

  • Key Data Points:

* Age Range: (e.g., 18-24, 25-34, 35-54, 55+)

* Gender Identity: (e.g., Male, Female, Non-binary, Prefer not to say)

* Geographic Location: (e.g., Country, Region, State, City - urban/suburban/rural)

* Income Level: (e.g., Student, Entry-level, Mid-career, High-net-worth)

* Education Level: (e.g., High School, Undergraduate, Postgraduate)

* Occupation/Industry: (e.g., Tech professional, Healthcare worker, Creative artist, Student)

* Marital Status/Family Size: (e.g., Single, Married, Parents with young children)

  • Data Insights & Trends:

* Hyper-localization: Audiences increasingly respond to content relevant to their specific locale.

* Generational Shifts: Gen Z and Millennials are digital natives, influencing purchasing decisions across households. They value authenticity and social responsibility.

* Diverse Representation: Audiences expect to see themselves reflected in marketing; diversity in influencer selection is paramount.

  • Recommendations:

* Influencer Matching: Select influencers whose demographic audience closely mirrors your target demographics. Use influencer analytics platforms to verify this data.

* Targeted Outreach: Tailor campaign messaging to resonate with specific age groups, income levels, or geographic regions.

* Platform Prioritization: Certain demographics dominate specific platforms (e.g., TikTok for Gen Z, Facebook for older demographics).

3.2. Psychographics

Psychographics delve into the "why" behind audience behavior, revealing their motivations, values, and lifestyle.

  • Key Data Points:

* Interests & Hobbies: (e.g., Fitness, Gaming, Travel, Cooking, Fashion, Sustainability)

* Values & Beliefs: (e.g., Environmentalism, Social justice, Community, Family, Innovation, Luxury)

* Lifestyle: (e.g., Active, Homebody, Urban explorer, Digital nomad, Parent)

* Personality Traits: (e.g., Adventurous, Practical, Creative, Analytical, Socially conscious)

* Attitudes & Opinions: (e.g., Early adopter, Skeptic, Brand loyalist, Price-sensitive)

* Pain Points & Challenges: What problems does your product/service solve for them? What are their daily frustrations?

* Aspirations & Goals: What do they strive for? What are their dreams and ambitions?

  • Data Insights & Trends:

* Value-Driven Consumers: A growing segment of consumers makes purchasing decisions based on a brand's alignment with their personal values (e.g., sustainability, ethical sourcing).

* Experience Economy: Audiences often prioritize experiences over material possessions, influencing how products are marketed.

* Community & Belonging: People seek communities that align with their interests, making niche influencers highly effective.

  • Recommendations:

* Content Pillars: Develop content themes and messaging that directly address their pain points and align with their aspirations and values.

* Emotional Connection: Influencers should be able to tell stories that evoke empathy and resonate emotionally with these psychographic traits.

* Brand Alignment: Partner with influencers whose personal brand and content genuinely reflect the values and lifestyle of your target audience.

3.3. Behavioral Data

This category examines how your audience interacts with brands, content, and digital platforms.

  • Key Data Points:

* Preferred Social Media Platforms: (e.g., Instagram, TikTok, YouTube, Facebook, Pinterest, LinkedIn, Twitter, Twitch)

* Content Consumption Habits: (e.g., Short-form video, Long-form video, Blog posts, Livestreams, Podcasts, Stories, Infographics)

* Online Purchase Habits: (e.g., Frequency, Average order value, Preferred payment methods, Decision-making process - impulse vs. research-heavy)

* Device Usage: (e.g., Mobile-first, Desktop, Tablet)

* Engagement Patterns: (e.g., Liking, Commenting, Sharing, Saving, Clicking through)

* Brand Loyalty/Switching: Are they loyal to specific brands or open to trying new ones?

* Key Purchase Drivers: (e.g., Price, Quality, Convenience, Social Proof, Brand Reputation, Reviews)

  • Data Insights & Trends:

* Video Dominance: Short-form video (TikTok, Instagram Reels, YouTube Shorts) continues to be a primary content consumption format, especially for younger demographics.

* Authenticity over Polish: Raw, unedited, and relatable content often outperforms highly produced advertisements.

* Interactive Content: Polls, Q&As, quizzes, and live sessions drive higher engagement.

* Micro-influencer Effectiveness: Niche communities often exhibit higher engagement rates and trust in smaller, more specialized influencers.

  • Recommendations:

* Platform Strategy: Prioritize influencer partnerships on platforms where your target audience is most active and engaged.

* Content Format Alignment: Guide influencers to create content in formats that your audience prefers (e.g., if they love Reels, focus on short-form video).

* Call-to-Action Optimization: Tailor CTAs to their purchase habits (e.g., direct link for impulse buyers, detailed product page for researchers).

* Engagement Metrics: When evaluating influencers, prioritize engagement rate (comments, shares, saves) over just follower count.

3.4. Needs & Goals

Understanding the specific problems your product/service solves for your audience is crucial for messaging.

  • Key Data Points:

* Unmet Needs: What frustrations do they experience that your product/service addresses?

* Desired Outcomes: What tangible or intangible benefits are they seeking?

* Information Seeking: Where do they go for solutions? (e.g., search engines, social media, peer recommendations, expert reviews)

  • Data Insights & Trends:

* Solution-Oriented Search: Consumers are actively searching for solutions to their problems, making educational and problem-solving content highly valuable.

* Peer Validation: Social proof and recommendations from trusted sources (including influencers) heavily influence purchasing decisions.

  • Recommendations:

* Problem/Solution Messaging: Craft influencer briefs that clearly articulate the problem your product solves and the positive outcome it delivers.

* Educational Content: Encourage influencers to create content that educates the audience on the benefits and utility of your offering.

* Testimonials & Reviews: Leverage influencers to generate authentic testimonials and reviews that address audience needs.


4. Data Sources for Audience Insights

To gather the detailed information outlined above, consider utilizing a combination of the following resources:

  • Internal Data:

* CRM Data: Customer demographics, purchase history, interaction logs.

* Website Analytics (Google Analytics): Demographics, interests, geographic data, user flow, most visited pages.

* Sales Data: Top-selling products, customer segments, repeat purchases.

* Social Media Analytics (Own Channels): Audience demographics, engagement patterns, top-performing content.

* Customer Surveys & Feedback: Direct insights into pain points, needs, and preferences.

  • External Data:

* Market Research Reports: Industry trends, consumer behavior studies.

* Competitor Analysis Tools: Analyze competitor's audience demographics and engagement on social media.

* Social Listening Tools: Monitor conversations around your brand, industry, and competitors to identify trends, sentiments, and pain points.

* Third-Party Audience Intelligence Platforms: Tools like SparkToro, Audiense, or similar platforms provide deep insights into audience psychographics and behaviors.

* Public Data: Census data, government statistics, demographic reports.


5. Recommendations for Audience-Driven Influencer Selection

Based on this comprehensive audience analysis, here are key recommendations for selecting the most effective influencers:

  • Audience Over Followers: Prioritize influencers whose actual audience demographics and psychographics align precisely with your target segments, rather than solely focusing on follower count.
  • Authenticity & Resonance: Choose influencers whose personal brand, values, and content style genuinely resonate with your target audience. Authenticity builds trust.
  • Engagement Metrics: Look for high engagement rates (comments, shares, saves, clicks) as a proxy for how well an influencer's audience connects with their content.
  • Platform Alignment: Select influencers who are strong on the platforms where your target audience spends most of their time.
  • Content Fit: Ensure the influencer's typical content style and quality align with your brand's image and messaging goals.
  • Micro & Nano Influencers: Consider leveraging micro (10K-100K followers) and nano (<10K followers) influencers, as they often boast higher engagement rates and more dedicated, niche audiences. They are particularly effective for building authentic connections and driving conversions within specific segments.

6. Next Steps

This detailed audience analysis provides the foundational intelligence for your influencer campaign. The next steps are crucial for translating these insights into actionable campaign components:

  1. Define Specific Audience Personas: Based on this analysis, create 2-3 detailed audience personas that represent your primary target segments. Include names, backstories, daily routines, pain points, and aspirations.
  2. Gather Specific Data: Utilize the suggested data sources to populate the detailed audience analysis categories with concrete data points for your specific product/service.
  3. Refine Campaign Objectives: Revisit your overall campaign objectives, ensuring they are SMART (Specific, Measurable, Achievable, Relevant, Time-bound) and directly align with reaching and influencing these defined audience segments.
  4. Proceed to Step 2: Influencer Profile Development: With a clear understanding of your audience, you are now equipped to define the ideal influencer profiles that can effectively reach and engage them. This will include criteria for follower count, niche, content style, engagement rates, and brand alignment.
gemini Output

Influencer Campaign Planner: Comprehensive Strategy & Execution Framework

Unleash Your Brand's Potential Through Strategic Influencer Partnerships

Welcome to your detailed Influencer Campaign Planner! This comprehensive guide provides a robust framework for conceptualizing, executing, and measuring a highly effective influencer marketing campaign. From identifying the perfect partners to tracking your return on investment, this plan is designed to empower your brand with authentic reach and measurable results.


1. Campaign Overview & Strategic Objectives

Every successful campaign begins with clear goals. Defining your objectives precisely will guide every subsequent decision and allow for accurate measurement of success.

Headline: Charting Your Course: Defining Campaign Goals & KPIs

Body Text: Before diving into the specifics, let's align on what success looks like for your brand. Influencer marketing can achieve a multitude of objectives, from broad brand awareness to direct sales. By establishing SMART (Specific, Measurable, Achievable, Relevant, Time-bound) goals, we set a clear path for your campaign.

Key Objectives & Corresponding KPIs:

  • Objective 1: Increase Brand Awareness

* KPIs: Reach (total followers of influencers + shares), Impressions, Mentions, Engagement Rate (likes, comments, shares per post), Brand Sentiment (qualitative analysis of comments).

* Target: Achieve X million impressions and X% increase in social mentions over a 3-month period.

  • Objective 2: Drive Product/Service Consideration

* KPIs: Website Traffic (referral links from influencers), Time Spent on Page, New User Acquisition, Search Volume for Brand/Product Keywords.

* Target: Increase website traffic from influencer campaigns by X% and achieve X new sign-ups/leads.

  • Objective 3: Boost Sales & Conversions

* KPIs: Conversion Rate (from influencer-specific links/codes), Revenue Generated (direct sales attributable to campaign), Average Order Value (AOV) for influencer-referred customers, ROI.

* Target: Generate $X in direct sales and achieve a Y% conversion rate from influencer traffic.

  • Objective 4: Enhance Brand Credibility & Trust

* KPIs: Positive Sentiment (comments, reviews), User-Generated Content (UGC) mentions, Follower Growth on Brand Channels, Brand Mentions in Earned Media.

* Target: Increase positive brand mentions by X% and generate Y pieces of high-quality UGC.


2. Target Audience & Influencer Persona

Understanding who you want to reach is paramount. This informs the type of influencers you'll seek, ensuring their audience aligns perfectly with yours.

Headline: Connecting with Your Core: Defining Your Audience & Ideal Influencer

Body Text: Your target audience isn't just a demographic; it's a community with specific interests, pain points, and platforms. By deeply understanding them, we can identify influencers who genuinely resonate with them and act as trusted voices.

Target Audience Profile:

  • Demographics: Age range, gender, location, income level, education.
  • Psychographics: Interests, hobbies, values, lifestyle, purchasing habits.
  • Online Behavior: Preferred social media platforms, content consumption habits, trusted sources of information.
  • Pain Points/Needs: What problems does your product/service solve for them? What are their aspirations?

Ideal Influencer Profile:

Based on your target audience, here are the characteristics of your ideal influencer partners:

  • Niche Alignment: Do they genuinely operate within a niche relevant to your brand (e.g., sustainable living, tech gadgets, beauty, fitness)?
  • Audience Demographics & Psychographics Match: Does their audience largely mirror your target audience profile? (Request audience insights/media kits).
  • Authenticity & Trust: Do they have a genuine connection with their audience? Are their recommendations perceived as trustworthy and not overly commercial?
  • Engagement Rate: High engagement (comments, shares, saves) relative to follower count is often more valuable than sheer follower numbers.
  • Content Quality & Aesthetic: Does their content style align with your brand's image and messaging? Is it high-quality, professional, and visually appealing?
  • Brand Safety & Values: Do their personal brand and past collaborations align with your brand's values? Avoid influencers with controversial histories.
  • Platform Preference: Are they strong on the platforms where your target audience spends the most time (Instagram, TikTok, YouTube, Pinterest, Blogs, etc.)?
  • Follower Tier Consideration:

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

* Micro-influencers (10k-100k followers): Strong engagement, specific niches, good balance of reach and authenticity.

* Mid-tier influencers (100k-500k followers): Broader reach than micro, still good engagement, more established.

* Macro-influencers (500k-1M followers): Significant reach, often celebrities in their niche, good for broad awareness.

* Mega-influencers (1M+ followers): Celebrity status, massive reach, high cost, often lower engagement rates.


3. Campaign Concept & Content Themes

This is where your campaign comes to life. A compelling concept ensures consistency and memorability across all influencer activations.

Headline: Crafting Your Story: Campaign Concept & Creative Direction

Body Text: Your campaign needs a central theme or narrative that influencers can authentically integrate into their content. This theme should resonate with your brand message while allowing influencers creative freedom.

Proposed Campaign Concept:

  • [Campaign Name]: "Unlock Your [Benefit/Feeling]" or "[Product] for Every [Lifestyle/Moment]"
  • Core Message: [Brief, memorable sentence encapsulating the campaign's essence, e.g., "Experience effortless wellness with our plant-powered solutions."]
  • Call to Action (CTA): [Primary action you want the audience to take, e.g., "Shop now with code [INFLUENCERNAME] for 15% off!", "Click the link in bio to learn more!", "Share your [product] moment using #YourBrandTag"]

Content Themes & Angles:

Provide influencers with creative prompts and themes, not rigid scripts. This fosters authenticity.

  • Theme 1: "The Everyday Essential"

* Angle: How your product seamlessly integrates into their daily routine, solving a common problem or enhancing an experience. (e.g., morning routine, workday hack, post-workout recovery).

  • Theme 2: "Transformation Story"

* Angle: Showcasing a before-and-after or a journey where your product played a key role. (e.g., skincare journey, fitness progress, home decor transformation).

  • Theme 3: "Behind the Scenes/How It's Made"

* Angle: Highlighting unique features, ingredients, or the brand's values in an authentic, engaging way. (e.g., sustainable sourcing, innovative technology).

  • Theme 4: "Lifestyle Integration"

* Angle: Positioning your product as part of an aspirational lifestyle or specific event. (e.g., travel companion, party essential, cozy night in).

Mandatory Hashtags:

  • #YourBrandName
  • #YourCampaignSlogan (if applicable)
  • #Ad or #Sponsored (mandatory for disclosure)
  • #Partner (optional, for transparency)

4. Influencer Outreach Strategy & Templates

A professional and personalized outreach approach is crucial for securing top talent.

Headline: Building Bridges: Your Influencer Outreach Playbook

Body Text: First impressions matter. Our outreach strategy focuses on personalization, clear value propositions, and respect for the influencer's time and creative process.

Outreach Strategy:

  1. Initial Research & Vetting: Compile a list of potential influencers, thoroughly reviewing their content, audience insights, engagement, and past brand collaborations.
  2. Personalized Approach: Avoid generic templates. Reference specific content they've created, explain why you think they'd be a great fit, and how their audience aligns.
  3. Clear Value Proposition: Clearly articulate what's in it for them (monetary compensation, free product, exposure, long-term partnership potential).
  4. Be Transparent: Mention disclosure requirements upfront.
  5. Follow-Up: A polite follow-up if no response after 5-7 business days.

Outreach Email Template (Initial Contact):

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

Dear [Influencer 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] for a while now, and I'm consistently impressed by your [specific compliment, e.g., "authentic storytelling around sustainable living" or "creative approach to tech reviews"].

Specifically, your recent post about [mention a specific piece of their content] truly resonated with our brand's mission to [briefly state your brand's mission/value proposition].

At [Your Brand Name], we create [briefly describe your product/service and its key benefit, e.g., "eco-friendly home goods designed to simplify sustainable living"]. We believe your audience of [mention a characteristic of their audience, e.g., "conscious consumers seeking practical solutions"] would genuinely appreciate and benefit from what we offer.

We're currently planning an exciting campaign focused on [briefly mention campaign theme/goal, e.g., "making sustainable choices accessible"] and we immediately thought of you as an ideal partner. We envision a collaboration that allows you to authentically share [Your Product/Service] with your followers in a way that aligns with your unique content style.

Would you be open to a brief chat next week to discuss this potential partnership further? I can share more details about our campaign vision, deliverables, and compensation.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Your Social Media Link]

Follow-Up Email Template:

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

Dear [Influencer Name],

Hope this email finds you well.

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

We're truly excited about the possibility of working together, given your authentic voice and engaged community. I've attached a brief deck outlining our brand and campaign vision for your easy reference.

If this is something that interests you, please let me know your availability for a quick 15-minute call.

Thanks again,

[Your Name]


5. Content Guidelines & Deliverables

Clear guidelines ensure brand consistency while empowering influencers' creativity.

Headline: Creative Freedom, Brand Alignment: Content Guidelines & Deliverables

Body Text: We value the unique voice and creative talent of our influencers. These guidelines provide a framework to ensure your content aligns with our brand message while allowing you the freedom to create authentic, engaging stories.

General Content Guidelines:

  • Authenticity is Key: We encourage genuine reactions and honest opinions. Your audience trusts you, and we want to uphold that trust.
  • Brand Voice & Tone: Reflect our brand's [e.g., "optimistic, empowering, informative"] tone where appropriate, but maintain your own authentic voice.
  • High-Quality Production: Content should be well-lit, clear, and professionally presented (whether photo or video).
  • Compliance: All content must comply with FTC guidelines (or equivalent local regulations) regarding sponsored posts. Use #Ad, #Sponsored, or platform-specific disclosure tools.
  • No Negative Brand Associations: Avoid pairing our product with controversial topics, harmful activities, or competing brands.
  • Review Process: All content drafts (or outlines for videos) must be submitted for approval [X days] prior to posting. We aim for quick feedback.

Specific Deliverables (Example Set):

  • Platform: Instagram

* Deliverable 1: 1x In-Feed Photo Post or Carousel (static image/video under 60 sec)

* Requirements: Product prominently featured, authentic caption (min 50 words) sharing personal experience, 3-5 relevant hashtags (including mandatory ones), tag @YourBrandHandle.

* CTA: Clear call to action (e.g., "Link in bio to shop," "Use code [INFLUENCERNAME]").

* Deliverable 2: 3x Instagram Stories

* Requirements: Mix of talking-head, product demonstration, or lifestyle shots. Use interactive stickers (poll, quiz, question box) to drive engagement. Swipe-up link to specific product page.

* CTA: "Swipe up to shop," "Tap here to learn more."

  • Platform: TikTok

* Deliverable 1: 1x TikTok Video (15-60 seconds)

* Requirements: Engaging hook, showcase product in action, utilize trending audio/style if appropriate, text overlays for key messages, clear CTA in caption and/or video.

* CTA: "Shop link in bio," "Get yours now!"

  • Platform: YouTube

* Deliverable 1: 1x Dedicated Video or Integrated Mention (min [X] minutes for dedicated, min [Y] seconds for integrated)

* Requirements: Product demonstration, unboxing, review, or integration into a relevant vlog. Verbal mention of brand and product benefits, link to product in description box, verbal CTA.

* CTA: "Check out [Product] via the link in my description box below!"


6. Contract Key Terms & Legal Considerations

A clear contract protects both parties and ensures a smooth collaboration.

Headline: Solid Foundations: Essential Contract Terms for Influencer Partnerships

Body Text: A well-defined agreement is critical for a successful partnership. Here are the key terms that will be included in our influencer contracts to ensure clarity, protect both parties, and establish expectations.

Key Contract Terms:

  • Scope of Work & Deliverables: Detailed list of all content pieces, platforms, and specific requirements (e.g., number of stories, video length, inclusion of specific talking points).
  • Compensation: Clear breakdown of payment (fixed fee, commission, product gifting, combination), payment schedule (e.g., 50% upfront, 50% upon completion), and method.
  • Content Rights & Usage:

* License: Granting the brand a non-exclusive, perpetual, worldwide license to use, reproduce, distribute, and display the created content for marketing purposes (e.g., reposting on brand channels, website, paid ads).

* Usage Term: Specify the duration for which the brand can use the content (e.g., 1 year, perpetual).

* Exclusivity: If applicable, state any exclusivity clauses (e.g., influencer cannot promote a direct competitor for X days/months).

  • Disclosure Requirements: Explicitly state the need for clear and conspicuous disclosure (e.g., #Ad, #Sponsored) in compliance with FTC guidelines or local regulations.
  • Content Review & Approval: Outline the content submission and approval process, including timelines for drafts and final posts.
  • Timelines: Specific deadlines for content submission, posting dates, and any campaign milestones.
  • Termination Clause: Conditions under which either party can terminate the agreement (e.g., breach of contract, failure to deliver).
  • Representations & Warranties: Influencer guarantees they own the rights to the content, it's original, and doesn't infringe on third-party rights.
  • Indemnification: Protection for the brand against any claims arising from the influencer's content (e.g., copyright infringement, false claims).
  • Governing Law: The jurisdiction whose laws will govern the contract.

7. ROI Tracking & Measurement Framework

Measuring success is crucial for optimizing future campaigns and proving value.

Headline: Proving Impact: Your ROI Tracking & Measurement Framework

Body Text: Understanding the return on your influencer marketing investment is paramount. Our robust tracking framework will capture key data points, allowing us to attribute results directly to your campaign and optimize for future success.

Measurement Tools & Strategy:

  1. Unique Tracking Links (UTMs):

* Implementation: Generate unique UTM parameters for all links provided to influencers (e.g., utm_source=instagram&utm_medium=influencer_[influencername]&utm_campaign=[campaignname]).

* Tracking: Monitor website traffic, conversions,

gemini Output

Influencer Campaign Planner: Optimized & Finalized Strategy

This document outlines a comprehensive and actionable strategy for planning, executing, and measuring your influencer marketing campaign. It integrates best practices across influencer identification, outreach, contractual agreements, content creation, and performance tracking to maximize your campaign's return on investment (ROI).


1. Influencer Campaign Overview & Objectives

Campaign Goal: To [State your primary campaign goal, e.g., increase brand awareness, drive product sales, generate leads, boost website traffic, improve brand sentiment] for [Your Product/Service/Brand] among [Your Target Audience].

Target Audience: [Describe your ideal customer demographic, psychographics, interests, and online behavior].

Key Message/Value Proposition: [What core message do you want influencers to convey? What problem does your product solve, or what unique value does it offer?].


2. Ideal Influencer Profiles

Identifying the right influencers is crucial for campaign success. Our ideal influencer profiles are characterized by:

  • Audience Alignment:

* Demographics: Their followers closely match our target audience (age, gender, location, income).

* Psychographics: Their audience shares interests, values, and behaviors relevant to our brand.

  • Niche & Content Focus:

* They operate within [Specify relevant niches, e.g., beauty, tech reviews, sustainable living, gaming, fitness, parenting] and consistently produce high-quality content in these areas.

* Their content style is authentic, engaging, and aligns with our brand's aesthetic and values.

  • Engagement Rate:

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

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

* Mid-tier influencers (100k-500k followers): 2-5%

* Macro-influencers (500k-1M followers): 1-3%

Note: Engagement rate is calculated as (Likes + Comments + Shares) / Followers. Higher rates indicate a more active and loyal audience.*

  • Brand Fit & Authenticity:

* Their personal brand, values, and past collaborations resonate positively with our brand identity.

* They demonstrate genuine passion for their content and audience, fostering trust.

  • Content Quality & Production Value:

* High-resolution images, clear audio/video, compelling storytelling, and a consistent aesthetic.

* Ability to integrate brand messaging naturally and creatively.

  • Platform Preference:

* Primary platforms for outreach and collaboration will be [e.g., Instagram (Feed, Stories, Reels), TikTok, YouTube, Blogs, X (formerly Twitter), Facebook].

* Preference for influencers active on platforms where our target audience is most engaged.

  • Past Collaboration History:

* Positive track record with other brands, demonstrating professionalism and reliability.

* Avoidance of overly saturated sponsored content that may dilute authenticity.


3. Influencer Outreach Strategy & Templates

Our outreach strategy focuses on personalization, value proposition, and clarity to maximize positive responses.

Outreach Strategy:

  1. Research & Personalization: Thoroughly review the influencer's content, style, and past work before contact. Tailor each message to show genuine interest and understanding of their unique brand.
  2. Clear Value Proposition: Clearly articulate what makes this collaboration beneficial for them (e.g., alignment with their content, unique product, creative freedom, fair compensation).
  3. Concise & Professional: Get straight to the point while maintaining a respectful and professional tone.
  4. Defined Next Steps: Clearly state the desired next action (e.g., schedule a call, receive a media kit, review a detailed brief).

Outreach Templates:

Template 1: Initial Outreach Email

Subject: Collaboration Opportunity: Partnering with [Your Brand Name] & [Influencer's Name/Channel]

Dear [Influencer's Name/Team],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I've been following your work on [Platform, e.g., Instagram, YouTube] for a while now, and I'm particularly impressed by your [Specific piece of content, e.g., "recent review of eco-friendly products," "engaging travel vlogs," "authentic beauty tutorials"]. Your ability to [Specific skill, e.g., "connect deeply with your audience," "create visually stunning content," "simplify complex topics"] truly stands out.

At [Your Brand Name], we're passionate about [Your Brand's Mission/Value, e.g., "sustainable living," "innovative tech solutions," "empowering creative expression"]. We're currently planning an exciting campaign for our [Product/Service Name], which is [Briefly describe product/service and its unique benefit].

Given your expertise in [Influencer's Niche] and your audience's clear interest in [Relevant topic to their audience], we believe there's a fantastic synergy between our brands. We envision a collaboration where you could [Suggest a specific content idea, e.g., "create an authentic review," "showcase how you integrate our product into your daily routine," "develop a creative tutorial"].

Would you be open to a brief chat to discuss this opportunity further and see if it aligns with your content strategy? Please let me know your availability for a quick 15-minute call, or if you prefer, I can send over a detailed brief.

Thank you for your time and consideration.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Your Social Media Link (Optional)]


Template 2: Follow-Up Email

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

Dear [Influencer's Name/Team],

Hope this email finds you well.

I'm following up on my previous email regarding a potential collaboration between [Your Brand Name] and [Influencer's Name/Channel]. I understand you have a busy schedule, but I truly believe this partnership could be a great fit for your audience, especially given your focus on [Reiterate their niche/content style].

We're excited about the possibility of [Reiterate a key benefit for them, e.g., "introducing your followers to a product they'll genuinely love," "offering creative freedom"].

If you're interested, please let me know a convenient time for a quick call, or if you'd prefer to receive a more detailed campaign brief, I'd be happy to send it over.

Thank you again for your time.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]


4. Influencer Contract Terms (Key Clauses)

A robust contract protects both parties and ensures clear expectations. Key terms to include:

  • Scope of Work (SOW):

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

* Platforms: Where content will be published.

* Posting Schedule: Agreed-upon dates for content submission and publication.

* Key Messages: Mandatory points or CTAs to be included.

  • Compensation:

* Payment Structure: Fixed fee, product only, commission/affiliate, performance-based bonus.

* Payment Amount: Clearly stated fee for deliverables.

* Payment Terms: Net 30/60, upfront percentage, upon completion.

* Product Provision: Details on product value, shipping, and if it's considered part of compensation.

  • Content Rights & Usage:

* Ownership: Who owns the original content (typically the influencer).

* License to Brand: Granting the brand a non-exclusive, perpetual, worldwide license to use, reproduce, distribute, display, and create derivative works from the content for specified purposes (e.g., brand's social media, website, ads).

* Usage Duration: How long the brand can use the content (e.g., 1 year, perpetual).

* Paid Media Usage: If the brand intends to use content in paid advertisements, this must be explicitly stated and may incur additional fees.

  • Disclosure Requirements:

* Legal Compliance: Mandatory adherence to FTC (USA), ASA (UK), or local advertising guidelines (e.g., #Ad, #Sponsored, #BrandPartner, clear verbal disclosure in videos).

* Placement: How and where disclosures must appear (e.g., top of caption, first few seconds of video).

  • Exclusivity:

* Competitor Clause: Prohibition from promoting direct competitors for a specified period (e.g., 30-90 days before and after campaign).

* Brand Exclusivity: Prohibition from promoting other brands in the same category during the campaign period.

  • Approvals & Revisions:

* Brand Approval: Brand's right to review content drafts before publication.

* Revision Rounds: Number of allowed revisions (e.g., 1-2 rounds).

* Approval Timeline: Deadlines for brand feedback.

  • Performance Metrics & Reporting:

* Required Data: Agreement on sharing analytics (e.g., screenshots of reach, impressions, engagement, clicks, sales).

* Reporting Frequency: When data should be provided.

  • Termination Clause:

* Conditions under which either party can terminate the agreement (e.g., material breach, failure to deliver, non-payment).

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

  • Confidentiality: Non-disclosure of campaign details, proprietary information, and compensation terms.
  • Indemnification: Protection for both parties against claims arising from the content or actions.
  • Governing Law: Jurisdiction for dispute resolution.

5. Content Guidelines & Brand Safety

Ensuring content aligns with brand values and legal requirements is paramount.

  • Brand Messaging & Key Themes:

* Core Message: [e.g., "Our product simplifies your routine," "Experience unparalleled comfort," "Make a positive impact."]

* Key Selling Points: [List 2-3 unique features or benefits to highlight.]

* Call to Action (CTA): [e.g., "Shop now at [link]," "Learn more on our website," "Use code [DISCOUNT_CODE] for X% off."]

  • Tone of Voice:

* Consistent with our brand personality (e.g., informative, playful, inspiring, authoritative, authentic, empathetic).

* Avoid [e.g., overly promotional language, jargon, negativity].

  • Visual Style Guide:

* Aesthetics: [e.g., Bright & airy, minimalist, vibrant, natural, high-energy.]

* Color Palette: [If applicable, specify preferred colors or tones.]

* Product Placement: How the product should be featured (e.g., naturally integrated, clearly visible, in use).

* Logo Usage: If and how our logo should appear (e.g., on packaging, subtle placement).

  • Mandatory Elements:

* Hashtags: [e.g., #YourBrandName, #YourProduct, #CampaignSlogan, #Ad, #Sponsored]

* Mentions/Tags: @[YourBrandHandle] on all relevant platforms.

* Links: Specific UTM-tracked links for website traffic.

  • Prohibited Content:

* Negative Mentions: No disparagement of competitors or other brands.

* Illegal/Harmful Content: No promotion of illegal activities, hate speech, discrimination, or violence.

* Sensitive Topics: Avoid controversial political, religious, or overly sexual content unless explicitly agreed upon and aligned with brand values.

* Misinformation: All claims about the product must be accurate and truthful.

  • Review Process:

* Submission Deadline: Influencers must submit content drafts by [X days] before the planned publication date.

* Feedback Rounds: Brand will provide feedback within [X hours/days].

* Final Approval: Content must receive final brand approval before going live.

  • Disclosure Reinforcement: Reiterate the importance of clear and consistent disclosure in line with legal requirements across all content types (e.g., verbal disclosure in videos, visible text on stories, #ad in captions).

###

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
"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

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

"+slugTitle(pn)+"

Built with PantheraHive BOS

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

"+title+"

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

$1

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

$1

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

$1

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

"); h+="

"+hc+"

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