## Overview

A deal can change pipelines: a sales lead that closed and moves to the onboarding pipeline, a
renewal that goes back to the sales pipeline, a case that needs another team. The **Move to another
pipeline** action takes the deal to the target pipeline, into the stage you choose, and shows
**what changes** before you confirm.

Nothing is lost in the move. The history, notes, attachments and checklist stay on the deal. Values
of custom fields the target pipeline does not use are **kept and hidden**, and they come back when
the deal returns to a pipeline that uses those fields.

## Prerequisites

- The **CRM** module enabled on the account and at least **two** active pipelines. With only one
  pipeline, the dialog says there is no other pipeline to move to.
- Permission to **edit the deal**.
- The account rule must let you move deals into that pipeline (see **Settings & options**). Only
  **administrators** change that rule.

## Step by step

1. Open the **Move to another pipeline** action from one of these places:
   - on the **Kanban card**, with the arrows button (on hover, the tooltip reads **Move to another
     pipeline**);
   - in the **deal page header**, with the same arrows button (not shown on archived deals);
   - in the **list**, with the arrows button on the deal's row;
   - in the **bulk action bar**, after selecting several deals, with the **Move to another
     pipeline** button.
2. In **Target pipeline**, choose the pipeline.
3. In **Stage where the deal lands**, check the stage. The first open stage of the pipeline is
   preselected; you can choose another one. Each stage shows its type: open, won or lost.
4. Read the **What changes** block. For a single deal it shows the destination, the status change,
   the fields kept hidden or restored and the automations that will run.
5. If **Required fields of the target pipeline** appears, fill in each field.
6. If the chosen stage is a won or lost stage, enter the **Close reason**. It is optional unless
   the target pipeline requires a reason.
7. Click **Move to {pipeline}** (in bulk, **Move {count} deals to {pipeline}**). When it is done,
   the confirmation **Deal moved to {pipeline}, stage {stage}.** appears.

## Settings & options

### What happens to the deal

| Item | Behaviour |
|---|---|
| Stage | The chosen one or, when none is chosen, the first open stage of the target pipeline. The deal goes to the end of the column and its time in stage restarts. |
| Status | Follows the stage type: a won stage marks the deal won, a lost stage marks it lost, an open stage reopens a closed deal. |
| Fields the target uses | Keep their values. |
| Fields the target does not use | Kept and hidden, never deleted. |
| Fields kept from an earlier pipeline | Come back when the target uses those fields again. |
| History, notes, attachments, checklist, assignee and team | Do not change. |

### When the move is refused

The platform checks everything again when you confirm. When something prevents the move, nothing is
saved:

- **Empty required fields.** The target pipeline requires fields the deal does not have yet. Fill
  them in right in the dialog.
- **Close reason.** The chosen stage closes the deal and the target pipeline requires a reason (the
  pipeline option **Require a reason when marking won or lost**).
- **One deal per conversation.** If the target pipeline keeps one open deal per conversation and
  already has an open deal for the same conversation, the dialog says so and offers **Open the
  existing deal**.
- **Account rule.** If the CRM settings do not allow the move, the dialog tells you to ask an
  administrator.

### Who may move deals between pipelines

In **CRM → Settings** (gear), the **Moving deals between pipelines** section sets the rule for the
whole account. It applies to every pipeline, to the API and to integrations.

| Option | What it allows |
|---|---|
| **Anyone who can edit the deal** (default) | Everyone who can edit a deal can move it into any pipeline. |
| **Only into pipelines where the deal stays visible** | A person only moves the deal into a pipeline where they will still see it. Administrators move any deal. |
| **Administrators only** | Only administrators move deals between pipelines. Everyone else still moves deals between the stages of the same pipeline. |

Choose the option and click **Save rule**. People who are not administrators see the rule in force
but cannot change it. Automations, flows and follow-up sequences act with an administrator's
authority; a macro acts as the person who ran it.

### Automations, macros and webhooks

- **Automation and macro action:** **Move CRM deal to another pipeline**, with a pipeline and a
  stage (the stage is optional). The Flow Builder has the same action, and a follow-up step can use
  the **Bring the deal from any pipeline** mode under **How the deal moves**.
- **Automation trigger:** **CRM Deal Moved to Another Pipeline**. A deal moved by an automation
  does not fire other rules, so two rules can never keep bouncing a deal between pipelines.
- **Webhook:** the **CRM deal moved to another pipeline** event (`crm_item_pipeline_changed`)
  sends the ids of the source and target pipeline and stage. The stage change also fires the stage
  changed event, and a status change fires the won, lost or reopened event.

### API

For integrations: `PATCH /api/v1/accounts/{account_id}/crm/items/{id}/transfer` moves the deal
(`pipeline_id` required; `stage_id`, `custom_attributes`, `close_reason`, `closed_at` and
`justification` optional). `POST .../crm/items/{id}/transfer_preview` takes the same body and
returns what would change without saving anything. `PATCH .../crm/items/bulk_transfer` moves several
deals and reports the reason for each one left out. Refusals come back with a code:
`stage_not_in_pipeline`, `required_fields_missing`, `close_reason_required`, `deal_conflict` or
`target_not_allowed`. The account rule is the account's `crm_transfer_policy` field.

## Use cases

- **A closed sale goes to onboarding.** Move the deal into the onboarding pipeline at its first
  stage; the sales fields are kept for later reference.
- **A renewal goes back to sales.** On the way back, the fields kept from the deal's earlier time in
  sales reappear.
- **Automatic triage.** An automation moves deals that arrive with a given attribute into the right
  pipeline, and another rule reacts to the move trigger.
- **Bulk reorganisation.** Select several deals in the list and move them all at once.

## Tips, limits & best practices

- **Leaving your view.** Under the **Anyone who can edit the deal** rule, when the target pipeline
  shows its deals only to their team or to the assigned person, the dialog warns that you will no
  longer see the deal after the move.
- **Bulk moves.** The dialog describes the destination but does not ask for each deal's required
  fields. A deal the move refuses stays where it is and is listed with the reason after the move;
  the others are moved.
- **Changing stage inside the same pipeline** is still done by dragging the card or with the stage
  buttons; **Move to another pipeline** is for changing pipelines.
- **In the deal history**, the **Moved to another pipeline** line shows the source and target
  "Pipeline · Stage" and, when there are any, the fields **kept hidden in this pipeline**.

## Troubleshooting

**"I can't see the move to another pipeline button."**
Make sure you can edit the deal and that it is not archived. On the deal page, the button sits in
the header next to the other actions.

**"The dialog says the CRM settings do not allow it."**
The account rule does not let you move into that pipeline. Ask an administrator to move the deal or
to review the **Moving deals between pipelines** section.

**"The confirm button stays disabled."**
Fill in the required fields and the close reason when they are asked for. If there is a warning
about an open deal of the same conversation in the target, work on the existing deal.

**"Some deals in the selection were not moved."**
Each one is listed with its reason (for example, required fields or a conversation conflict). Open
the deal and move it on its own to fill in what is missing.

**"Field values disappeared after the move."**
They are kept and hidden because the target pipeline does not use those fields. They come back when
the deal returns to a pipeline that uses them.

## See also

- [CRM: pipelines, kanban and deals](/hc/ajuda/articles/contacts-crm-crm-pipelines-kanban-negocios-en)
- [One deal per conversation: per pipeline or per account](/hc/ajuda/articles/contacts-crm-um-negocio-por-conversa-por-funil-en)
- [Automation rules: triggers, conditions, and actions](/hc/ajuda/articles/automation-flows-regras-de-automacao-en)