# Come creare una task

{% embed url="<https://app.supademo.com/demo/cmfxuf02t4fs710k8n399gu4o?utm_source=link>" %}

{% stepper %}
{% step %}

### Definire il Trigger

Il trigger stabilisce l’evento che dà avvio alla task.

Esempi comuni:

* **Messaggio in arrivo** ( WhatsApp)
* **Webhook** (es. una richiesta dal sito con nome, numero, email)
* **Chiamata in arrivo**
* **Public Chat** avviato da un utente che può essere **SCRITTA/VOCALE**

{% hint style="info" %}
In sintesi: **cosa fa partire la task**.
{% endhint %}
{% endstep %}

{% step %}

### Selezionare la Piattaforma di Conversazione

Qui si definisce **dove avviene la conversazione**.

* Se il trigger è già collegato a una piattaforma (es. messaggio WhatsApp), viene selezionata in automatico.
* Se il trigger è un webhook, bisogna indicare manualmente la piattaforma (es. WhatsApp, telefono, chat web).

{% hint style="info" %}
In sintesi: **dove deve parlare l’agente**.
{% endhint %}
{% endstep %}

{% step %}

### Configurare Strumenti e Regole

Questa sezione definisce **cosa può fare l’agente durante la conversazione**.

Gli strumenti e le regole si dividono in due tipologie:

* **Trigger conversazionali** → azioni che partono direttamente dalla conversazione con l’utente.
* **Trigger dal CRM/software** → azioni che si attivano a partire da eventi esterni (es. un cambio di stato nel CRM).

{% hint style="info" %}
Consultare la sezione “Strumenti e Regole” della piattaforma per configurare nel dettaglio.
{% endhint %}
{% endstep %}

{% step %}

### Impostare la Conversazione

In questa fase si definisce **come deve parlare l’agente**.\
Le opzioni principali sono descritte di seguito.

#### 5.1 Vendite generate dall’AI

* **Inbound** (utente contatta l’azienda)
  * Contesto
  * Obiettivo della conversazione
  * Criteri e domande di qualifica
  * Leve di vendita
  * Gestione delle obiezioni
* **Outbound** (l’azienda contatta il lead)
  * Origine del lead
  * Obiettivo della conversazione
  * Offerta/prodotto
  * Leve di vendita
  * Domande di qualifica
  * Gestione delle obiezioni

#### 5.2 Script pre-caricato

L’azienda può fornire uno **script scritto** che l’agente deve seguire durante la conversazione.

{% hint style="info" %}
Definisci chiaramente tono, obiettivi e regole operative in base al tipo di conversazione scelto.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# 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/come-creare-una-task.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.
