## Overview

When a bot, an automation or an integration asks to open a deal linked to a conversation, the
platform can **reuse the open deal of that conversation** instead of opening a second card. That is
what keeps the board free of repeated cards for the same customer.

By default that check is **per pipeline**: the platform looks for the conversation's open deal only
in the pipeline where the new deal is being created. So the same conversation can hold one open deal
in the sales pipeline and another in the event invitations pipeline, without one blocking the other.

The option that controls this is **Allow one open deal per conversation in this pipeline even when the
conversation already has a deal in another pipeline**. It comes **on** in every pipeline. If you turn
it off in a pipeline, that pipeline's check goes back to looking at the **whole account**: if the
conversation already has an open deal in any pipeline, that deal is returned.

## Prerequisites

- The **CRM** module enabled on the account.
- At least one **pipeline** with stages.
- The **Administrator** role to change the options. Agents see the setting but cannot change it.

## Step by step

To check or change the option of a pipeline:

1. Open **CRM** in the side menu.
2. Click the CRM **Settings** (gear) and select the pipeline.
3. Scroll to the **One deal per conversation** section.
4. Look at the **Allow one open deal per conversation in this pipeline even when the conversation
   already has a deal in another pipeline** switch. On (the default): the pipeline only reuses deals
   **of its own**.
5. For this pipeline to return the conversation's open deal from **any** pipeline, turn the switch
   off. The choice is stored on the pipeline and respected from then on.

To go back to the default, turn the same switch on again.

## Settings & options

| Option | Where | Default | What it does |
|---|---|---|---|
| **Reuse the conversation's open deal instead of opening another** | Pipeline settings → One deal per conversation | On for new pipelines; off for older pipelines that never had it | Decides what happens when the request **does not say** whether to reuse or to create |
| **Allow one open deal per conversation in this pipeline even when the conversation already has a deal in another pipeline** | Same section | **On** in every pipeline, new and existing, unless an administrator turned it off | Makes the check look only at the deals of this pipeline |

The two options are independent:

- The first decides **whether** the platform reuses when nobody asked for anything. A bot or an
  integration that asks explicitly to reuse (or to always create) is obeyed, regardless of this
  switch.
- The second decides **where** the platform looks for the open deal — only this pipeline or the whole
  account — whenever a reuse happens, whether it came from the request or from the first switch.

**The option belongs to the destination pipeline.** What counts is the setting of the pipeline where
the deal is being created, not of the pipeline where the existing deal sits.

| Situation | Option on on the destination pipeline (default) | Option off on the destination pipeline |
|---|---|---|
| The conversation has no open deal | Creates | Creates |
| The conversation has an open deal **in this** pipeline | Returns the existing one | Returns the existing one |
| The conversation has an open deal **only in another** pipeline | **Creates a new one in this pipeline** | Returns the other pipeline's deal |

In every case the limit of **one open deal per conversation inside the same pipeline** still holds.
Won or lost deals are never reused: a closed cycle followed by a new one is a new deal.

## Use cases

- **Sales pipeline and events pipeline.** The customer negotiates a plan and, in the same
  conversation, is invited to an event. With the default, the bot opens the event card without
  touching the sales card.
- **Sales pipeline and renewal pipeline.** The renewal opens its own card without depending on the
  sales card that is still open.
- **One product line per pipeline.** Each pipeline tracks its own opportunity for the same
  conversation.
- **A single card per conversation across the account.** If your operation wants a request for any
  pipeline to return the card the conversation already has, turn the option off **in every
  pipeline**.

## Tips, limits & best practices

- **What changed in the update.** Up to the previous version the option came off and the check looked
  at the whole account. Now it comes on: a pipeline that never had the option stored now holds its
  own open deal per conversation. A pipeline where an administrator **turned the option off** stays
  off.
- **Turn the option off in every pipeline that must look at the whole account.** A pipeline with the
  option on only looks at its own deals: if the request lands in it and the conversation only has an
  open deal in another pipeline, a new card is created.
- **The answer says what happened.** In the API, the create returns `reused: true` when an existing
  deal was returned and `reused: false` when a new one was created. The bot uses that field to avoid
  announcing a "new deal" that already existed.
- **It holds on every path.** The rule is applied on the server, so it is the same for the bot,
  automations, the Flow Builder, the AI tools and the API.
- **Creating from the screen follows the same rule** when the deal is linked to a conversation: with
  the first option on for the pipeline, the platform returns the open deal instead of opening another.
  In that case the form **saves nothing** onto the existing deal (products, notes, checklist and
  attachments are left out): it stays open with your data and shows a notice that an open deal
  already exists for the conversation (in this pipeline or in another one), with the link **Open the
  existing deal in a new tab**. You decide: update the existing deal, change the pipeline or the
  conversation and create again, or cancel.
- Integrations that create deals through the API receive the `reused` field in the answer. When it is
  `true`, the deal already existed: check the field before writing products, notes or attachments
  onto it.
- Integrations that write the pipeline settings through the API must send the **complete** settings
  object: the write replaces the whole object. To keep the check on the whole account, send
  `dedup_conversation_per_pipeline: false`; without the key, the default (on) applies.

## Troubleshooting

**"After the update, two cards showed up for the same conversation."**
That is the effect of the per-pipeline default: one card in each pipeline. Inside the same pipeline
there is still at most one open deal per conversation. If you want a single card per conversation
across the account, turn the option off in the pipelines.

**"The bot cannot create the card in the second pipeline."**
Check that the option is on **in the destination pipeline** (the second one). If an administrator
turned it off, that pipeline returns the card the conversation has in another pipeline.

**"The request for the main pipeline returned the other pipeline's card."**
The main pipeline has the option off, so it looks at the whole account. Turn the option on in the
main pipeline.

**"The switch is disabled for me."**
Only Administrators can change pipeline settings. Ask an administrator.

## See also

- [CRM: pipelines, kanban and deals](/hc/ajuda/articles/contacts-crm-crm-pipelines-kanban-negocios-en)
- [Move one stage at a time (sequential pipeline stages)](/hc/ajuda/articles/contacts-crm-etapas-sequenciais-do-funil-en)
- [Maestro tools per module and how to enable them](/hc/ajuda/articles/maestro-brain-ferramentas-maestro-por-modulo-en)