# Make leads automatically

> Set a rule that makes a lead when a customer starts a chat or writes a keyword like "price" or "quote".

Source: https://docs.soosh.io/guides/leads/make-leads-automatically/

An auto-create rule makes a lead for you when a customer writes, so a customer
asking for a price never waits for someone to add them. The rule needs no
person and no bot flow.

## Before you start

- [A plan that includes leads](https://docs.soosh.io/guides/leads/get-leads/)
- **Create and edit** under **Lead settings** in your role. Managers, admins and owners have it.
- A [pipeline](https://docs.soosh.io/guides/leads/add-a-pipeline/) with the stage you want new leads in.

## Add a rule

1. Go to [**Settings > Leads**](https://app.soosh.io/settings/leads) and open the **Auto-create** tab.
2. Under **Automatic leads**, click **Add rule**.
3. Under **When**, choose **A customer starts a chat** or **A customer writes a
   keyword**. A new chat means their first message, their first in a day, or
   their first since their chat was closed.
4. For a keyword, in **Keywords**, enter the words, separated by commas, up to
   20, like `price, quote, rate`. A word counts in any case, but not inside
   another word: "price" isn't in "priceless".
5. If you have more than one number, under **On** choose **Every number** or one number.
6. Choose the **Pipeline** and the **Stage** for new leads.
7. Under **Owner**, choose **Who has the chat**, **No one** or a member.
8. Click **Add**.
9. In the list, turn the rule's switch on.

> **Note:** A new rule starts off. It makes no leads until you turn it on.

## Result

From the customer's next message, the rule makes a lead titled with their first
name and the pipeline, like *Priya – Sales*. Its source is **Auto-create
rule**. A customer who already has an open lead in the rule's pipeline doesn't
get another.

With **Who has the chat**, the owner is whoever has the chat when the message
arrives, and no one if it is with no one yet. With **No one**, the lead waits under
**Unassigned** for someone to take it.

To change a rule, click the pencil. To stop it, turn its switch off. To remove
it, click the bin and confirm **Delete**. Leads it made stay. A workspace can
have 50 rules.

## Related

- [How leads work](https://docs.soosh.io/concepts/how-leads-work/)
- [Find the leads that need you](https://docs.soosh.io/guides/leads/find-the-leads-that-need-you/)
- [Create or update a lead in a bot flow](https://docs.soosh.io/guides/chatbot/create-or-update-a-lead-in-a-bot-flow/)
