CoolFace
Apppublic

JeCabrera/Perfect_Webinar_FrameWork

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
generator.py331 linesDownload Raw Back to bonuses
1def create_bonus_instruction(product_service=None, selected_formula_name=None, target_audience=None, uploaded_content=None, skills=None):2    """3    Creates instructions for generating compelling bonuses that complement the main offer.4    5    Args:6        product_service: Kind of product or service7        selected_formula_name: Name of the formula used for the main offer8        target_audience: Description of the target audience9        uploaded_content: Content from uploaded files (if any)10        skills: User's skills and expertise11        12    Returns:13        str: Complete instruction for generating bonuses14    """15    # Check if any information is provided16    if not product_service and not selected_formula_name and not target_audience and not uploaded_content and not skills:17        return """18        ADVERTENCIA: No se ha proporcionado ninguna información para generar bonos.19        20        Para crear bonos efectivos y relevantes, por favor proporciona al menos uno de los siguientes:21        - Descripción del público objetivo22        - Nombre del producto o servicio23        - Fórmula seleccionada para la oferta principal24        - Contenido adicional relevante25        - Habilidades y experiencia26        27        Sin esta información, los bonos generados serán genéricos y posiblemente menos efectivos para tu oferta específica.28        """29    30    # Base instruction for bonus generation31    base_instruction = """32 33BONUS CREATION SECTION:34 35You are now tasked with creating compelling bonuses that complement the main offer and overcome purchase objections.36 37IMPORTANT: After presenting the main offer and the benefit bullets section, add a section with EXACTLY 5 powerful bonuses that enhance the value proposition.38 39Start the bonuses section with an introduction like:40"Además, al aprovechar esta oferta también recibirás estos bonos exclusivos:" or "Y eso no es todo, también disfrutarás de estos valiosos recursos adicionales:" or "Como parte de esta oferta especial, obtendrás estos bonos de alto valor:"41 42For the bonus creation section:43 44You are a world-class expert in creating irresistible bonus packages that increase perceived value and overcome objections.45 46OBJECTIVE:47- Generate EXACTLY 5 compelling and specific bonuses in Spanish48- Each bonus must address a specific objection or accelerate results49- Connect emotionally with the target audience's needs50- Provide tools/templates that reduce effort and time51- Include clear monetary value statements52- Add elements of scarcity or urgency53- CRITICAL: At least ONE bonus MUST be a fast-action bonus (limited quantity or time-limited)54"""55 56    # Add guidance based on available information57    guidance = ""58    59    # Check different combinations of available information60    if not target_audience and not product_service and uploaded_content:61        # Only uploaded content provided62        guidance = """63NOTA IMPORTANTE: Solo se ha proporcionado contenido adicional sin detalles específicos del público objetivo o producto.64Analiza cuidadosamente el contenido subido para:65- Identificar el público objetivo probable a partir del contexto66- Determinar el producto/servicio que probablemente se está ofreciendo67- Extraer puntos de dolor, objeciones y necesidades mencionadas en el contenido68- Crear bonos que complementen la oferta principal inferida del contenido69"""70    elif target_audience and not product_service and not uploaded_content:71        # Only target audience provided72        guidance = """73NOTA IMPORTANTE: Solo se ha proporcionado información del público objetivo, sin detalles del producto ni contenido adicional.74Enfócate en crear bonos que aborden:75- Puntos de dolor específicos mencionados en la descripción del público objetivo76- Objeciones comunes que este público suele tener77- Recursos que ayudarían a este público específico a implementar cualquier solución78"""79    elif product_service and not target_audience and not uploaded_content:80        # Only product name provided81        guidance = """82NOTA IMPORTANTE: Solo se ha proporcionado información del producto, sin detalles del público objetivo ni contenido adicional.83Enfócate en crear bonos que:84- Mejoren el valor del producto específico mencionado85- Aborden objeciones comunes relacionadas con este tipo de producto86- Proporcionen apoyo de implementación para este producto específico87"""88    elif target_audience and product_service and not uploaded_content:89        # Target audience and product provided, no uploaded content90        guidance = """91NOTA IMPORTANTE: Se ha proporcionado información tanto del público objetivo como del producto, pero no hay contenido adicional.92Crea bonos altamente dirigidos que:93- Conecten los beneficios específicos del producto con las necesidades del público objetivo94- Aborden las objeciones más probables que este público tendría sobre este producto95- Proporcionen apoyo de implementación adaptado a esta combinación de público y producto96"""97    elif target_audience and uploaded_content and not product_service:98        # Target audience and uploaded content provided, no product99        guidance = """100NOTA IMPORTANTE: Se ha proporcionado información del público objetivo y contenido adicional, pero no hay detalles específicos del producto.101Analiza ambas fuentes para:102- Inferir el producto/servicio probable del contexto103- Identificar puntos de dolor específicos mencionados tanto en la descripción del público objetivo como en el contenido subido104- Crear bonos que aborden las necesidades y objeciones más prominentes105"""106    elif product_service and uploaded_content and not target_audience:107        # Product and uploaded content provided, no target audience108        guidance = """109NOTA IMPORTANTE: Se ha proporcionado información del producto y contenido adicional, pero no hay detalles del público objetivo.110Analiza ambas fuentes para:111- Inferir el público objetivo probable del contexto112- Identificar cómo el producto aborda las necesidades mencionadas en el contenido subido113- Crear bonos que mejoren el valor del producto para el público probable114"""115    116    # Add information about available inputs117    input_information = f"""118AVAILABLE INFORMATION FOR ANALYSIS:119 1201. TARGET AUDIENCE DESCRIPTION:121{target_audience if target_audience else "No specific target audience provided."}122 1232. PRODUCT/SERVICE NAME:124{product_service if product_service else "No specific product name provided."}125 1263. UPLOADED CONTENT:127{uploaded_content if uploaded_content else "No additional content uploaded."}128 1294. SKILLS AND EXPERTISE:130{skills if skills else "No specific skills provided."}131 132{guidance}133 134IMPORTANT: Analyze ALL available information above to identify specific pain points, objections, and needs that can be addressed through bonuses.135"""136    137    # Detailed instructions for creating effective bonuses with the new structure138    bonus_instructions = """139SPECIFIC INSTRUCTIONS FOR CREATING BONUSES:140 141STEP 1: DEFINE THE AVATAR WITH PRECISION142- Identify who they are specifically (demographics, psychographics, role, status)143- Determine the exact problem holding them back right now144- Understand how this problem impacts their business or personal life145- Clarify what stage they're at in solving this problem146- Define their level of awareness about potential solutions147- EXTRACT SPECIFIC DETAILS from the target audience description AND uploaded content148 149STEP 2: IDENTIFY THEIR REAL PAINS AND FRUSTRATIONS150- What frustrates them on a daily basis related to this problem?151- What negative thoughts or limiting beliefs are holding them back?152- What have they tried before that hasn't worked?153- What specific obstacles prevent them from moving forward?154- What fears do they have about potential solutions?155- What keeps them awake at night regarding this problem?156 157STEP 3: CONNECT WITH THE EMOTIONS BEHIND THE PROBLEM158- How do they feel when facing this problem? (embarrassed, overwhelmed, frustrated)159- What impact does this have on their confidence and self-esteem?160- What emotional triggers might prevent them from taking action?161- How does this problem affect their identity and self-image?162- What emotional relief are they seeking?163 164STEP 4: SHOW THE REAL-LIFE IMPACT OF THE PROBLEM165- How specifically does it affect their business, relationships, or finances?166- What consequences are they suffering by not resolving it?167- What opportunities are they missing out on?168- What is the cost of inaction (financial, emotional, time)?169- How does this problem affect others around them?170 171STEP 5: DEFINE THEIR DEEPEST DESIRE172- What do they truly want to achieve beyond the surface-level goal?173- How would their life look without this problem?174- What transformation are they really seeking?175- What status or identity change do they desire?176- What would success mean to them personally?177 178STEP 6: ILLUSTRATE THEIR DESIRE IN DAILY LIFE179- How would they feel after achieving their goal?180- What visible changes would they experience day-to-day?181- How would others perceive them differently?182- What new opportunities would open up for them?183- What specific improvements would they see in their business or life?184 185STEP 7: POSITION YOUR SOLUTION AS THE BRIDGE TO TRANSFORMATION186- How does your method/product eliminate their problem?187- What unique approach does your solution offer?188- How does it connect to their deepest desires?189- What timeline can they expect for results?190- Why is your approach better than alternatives they've tried?191 192STEP 8: CREATE IRRESISTIBLE BONUSES THAT ELIMINATE BARRIERS193For each problem or objection identified in previous steps:194- Design a bonus that directly addresses a specific objection195- Ensure each bonus provides additional value beyond the main offer196- Give each bonus an attractive, specific name that promises a clear outcome197- Focus on tools, templates, checklists rather than additional training198- Ensure each solution provides quick wins and immediate value199"""200 201    # Rest of the instructions remain the same202    # Modify the formatting requirements section for bonus introductions203    remaining_instructions = """204STEP 9: STRUCTURE EACH BONUS FOLLOWING THIS FRAMEWORK205 206FORMAT RULES (CRITICAL - MUST FOLLOW EXACTLY):207- Start the section with one of these creative introductions in bold and a space before the first bonus:208  "**Tu inversión hoy incluye estos recursos VIP:**" or209  "**Potenciadores de resultados incluidos:**" or210  "**Aceleradores de éxito que recibirás:**" or211  "**Herramientas premium que desbloquearás:**" or212  "**Recursos estratégicos de acceso inmediato:**" or213  "**Tu arsenal de éxito también incluye:**"214 215- Format each bonus title as: "• **BONO #1: [Nombre Atractivo]**" (bullet point, then bold text)216- Each bonus description should be on the same line as its title217- Include a value statement at the end of each bonus description as "**Valor: $X**" in bold218- Add exactly one empty line between each bonus219- Maintain consistent formatting across all bonuses220- Use natural, conversational language (avoid formal or technical jargon)221- Never use exclamation marks (!) in bonus titles222 223CRITICAL BONUS CREATION GUIDELINES:224 2251. COMPLEMENTARY VALUE:226   - Each bonus must complement (not compete with) the main offer: {product_service}227   - Tools and checklists are BETTER than additional training (less effort/time = higher perceived value)228   - The combined perceived value of all bonuses should EXCEED the value of the main offer229 2302. OBJECTION HANDLING:231   - Each bonus must address a specific concern or obstacle in the prospect's mind232   - Demonstrate why their limiting beliefs about success are incorrect233   - Solve their "next problem" before they encounter it234   - Show how the bonus removes friction from implementing the main offer235 2363. PSYCHOLOGICAL TRIGGERS:237   - Create a value discrepancy between price and total package worth238   - Communicate subconsciously that the main offer must be extremely valuable239   - Add scarcity and urgency elements to each bonus to maximize impact240   - Focus on immediate implementation and quick wins241   2424. BONUS TYPES TO PRIORITIZE:243   - Tools that simplify implementation of the main offer244   - Templates that save time and ensure success245   - Checklists that prevent mistakes and ensure completion246   - Quick-start guides that accelerate initial results247   - Swipe files or examples that can be immediately used248   - Limited access to exclusive resources or communities249   - Personal feedback or review opportunities250 2515. SCARCITY AND URGENCY EXAMPLES:252   a) Scarcity-based bonuses:253      - "Solo las personas que se inscriban en este programa tendrán acceso a estos bonos que nunca están a la venta en otro lugar."254      - "Solo quedan 5 cupos para mi sesión estratégica valorada en $500, si compras hoy, puedes obtener uno de los últimos lugares como bono."255   256   b) Urgency-based bonuses:257      - "Si compras hoy, agregaré el bono XYZ que normalmente cuesta $1,000, completamente gratis. Lo hago porque quiero premiar a quienes toman acción inmediata."258      - "Este bono estará disponible solo durante las próximas 48 horas, después de ese tiempo será retirado permanentemente."259 2606. FAST-ACTION BONUS STRATEGIES (MANDATORY - INCLUDE AT LEAST ONE):261   a) Limited quantity bonuses:262      - "**BONO DE ACCIÓN RÁPIDA: Solo para los primeros 5 compradores**" 263      - "Las primeras 5 personas que se inscriban hoy recibirán [nombre del bono] valorado en $X"264      - "Solo tenemos 5 cupos disponibles para la sesión estratégica personalizada"265   266   b) Time-limited bonuses:267      - "**BONO ESPECIAL: Disponible solo hasta la medianoche de hoy**"268      - "Si te inscribes antes de la medianoche, también recibirás [nombre del bono]"269      - "Este bono exclusivo desaparecerá cuando el reloj marque las 12:00 de la noche"270 271   c) Combination strategies:272      - "Los primeros 5 compradores que se inscriban antes de la medianoche recibirán [bono exclusivo]"273      - "Solo por hoy: Las próximas 5 personas que tomen acción recibirán [bono adicional]"274 275FORMATTING REQUIREMENTS:276- Start with a brief introduction about the additional value (max 2 sentences)277- Format each bonus as: "**BONO #1: [Nombre Atractivo]**" in bold278- Follow with 2-4 sentences describing the bonus and its specific benefit279- Include a value statement for each bonus in bold: "**Valor: $X**"280- Add an urgency or scarcity element for each bonus281- End with a total value statement for all bonuses combined in bold: "**Valor total de bonos: $X**"282- MANDATORY: Include at least one fast-action bonus with clear scarcity (limited quantity) or urgency (time limit)283- MANDATORY: Create EXACTLY 5 bonuses - no more, no less284 285VALIDATION CHECKLIST (ENSURE ALL THESE ARE MET):286- ✓ Exactly 5 bonuses created287- ✓ At least one bonus is a fast-action bonus (time or quantity limited)288- ✓ Each bonus has a clear monetary value289- ✓ Total value of all bonuses is stated at the end290- ✓ Each bonus addresses a specific objection or accelerates results291- ✓ Formatting follows the exact requirements specified above292"""293 294    # Add formula-specific bonus guidance295    formula_specific_guidance = ""296    if selected_formula_name:297        if selected_formula_name == "Oferta Dorada":298            formula_specific_guidance = """299FORMULA-SPECIFIC BONUS GUIDANCE (OFERTA DORADA):300- Create bonuses that enhance the perceived value of the headline promise301- Include at least one bonus that provides proof or validation of the main promise302- Add a bonus that addresses the most common objection for this type of offer303- Consider a bonus that accelerates the timeline mentioned in the subtitle304- Ensure bonuses maintain the same tone and sophistication level as the main offer305"""306        elif selected_formula_name == "Contraste Revelador":307            formula_specific_guidance = """308FORMULA-SPECIFIC BONUS GUIDANCE (CONTRASTE REVELADOR):309- Create bonuses that bridge the gap between the current situation and desired outcome310- Include at least one bonus that makes the solution easier to implement311- Add a bonus that addresses potential fears about the transformation process312- Consider a bonus that provides additional proof of the promised results313- Ensure bonuses reinforce the emotional contrast between problem and solution314"""315        elif selected_formula_name == "Propuesta Única de Valor":316            formula_specific_guidance = """317FORMULA-SPECIFIC BONUS GUIDANCE (PROPUESTA ÚNICA DE VALOR):318- Create bonuses that directly address the objections mentioned in the main offer319- Include at least one bonus that enhances the unique transformation promised320- Add a bonus that provides social proof or validation of the transformation321- Consider a bonus that helps overcome implementation challenges322- Ensure bonuses reinforce the unique mechanism or approach of the main offer323"""324        325        # Add the formula-specific guidance to the input information326        input_information += f"\n\n5. SELECTED FORMULA: {selected_formula_name}\n{formula_specific_guidance}"327 328    # Combine all instructions329    complete_instruction = base_instruction + input_information + bonus_instructions + remaining_instructions330    331    return complete_instruction