> ## Documentation Index
> Fetch the complete documentation index at: https://docs.8call.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure questions and data extraction

> Tell your agent what to ask during a call and which structured fields to capture from the conversation.

<Info>
  **Questions** are what the agent proactively asks the caller. **Data extraction** is the structured information the agent pulls out of the conversation so you get clean, usable records after each call.
</Info>

## Questions

<Steps>
  <Step title="Open the Questions tab">
    Go to `/agents`, open an agent, then select **Questions** (`/agents/:id/questions`).
  </Step>

  <Step title="Add questions">
    Click **Add question** and type each question you want the agent to ask. You can add up to 20.

    <Tip>
      Click the **generate** button (the sparkles icon) to suggest a starter set of questions you can edit or trim.
    </Tip>
  </Step>

  <Step title="Reorder and remove">
    Use the trash icon to remove a question. The order you list them in is the order the agent will tend to ask.
  </Step>
</Steps>

## Data extraction

<Steps>
  <Step title="Open the Data Extraction tab">
    Select **Data Extraction** (`/agents/:id/data-extraction`).
  </Step>

  <Step title="Define fields to capture">
    Click **Add Field** and name each piece of information you want extracted — for example, `budget`, `preferred_time`, or `company_size`. Use the **generate** button (the sparkles icon) to suggest fields.

    <Check>
      After calls, the values for these fields are captured from the transcript and available with the call record.
    </Check>
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="The generate button is disabled">
    Both features need the agent's name and language set. Configure those on the **Overview** tab first.
  </Accordion>

  <Accordion title="Add question is disabled">
    You can have at most 20 questions, and you can't add a new one while an existing question is left blank. Fill or remove empty rows first.
  </Accordion>

  <Accordion title="Extracted data is empty for a call">
    The agent can only extract what was actually discussed. Keep field names clear and make sure your questions prompt the caller for that information.
  </Accordion>
</AccordionGroup>
