> For the complete documentation index, see [llms.txt](https://docs.bird.com/applications/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bird.com/applications/content/lookup-tables/create-a-lookup-table.md).

# Create a Lookup Table

Go to **Content** > **Lookup Tables** and click on **Create a lookup table**.

* Enter a display name
* Enter a slug with no spaces

<figure><img src="https://framerusercontent.com/images/bh2eA0wgSKqmaoZKdVJH9U4CEhQ.png?width=1518&#x26;height=644" alt=""><figcaption></figcaption></figure>

The Slug is used to reference this table and may only contain alphanumeric characters. Note that this slug is used in referencing the email template

* Click on **Save**

  <figure><img src="/files/S2C0UpBGvn7DHYepVzud" alt=""><figcaption></figcaption></figure>

### Creating an item in a table

Click on the table you've created

From the context menu that pops up, select "**View**"<br>

<figure><img src="/files/HzsIxXMQG6lWtqRBSuqm" alt=""><figcaption></figcaption></figure>

Each item in a table is essentially a JSON document. This means you can build up a tree-structure of keys and values, where the values can be text, numbers, booleans, arrays or objects themselves. You can either enter a JSON document directly, using JSON syntax or you can use a UI editor to construct the JSON document.

#### JSON Editor

* Once you have saved, you will see a JSON editor. You can select either the Text or UI editor based on your preference.
* Update the lookup table using a JSON structure.

#### Adding an item

To add an item in a JSON for organization, click on +Add Item on the left pane.

* Type a name on the top
* Click on Add Item button
* Once created, you can see the item created on the left pane.

#### Write the JSON

Use the JSON format to define any object structure and key-value pairs below:

For example, a JSON which gives countryname and local currency based on country abbreviation

```
{

 "NL": {

   "countryname": "Netherlands",

   "local_currency": "EUR"

 },

 "US": {

   "countryname": "United States",

   "local_currency": "USD"

 }

}
```

You can also use the UI editor to define the JSON structure.

<figure><img src="/files/FPESZgQF6SRGI1mdwMe3" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.bird.com/applications/content/lookup-tables/create-a-lookup-table.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
