# Документы в карточке сделки встроенной CRM и их рассылка

![](/files/-MjCjdD68KSFzoOGFUp0)

Вы можете прикреплять различные документы к сделке, а затем сделать рассылку. Для этого в сценарии создайте блок «Цепочка сообщений» и выберите тип «Документ из CRM».

![](/files/-MjCjjRox5-heCdNOiyA)

Далее необходимо указать имя файла и этап сделки.

![](/files/-MjCjr04G-QhV_8kMwgX)

В итоге пользователь получит свой файл из сделки CRM, которая находится на определенном этапе. Если не указывать этап, то файл берется из первой попавшейся сделки, которая имеет файл.


---

# 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://help.watbot.ru/chat-boty/vstroennaya-crm/dokumenty-v-kartochke-sdelki-vstroennoi-crm-i-ikh-rassylka.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.
