File size: 8,946 Bytes
1fcbfc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f46c20a
cd5baa2
aa5496e
5b9a3d9
aa5496e
5b9a3d9
aa5496e
5b9a3d9
aa5496e
5b9a3d9
 
8549473
5b9a3d9
 
 
 
8549473
5b9a3d9
aa5496e
fad5c52
0f10029
 
 
 
 
 
810e4bd
0f10029
 
 
 
 
 
 
 
e970207
5b9a3d9
aa5496e
0c9ec73
aa5496e
5b9a3d9
 
 
 
 
 
 
aa5496e
5b9a3d9
 
 
 
 
 
 
0c9ec73
 
 
5b9a3d9
 
 
 
 
0c9ec73
5b9a3d9
 
0c9ec73
5b9a3d9
0c9ec73
 
 
5b9a3d9
 
0c9ec73
5b9a3d9
0c9ec73
5b9a3d9
0c9ec73
 
 
5b9a3d9
aa5496e
 
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
5b9a3d9
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
920c80b
0c9ec73
5b9a3d9
0c9ec73
ac0edd3
0c9ec73
8401fea
aa5496e
f3a33b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f46c20a
e393388
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
import random

# Add this function at the beginning of the file
def create_offer_instruction(avatar_description, product_name, selected_formula_name):
    """
    Creates instructions for generating an offer based on the selected formula.
    
    Args:
        avatar_description: Description of the target audience
        product_name: Name of the product or service
        selected_formula_name: Name of the formula to use ("Fórmula Sueño-Obstáculo" or "Oferta Dorada")
        
    Returns:
        str: Complete instruction for generating the offer
    """
    # Get the selected formula
    selected_formula = offer_formulas[selected_formula_name]
    
    # Get random examples (1-3 examples)
    num_examples = min(3, len(selected_formula["examples"]))
    random_examples = random.sample(selected_formula["examples"], num_examples)
    
    # Format examples
    examples_text = "\n\n".join([f"Example {i+1}:\n{example}" for i, example in enumerate(random_examples)])
    
    # Create the instruction
    instruction = f"""
You are a world-class expert copywriter, experienced in creating compelling offers that connect emotionally with the target audience.

OBJECTIVE:
- Generate a convincing offer in Spanish using the {selected_formula_name}
- Connect emotionally with the audience: {avatar_description}
- Address real desires, problems, and motivations
- Maintain natural and conversational language

FORMULA TO USE:
{selected_formula["description"]}

EXAMPLES (Use these as inspiration but create something unique):
{examples_text}

PRODUCT/SERVICE:
{product_name}

TARGET AUDIENCE:
{avatar_description}

Create a compelling offer following the formula structure exactly.
"""
    
    return instruction

# The rest of your offer_formulas dictionary remains unchanged
offer_formulas = {
    "Oferta Dorada": {
        "description": """
Formula: [Attention Hook + QUANTIFIABLE PROMISE IN ALL CAPS + Benefit + Authority + Time or Effort]

This formula is designed to speak directly to the avatar, capturing their attention immediately, reflecting their current situation, and showing the transformation they desire.

### **How to apply it?**

#### 1 **Attention Hook**  
The first step is to capture the avatar's attention with a powerful hook that can be a shocking revelation, an unexpected question, or a dramatic fact. IMPORTANT: CUSTOMIZE THE HOOK BASED ON THE AVATAR AND THEIR SPECIFIC PROBLEMS. Don't use generic examples, but adapt them to the client's situation.

Analyze first:
- What is the avatar's biggest pain or frustration?
- What are they trying to achieve without success?
- What limiting beliefs do they have?

Then, randomly choose one of the following formats and CUSTOMIZE it for the specific avatar:

**Ejemplos:**  
"El 83% de los emprendedores pierden dinero en anuncios que nadie convierte."
"9 de cada 10 negocios online fracasan en sus primeros 6 meses por este error."
"Lo que nadie te dice sobre el marketing digital es que la mayoría fracasa en los primeros 3 meses."
"El secreto que las agencias de marketing no quieren que sepas sobre tu tráfico web."
"Ah, otro día más tirando dinero en anuncios que no convierten... ¡Qué divertido!"
"Felicidades, acabas de unirte al club de 'Invertí miles en mi web y nadie la visita'."
"¿Has pasado horas escribiendo emails y nadie los abre?"
"Tu lista de email está tan muerta que hasta los mensajes de spam tienen más aperturas."
"Tu página de ventas convierte tan poco que hasta tu mamá cerró la pestaña sin comprar."
"Mientras algunos facturan $10,000 al mes, tú sigues preguntándote por qué nadie compra."
"Tus competidores están cerrando ventas mientras tú sigues 'perfeccionando' tu oferta."
"La mayoría de cursos de marketing digital son una pérdida total de tiempo y dinero."
"Tu estrategia actual de contenido está ahuyentando a tus clientes ideales."
"Hace 6 meses estaba exactamente donde tú estás: creando contenido que nadie veía."
"Recuerdo cuando mi negocio estaba al borde del colapso por no tener un sistema de ventas."

The important thing is that it connects directly with the avatar's current reality and frustration, USING A VARIETY OF FORMATS AND CUSTOMIZING TO THE SPECIFIC AVATAR.

---

#### 2 **QUANTIFIABLE PROMISE IN ALL CAPS**  
This is the most important part. You must create a specific, quantifiable promise written COMPLETELY IN CAPITAL LETTERS that immediately captures attention. It must include:
- Concrete numbers (money, time, results)
- Powerful action verbs (EARN, MULTIPLY, ACHIEVE, MASTER)
- The specific result they will obtain
- Optionally, the time or effort required
- IMPORTANT: DO NOT USE EXCLAMATION MARKS (!) IN THIS SECTION UNDER ANY CIRCUMSTANCES

**Incorrect example:**  
"Improve your sales with our system." (Vague, no numbers, no impact).  
"¡MULTIPLY YOUR SALES IN RECORD TIME!" (Uses exclamation marks, NEVER use them).

**Correct example:**  
"FACTURA MAS DE $1.000 USD USANDO 15 EMAILS ESCRITOS EN 15 MINUTOS CADA UNO" (Specific, quantifiable, impactful).
"MULTIPLICA POR 3 TUS INTERACCIONES EN REDES SOCIALES EN SOLO 2 SEMANAS" (Clear, measurable, with defined time).

---

#### 3 **Benefit + Authority + Time or Effort**  
In this part, we explain the result they will obtain, supported by an authority factor (proven method, studies, experience, validations) and establishing a time frame or necessary effort to achieve it.  

**Incorrect example:**  
"Grow your business with our strategy." (Doesn't say how long it will take or how reliable the strategy is).  

**Correct example:**  
"Generate responses and sales with our strategy used by more than 500 entrepreneurs, with just 15 minutes a day."  

This format clearly states the benefit, backs up the solution with authority, and establishes a realistic effort to achieve it.  

---

### **Fixed structure:**  
"[Varied Attention Hook]  

[QUANTIFIABLE PROMISE IN ALL CAPS]  

[Benefit] with [Authority element] in [Time or effort]"  

---

### **Examples of the applied formula:**  
""",
        "examples": [
            """El 83% de los emprendedores pierden dinero en anuncios que nadie convierte.  

CONVIERTE EL 30% DE TUS VISITANTES EN COMPRADORES Y REDUCE TU COSTO DE ADQUISICIÓN A LA MITAD EN SOLO 14 DÍAS.  

Convierte más visitas en ventas con una estructura de copy validada en solo 5 días.""",

            """Tu lista de email está tan muerta que hasta los mensajes de spam tienen más aperturas.  

AUMENTA TU TASA DE APERTURA AL 35% Y GENERA $2.500 EN VENTAS CON CADA CAMPAÑA DE EMAIL QUE ENVIES.  

Haz que tus correos se lean con una estrategia usada por expertos en solo 30 minutos por campaña.""",

            """Mientras algunos facturan $10,000 al mes, tú sigues preguntándote por qué nadie compra.  

FACTURA EL DOBLE SIN BAJAR TUS PRECIOS Y CONVIERTE EL 80% DE TUS PROPUESTAS EN CLIENTES PAGANDO.  

Cierra más ventas con un método probado por 300 freelancers sin necesidad de descuentos en solo 7 días.""",

            """Lo que nadie te dice sobre el marketing de contenidos es que el 95% nunca genera un solo cliente.  

MULTIPLICA POR 5 TUS COMENTARIOS Y CONSIGUE 3 CLIENTES NUEVOS CADA SEMANA CON SOLO 20 MINUTOS DE TRABAJO DIARIO.  

Consigue comentarios y clientes con una estrategia de contenido validada en solo 10 minutos al día.""",

            """Ah, otro día más publicando en redes sociales y hablándole a las paredes... Qué divertido.  

CONSIGUE 100 NUEVOS SEGUIDORES CUALIFICADOS POR SEMANA Y CONVIERTE EL 10% EN LEADS INTERESADOS EN TUS SERVICIOS.  

Crea contenido irresistible con una estrategia validada en solo 15 minutos al día."""
        ]
    },
    "Fórmula Sueño-Obstáculo": {
        "description": """
Formula: [Tipo + Nombre + Sueño + Obstáculo]

Esta fórmula conecta directamente con los deseos y preocupaciones del cliente:

1. Tipo: El tipo de solución (entrenamiento, producto o servicio)
2. Nombre: El nombre de tu solución
3. Sueño: El gran sueño o resultado que el cliente desea alcanzar
4. Obstáculo: El obstáculo que normalmente impediría lograr ese sueño

**Structure Format:**
"Se trata de un (entrenamiento, producto o servicio) llamado ("nombre de tu solución") que te va a permitir (gran sueño) aún y cuando (gran obstáculo)"
""",
        "examples": [
            "Se trata de un entrenamiento llamado \"Método Flujo Creativo\" que te va a permitir escribir contenido de alto impacto todos los días aún y cuando creas que no tienes talento para la escritura.",
            "Se trata de un servicio llamado \"Transformación Financiera Total\" que te va a permitir duplicar tus ingresos en 90 días aún y cuando ahora mismo estés endeudado hasta el cuello.",
            "Se trata de un producto llamado \"Sistema de Meditación Rápida\" que te va a permitir alcanzar estados profundos de calma en solo 5 minutos aún y cuando tengas una mente hiperactiva que no para de pensar."
        ]
    }
}