> For the complete documentation index, see [llms.txt](https://docs.flw.chat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flw.chat/guide/novidades-do-sistema/junho-de-2026/18-06-2026-crm.md).

# 18/06/2026 - CRM

### **📋 CRM: Atualização de card via API não permitia informar o motivo de perda**

Ao atualizar um card para o status de perda via API, não era possível informar o motivo de perda junto à requisição.

🔧 **O que estava acontecendo?**

A API não aceitava o motivo de perda como parâmetro na atualização do card, impossibilitando o registro dessa informação por integrações externas.

✅ **O que foi corrigido?**

* A API passou a aceitar o parâmetro **lostReasonID** com o ID do motivo de perda na atualização de cards
* Integrações que atualizam cards para perda agora conseguem registrar o motivo corretamente

<figure><img src="/files/4H0GZhGP8lWM8HOcJs2H" alt=""><figcaption></figcaption></figure>

### **📊 CRM: Cards criados via chatbot não eram contabilizados no relatório de vendas**

Ao criar cards por meio de um chatbot, as informações não eram registradas no relatório de vendas — diferente dos cards criados manualmente, que eram contabilizados normalmente.

🔧 **O que estava acontecendo?**

O relatório de vendas não reconhecia os cards originados por chatbot, fazendo com que dados como novos leads e valores em andamento ficassem ausentes para esses registros.

✅ **O que foi corrigido?**

* Cards criados via chatbot agora são contabilizados corretamente no relatório de vendas
* Informações como novos leads e valores em andamento passam a refletir independente da origem do card


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.flw.chat/guide/novidades-do-sistema/junho-de-2026/18-06-2026-crm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
