--- title: "Capture Data from nested lists - Mozenda" slug: "capture-nested-lists" description: "A majority of data-heavy websites structure their content using lists, and it’s very common for these lists to contain additional lists (nested lists). These steps will help you structure an agent to automatically capture nested lists along with their parent list items." tags: ["dropdown lists", "actions", "multiple", "link", "URLs", "loop"] updated: 2024-05-14T12:05:08Z published: 2024-05-14T12:05:08Z canonical: "help.mozenda.com/capture-nested-lists" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Capture data from nested lists A majority of data-heavy websites structure their content using lists, and it’s very common for these lists to contain additional lists (nested lists). In the Agent Builder you can structure an agent to automatically capture nested lists along with their parent list items. #### Create the primary (parent) list In the Agent Builder: 1. Enter a URL. 2. Select one of the primary items on the list. 3. Select **Capture List**. 4. Select a similar item further down the page. *If the page has multiple columns, select an element from a different row and column than the element you selected on step 2. *. 5. Enter a name for the field. 6. Select **CREATE ACTION**. Confirm that the parent list items now display in the **Captured Text Preview** window. #### Create the secondary (nested) list 1. Select one of the items inside the nested list. 2. Select **Capture List**. 3. Select a similar item that belongs to another primary item. 4. Enter a name for the field. 5. Select **CREATE ACTION**. The Item Lists should be nested inside each other. After creating the lists, your action board should look like this: ![nested list](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/nested%20list.png)