> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/general/crm/crm-common-questions/crm-how-to-move-opportunities-by-automation.md).

# CRM - How to move opportunities by automation

You can also move opportunities between funnel stages or funnels through CRM automations.&#x20;

In this example, we'll create a stage automation, where when the lead responds to the message, we'll move the opportunity to the next stage within the same funnel.

Follow the step-by-step instructions below:

1 - Access CRM;

<figure><img src="/files/d6805b4012d8666a9368bf9290349230dbcb6e81" alt=""><figcaption></figcaption></figure>

2 - Click the automation icon, and then click + to create a new automation in this stage.<br>

<figure><img src="/files/b4352097311020125d5774806459af29c2960b11" alt=""><figcaption></figcaption></figure>

3 - Add a title, then define:&#x20;

* **Trigger**: When the lead sends a message >> Any message, and also set the message channel.
* **Action**: Change the opportunity funnel/stage >> Choose the destination and save.

Keep only a single trigger per lead, and the status open.

<figure><img src="/files/9e795b25989b53fbfca00efc856334097c605a9f" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
To create the automation to move the opportunity between funnels, choose this same action “Change the opportunity funnel/stage”, select the funnel and the funnel stage.
{% endhint %}


---

# 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.sprinthub.com/en/topics/general/crm/crm-common-questions/crm-how-to-move-opportunities-by-automation.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.
