# invia email

{% hint style="warning" %}
Tutte le email partono da **<no-reply@booklyn.ai>** (indirizzo fisso non modificabile).
{% endhint %}

## Manuale Utente - Azione "Invia Email"

### Panoramica

L'azione **Invia Email** automatizza l'invio di email tramite trigger conversazionali o CRM.

***

### Configurazione

{% stepper %}
{% step %}

### Destinatario

Inserisci un indirizzo email fisso oppure usa la variabile del lead:

* Clicca su **"Variabili"**
* Copia e incolla `{{email_lead}}`
  {% endstep %}

{% step %}

### Oggetto

Inserisci l'oggetto dell'email.
{% endstep %}

{% step %}

### Contenuto

Scegli la modalità tramite lo **switch**:

#### Modalità STATICA

Il testo viene inviato esattamente come scritto, senza modifiche.

Esempio:

{% code title="Esempio - Statica" %}

```
Gentile {{name_lead}},

Abbiamo ricevuto la tua richiesta. Ti risponderemo entro 24 ore.

Cordiali saluti,
{{name_assistant}}
{{company}}
```

{% endcode %}

#### Modalità EMAIL AI

Scrivi un prompt per generare il contenuto con l'AI.

Esempio di prompt:

{% code title="Esempio - Prompt Email AI" %}

```
Genera una mail per Mario, responsabile acquisti, informandolo della 
conversazione con {{name_lead}} riguardo XY. Riassumi la conversazione 
con elenco puntato delle richieste. Firma come {{name_assistant}} di {{company}}.
```

{% endcode %}
{% endstep %}
{% endstepper %}

***

### Variabili Disponibili

| Variabile            | Output             |
| -------------------- | ------------------ |
| `{{name_lead}}`      | Nome del lead      |
| `{{email_lead}}`     | Email del lead     |
| `{{name_assistant}}` | Nome assistente AI |
| `{{company}}`        | Nome azienda       |

{% hint style="success" %}
Formato corretto: `{{variabile}}` (senza spazi)
{% endhint %}

***

### Esempi pratici:

{% hint style="info" %}

* Testa sempre prima di attivare.
* Usa la modalità Statica per messaggi standardizzati.
* Usa Email AI per contenuti personalizzati o riepiloghi.
* Prompt chiari: specifica tono e contenuti desiderati.
* Oggetto breve: max 50 caratteri.
* Menziona nel footer che l'email proviene da booklyn.ai.
  {% endhint %}

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bookli.ai/task/4.strumenti-e-regole/5.trigger/azioni/invia-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
