> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/mail-to-workorder/configurar-valores-fixos-e-parametros.md).

# Configurar valores fixos e parâmetros

Definir valores de campo fixos ou dinâmicos nas ordens de trabalho criadas a partir de email.

Os valores fixos permitem preencher automaticamente os campos da Ordem de trabalho quando um email cria uma Ordem de trabalho.

É possível usar texto fixo ou parâmetros dinâmicos do email.

### O que é possível definir

É possível usar valores fixos para campos comuns da Ordem de trabalho, como:

* Estado e Tipo de trabalho
* Prioridade e SLA
* descrições de trabalho e referências
* detalhes do Cliente e detalhes da Fatura
* campos do Objeto e Campos livres

### Parâmetros dinâmicos

Os parâmetros inserem os valores do email na Ordem de trabalho.

São exemplos comuns:

* `{subject}`
* `{sender_address}`
* `{email_display_name}`
* `{mail_content}`
* `{time_mail_process}`
* `{date_mail_process_dmy}`
* `{date_mail_process_ymd}`
* `{obj_code}`

### Adicionar valores forçados

{% stepper %}
{% step %}

### Abrir uma Configuração

Abrir a Configuração de email que pretende Editar.
{% endstep %}

{% step %}

### Abrir valores forçados

Ir para a **Valores forçados** secção ou separador.
{% endstep %}

{% step %}

### Adicionar um campo

Escolha o campo que pretende preencher.
{% endstep %}

{% step %}

### Introduzir o valor

Adicione texto fixo, um parâmetro ou uma combinação de ambos.
{% endstep %}

{% step %}

### Guardar e testar

Guarde a Configuração e teste o resultado com um email de exemplo.
{% endstep %}
{% endstepper %}

### Bons exemplos

* definir a descrição do trabalho como `{subject}`
* armazenar a Morada do remetente num campo de observações
* combinar texto estático e valores dinâmicos numa referência

### Perguntas frequentes

<details>

<summary>É possível usar vários parâmetros num único valor?</summary>

Sim.

É possível combinar parâmetros com texto estático.

</details>

<details>

<summary>E se um parâmetro estiver vazio?</summary>

Essa parte é inserida como um valor vazio.

</details>

<details>

<summary>Os valores forçados funcionam com campos personalizados?</summary>

Sim, se esses campos estiverem marcados como Disponível na Configuração.

</details>

### Tópicos relacionados

* [**Criar e gerir configurações de email**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/mail-to-workorder/criar-e-gerir-configuracoes-de-email.md)
* [**Analisar o conteúdo do email com regex e opções avançadas**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/mail-to-workorder/analisar-o-conteudo-do-email-com-regex-e-opcoes-avancadas.md)
* [**Compreender as regras de correspondência e os tipos de remetente**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/mail-to-workorder/perceber-as-regras-de-correspondencia-e-os-tipos-de-remetente.md)


---

# 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://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/mail-to-workorder/configurar-valores-fixos-e-parametros.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.
