> For the complete documentation index, see [llms.txt](https://docs.wonderchat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wonderchat.io/setup-guides/collecting-leads-with-your-chatbot/how-to-set-up-leads-generation-sequences.md).

# Lead Generation Sequences

A Guide on Using Your AI Agent to Create Lead-Generating Sequences.

***

You can use your AI Agent to generate lead generating sequences.

A lead generation AI Agent would usually ask the site user a series of questions to gather enough information 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="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fe7lr4qaSED69XramrWS0%2Fimage.png?alt=media&amp;token=d1e97bf3-5ac7-4684-a3ae-32116c0ef419" alt=""><figcaption></figcaption></figure>

## Step 2: Navigate Under the "Model & Behavior" Tab

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-8a4358a7c76d936a88d6a71246d41713ae7fa9c2%2Fmodel-behavior-instructions.png?alt=media" alt=""><figcaption><p>Navigate under the <strong>"Model &#x26; Behavior"</strong> tab</p></figcaption></figure>

## Step 3: Scroll Down to "**Feedback & follow-ups"**

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-57223a82b8a8ea3e59d9889b47b0e969c4db770a%2Fmodel-behavior-feedback-preset-messages.png?alt=media" alt=""><figcaption><p>Scroll down until you see <strong>"Feedback &#x26; follow-ups"</strong></p></figcaption></figure>

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

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-57223a82b8a8ea3e59d9889b47b0e969c4db770a%2Fmodel-behavior-feedback-preset-messages.png?alt=media" alt=""><figcaption><p>Go to "Preset Messages" and fill in your lead-generation questions.</p></figcaption></figure>

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-57223a82b8a8ea3e59d9889b47b0e969c4db770a%2Fmodel-behavior-feedback-preset-messages.png?alt=media" alt=""><figcaption><p>Example of lead-generation questions set as preset messages</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 AI Agent should initiate the preset messages.
* For example, if set to “1”, the AI Agent 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>
