# Chatbot – Creating Opportunity in CRM

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

***

#### ⚙️ How to access

To start configuring, follow the path below:

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

After accessing the desired chatbot, you can edit the flow and add the action **Create Opportunity in 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**
* **Owner**
* **Opportunity title** (e.g.: Lead Name)

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

***

#### 💡 Practical example

📌 A **quote request** chatbot can automatically create an opportunity when the lead responds that 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 updated
* More agility in the sales process


---

# Agent Instructions: 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:

```
GET https://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-common-questions/chatbot-creating-opportunity-in-crm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
