--- title: "Associate data with nearby text - Identify Data" slug: "associate-data-with-nearby-text" description: "If there's text near the data you want to capture, you can use that text as a landmark to properly identify the data. Associate nearby text using the method below to have your agent look for the landmark text before capturing data." tags: ["troubleshooting", "select", "refine", "change", "location", "combine", "join", "connect", "link", "relate", "info"] updated: 2024-05-14T12:13:29Z published: 2024-05-14T12:13:29Z canonical: "help.mozenda.com/associate-data-with-nearby-text" --- > ## 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. # Associate data with nearby text If there's text near the data you want to capture, you can use that text as a landmark to properly identify the data. Associate nearby text using the method below to have your agent look for the landmark text before capturing data. **Associate nearby text in the Agent Builder** To associate data with nearby text: 1. Open an existing agent. 2. Right-click an action in the action list. 3. Click **Location** > **Associate Nearby Text**. ![Associate Target Data with Nearby Text_Image4(1)](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/Associate%20Target%20Data%20with%20Nearby%20Text_Image4%281%29.png) 1. Click the text associated with the data. - The window will confirm that you want to associate the text selected to the value in your data set. 2. Confirm that the associated text value is correct. 3. Click **SAVE**. ![Associate Target Data with Nearby Text_Image5(1)](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/Associate%20Target%20Data%20with%20Nearby%20Text_Image5%281%29.png) Associate data using XPath If the standard method isn't sufficient, you can use an XPath expression for more consistent results. [Embedded content](https://www.youtube.com/embed/IW6Hgqkd-9k)