> For the complete documentation index, see [llms.txt](https://docs.bookli.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bookli.ai/task/4.strumenti-e-regole/5.trigger/azioni/invia-email.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
