> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-azioni-causa-en-regole/azione-della-regla-longitud-maxima.md).

# Azione della Regla: longitud máxima

### Casi d'uso

{% hint style="info" %}
Accorcia i titoli dei prodotti

Usa il **lunghezza massima** azione per accorciare/tagliare la lunghezza dei valori nei tuoi dati prodotto. Alcuni canali, come Google Ads e Marktplaats, richiedono che campi come "title" rispettino un limite di caratteri.
{% endhint %}

### Accorcia i titoli dei prodotti (a 30 caratteri)

Usando **lunghezza massima**, puoi tagliare il titolo a 30 caratteri in modo che ogni titolo rispetti la lunghezza massima richiesta dal canale di esportazione.

{% stepper %}
{% step %}

### Aggiungi una regola con l'azione Lunghezza massima

* Crea o modifica una regola dove vuoi accorciare il titolo del prodotto.
* Aggiungi un'azione ALLORA e scegli **Lunghezza massima** azione.
  {% endstep %}

{% step %}

### Configura la lunghezza massima

* Imposta la lunghezza massima a 30 caratteri (o al limite richiesto dal tuo canale).
* Scegli come deve essere tagliato il testo:
  * Taglia direttamente: tronca il titolo direttamente dopo 30 caratteri.
  * Taglia per parole: tronca il titolo dopo l'ultima parola completa che rientra nel limite di 30 caratteri.
    {% endstep %}

{% step %}

### Risultato

Le istruzioni ALLORA (e E) produrranno i titoli tagliati secondo la tua configurazione.
{% endstep %}
{% endstepper %}

Immagini che mostrano la configurazione e i titoli risultanti dopo il taglio:

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/ZJgqLfXytD8JPlqSw4p8/360007538399" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/pFh1lPPOp9nHvmhCok4g/360007523800" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-azioni-causa-en-regole/azione-della-regla-longitud-maxima.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
