> For the complete documentation index, see [llms.txt](https://docs.documint.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.documint.me/integrations/airtable/lookup-fields.md).

# 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="/files/KRQSSFW46Et6Fc7F4oAb" alt=""><figcaption></figcaption></figure>

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

![](/files/z3xOa2BlOOHm05RErZkq)

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

<figure><img src="/files/7sdOjkTaA5bzk4vUSmlD" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.
