# Agentes de I.A. - Enviando Arquivos

## Obtendo link dentro do Gerenciador de Arquivos

Para obter o link de um arquivo no [Gerenciador de Arquivos](/topicos/geral/gerenciador-de-arquivos.md) (seja um novo ou já existente entre os uploads da instância), basta clicar com o botão direito sobre ele e selecionar **“Ver Arquivo”**. O link será aberto em uma nova aba e, com ele, será possível treinar o Agente de IA para enviar o arquivo.

<div align="center" data-full-width="false"><figure><img src="/files/KP2JtEZjlTLf1JvpXswb" alt=""><figcaption><p><em>Gerenciador de Arquivos.</em></p></figcaption></figure></div>

<figure><img src="/files/eP96CysiPOAezjTGhFg6" alt=""><figcaption><p><em>Link do arquivo.</em></p></figcaption></figure>

## Configurando o treinamento

Para que o arquivo seja enviado ao lead, é preciso definir uma condição vinculada ao link.\
Por exemplo: quando o lead solicitar o **Guia de Boas Práticas**, o sistema enviará automaticamente o arquivo correspondente (por exemplo, um `.docx`).

Essa configuração pode ser feita no **Background Customizado** ou em **Regras Adicionais**, dentro da aba Contextualização, ou ainda em **Perguntas e Respostas** da habilidade [Base de Dados](/topicos/inteligencia-artificial/agentes-de-ia/agentes-de-i.a.-base-de-dados.md).

No exemplo abaixo, é possível ver a configuração no **Background Customizado** e, em seguida, o teste onde o arquivo é enviado durante a conversa.

<figure><img src="/files/tUvGZJuGQPC9JLXixZjb" alt=""><figcaption><p><em>Aba Contextualização.</em></p></figcaption></figure>

<figure><img src="/files/iEOZ5XxXbUtOCfMyovUh" alt=""><figcaption><p><em>Atendimento com o cliente.</em></p></figcaption></figure>


---

# 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.sprinthub.com/topicos/inteligencia-artificial/agentes-de-ia/agentes-de-i.a.-enviando-arquivos.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.
