# Lookup Fields

{% embed url="<https://support.airtable.com/hc/en-us/articles/360042312194-Lookup-field-overview>" %}

A lookup field allows you to pull record contents from one linked record into another linked record. As a reminder, linked relationships can be either within the same table or across two separate tables.

### Displaying on a single line

{% tabs %}
{% tab title="Template" %}

```
Company Names
```

{% endtab %}

{% tab title="Data" %}

```
{
    "company_names": [ "Documint", "SunRun" ]
}
```

{% endtab %}

{% tab title="Untitled" %}
Documint, Sunrun
{% endtab %}
{% endtabs %}

### Displaying on multiple lines

1. Drag the lookup field token to the template

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FxR5faOyH6l7ci4XdiMWk%2FScreenshot%202026-03-10%20at%2016.47.45.png?alt=media&#x26;token=fd032f6a-c3c8-4e83-8050-502460971201" alt=""><figcaption></figcaption></figure>

2\. Click **Edit Logic** on the left panel and edit **Repeat/Loop**

![](https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FfNxBS8YPWvblMkKDR6OL%2FScreenshot%202026-03-10%20at%2016.49.20.png?alt=media\&token=40093faf-d2b9-40c8-a295-a709fd9d6b31)

3\. Add the lookup field name in the **List Field** box and **Save**

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2Fgw9kRDPHnfE3NITNrivQ%2FScreenshot%202026-03-10%20at%2016.51.35.png?alt=media&#x26;token=4a7d3a5c-9ec4-47a3-8c8d-a32d1d41863f" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Template" %}

```
this
```

{% endtab %}

{% tab title="Data" %}

```
{
    "company_names": [ "Documint", "SunRun", "Whole Foods" ]
}
```

{% endtab %}

{% tab title="Result" %}
Documint

SunRun

Whole Foods
{% endtab %}
{% endtabs %}

{% hint style="warning" %}
If Lookup fields are linked to Linked Records, you will need to expand it in the Airtable connection
{% endhint %}


---

# 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.documint.me/integrations/airtable/lookup-fields.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.
