> For the complete documentation index, see [llms.txt](https://docs.stammer.ai/stammer.ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/leads-legacy/overview-of-lead-generation.md).

# Overview of Lead Generation

Lead generation allows you to extract data from users when they interact with the AI chatbot.

Within the context of stammer.ai there are 2 ways of generating leads.

<figure><img src="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2Fky1tQ8pHoOFAyCukzQlb%2FScreenshot%202024-03-08%20at%206.44.20%E2%80%AFAM.jpg?alt=media&amp;token=b9a9910e-1dfd-4dd7-acc4-d4f42b16c2be" alt=""><figcaption></figcaption></figure>

### 1. Collect in Form

Collect in Form before starting a conversation.

When you use this option a form will be shown to users that they will have to answer in order to start a conversation with a chatbot.

<figure><img src="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2FgLsTlEAO6sTYOVKE1c3b%2FScreenshot%202024-03-08%20at%206.50.46%E2%80%AFAM.jpg?alt=media&amp;token=ce12889a-d3ec-4c05-98c2-73f45af2370b" alt=""><figcaption></figcaption></figure>

### 2. Collect in Conversation (Advanced)

Collect in chat during conversation with chatbot

<figure><img src="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2F3UJnT9E1nQiEeuDjfifL%2FScreenshot%202024-03-08%20at%206.53.50%E2%80%AFAM.jpg?alt=media&amp;token=12da6e5a-b75a-4bd0-8b8a-197bfd50c8d4" alt=""><figcaption></figcaption></figure>
