# Lead Generation Sequences

***

You can use your chatbot to generate lead generating sequences.

A leads generation chatbot would usually ask the site user a series of questions to be able to gather enough information about the site user before asking for their contact.

To set up the leads generating sequence, we recommend that you use the feature known as **“Preset Messages”**. Here's how:

***

## Step 1: Go to **Chatbots >** Actions (⋮) > **"Edit Chatbot"**

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

## Step 2: Navigate Under the "General" Tab

<figure><img src="/files/mSqwVR8IeVOwmhEE5hz5" alt=""><figcaption><p>Navigate under <strong>"General"</strong> tab</p></figcaption></figure>

## Step 3: Scroll Down to "**Chat Message Settings"**

<figure><img src="/files/VanGsZ4GsGyC5BIczTta" alt=""><figcaption><p>Scroll down until you see <strong>"Chat Message Settings"</strong></p></figcaption></figure>

## Step 4: Add Your Lead-Generation Question Sequence

<figure><img src="/files/mCVumoapDQq3vT5KHGxf" alt=""><figcaption><p>Go to "Preset Messages". Fill in your lead-generation questions.</p></figcaption></figure>

<figure><img src="/files/bwB1uewCxogdR4ThScJz" alt=""><figcaption><p>Example of Leads-Generation Questions</p></figcaption></figure>

### Preset Messages

* Preset messages are part of the question sequence used to qualify your leads.
* These messages guide users through specific questions to collect valuable information, such as their preferences and contact details.
* At the end of the sequence, you can request the user's email for follow-up communication.

### **After Number of Messages**

* The "After \[X] Messages" option lets you specify when the chatbot should initiate the preset messages.
* For example, if set to “1”, the chatbot will trigger the first preset message after the user sends their first message.
* By using preset questions, you can guide users toward providing answers that help qualify them as leads.

***

If you have any more questions, feel free to reach out to us at <mark style="color:purple;">**<support@wonderchat.io>**</mark>


---

# 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.wonderchat.io/setup-guides/collecting-leads-with-your-chatbot/how-to-set-up-leads-generation-sequences.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.
