# Overview of Lead Generation

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

<figure><img src="/files/zeFrvU5zu2RXpouX7XcI" 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="/files/4ERA4o60PGaNPvtxAyhT" alt=""><figcaption></figcaption></figure>

### 2. Collect in Conversation (Advanced)

Collect in chat during conversation with chatbot

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


---

# 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.stammer.ai/stammer.ai-docs/chat-ai-agents/leads-legacy/overview-of-lead-generation.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.
