> 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/convert/chatbot/chatbot-common-questions/chatbot-creating-opportunity-in-crm.md).

# Chatbot – Creating Opportunity in CRM

This feature allows the **Chatbot to automatically create an opportunity in the CRM**, logging the lead directly into the sales funnel during the conversation.

***

#### ⚙️ How to access

To start configuring, follow the path below:

➡️ **Menu → Chat → Chatbot**\
or\
🔎 **Type “Chatbot” in the field&#x20;*****Find Service***

After accessing the desired chatbot, you can edit the flow and add the action **Create Opportunity in the CRM**.

***

#### 🛠️ How to configure in the flow

1️⃣ Open the **chatbot flow** you want to edit.

2️⃣ At the point in the flow where you want to register the lead, add the action:\
➡️ **Create Opportunity**

3️⃣ Configure the opportunity information:

* **Sales funnel**
* **Funnel stage**
* **Responsible party**
* **Opportunity title** (e.g.: Lead Name)

4️⃣ **Save and publish** the chatbot.

***

#### 💡 Practical example

📌 A chatbot for **quote request** can automatically create an opportunity when the lead says they are interested.

That way, the contact already enters the **sales funnel**, allowing the sales team to follow up.

***

✅ **Result:**

* Leads automatically registered in the CRM
* Funnel always up to date
* Greater agility in the sales process


---

# 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/convert/chatbot/chatbot-common-questions/chatbot-creating-opportunity-in-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.
