> 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/~/changes/155/integrations/airtable/template-designer-v2.md).

# Template Designer v2

Documint connects with Airtable by auto-mapping fields and showing their types and relationships in the Schema Designer, making it easy to build dynamic templates.

## Mapping Data From the Airtable App

{% embed url="<https://youtu.be/eZutlqR9Dfo>" %}

1. **Select Airtable Connection**

In the Data pane, click on the Airtable option under Source.&#x20;

<div data-full-width="false"><figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2F02DH3wQtnNvm3N0GK17r%2FScreenshot%202025-08-29%20at%2014.40.39.png?alt=media&amp;token=2917baa9-d106-4075-80ce-627b2394175e" alt=""><figcaption></figcaption></figure></div>

Then, choose the Airtable connection you want to link to the template.&#x20;

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FuhIVkaR7emuRLXVoeSO8%2FScreenshot%202025-08-29%20at%2014.46.49.png?alt=media&amp;token=0d8f1e43-f762-4000-9a5f-1160185a8b9e" alt="" width="563"><figcaption></figcaption></figure>

If you haven't created an Airtable connection yet, this option will show up allowing you to set one up by entering the [PAT key](https://docs.documint.me/~/changes/155/integrations/airtable/add-your-airtable-personal-access-token.md).

<div><figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FRCqEcOrY3USBg2FVauRq%2FScreenshot%202025-08-29%20at%2014.51.19.png?alt=media&amp;token=25d2d632-7afd-453b-92d5-fd0d0df8956b" alt=""><figcaption></figcaption></figure> <figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FCEmooSgebfNskY7OSXyq%2FScreenshot%202025-08-29%20at%2014.52.27.png?alt=media&amp;token=6d444f52-e1c1-4400-9527-24db26498f30" alt=""><figcaption></figcaption></figure></div>

2. **Select Base**

Now, select the base you want to use for generating your PDFs.

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2Fc7h6hw8yD8fKdeCm5gmK%2FScreenshot%202025-08-29%20at%2015.00.08.png?alt=media&amp;token=6e50414b-8b28-4c04-aa8b-6bed6cbd6d67" alt="" width="563"><figcaption></figcaption></figure>

3. **Select Table**

And now, the table.

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2Fn73NR0YixzfxF2HgNY1n%2FScreenshot%202025-08-29%20at%2015.01.16.png?alt=media&amp;token=71cecc50-b502-438f-9fb7-d53d55ec1213" alt="" width="563"><figcaption></figcaption></figure>

Don't forget to expand the linked records to have access to that data.&#x20;

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FnwLp26plDdV0mwu8sjvg%2Fat%20connection.gif?alt=media&amp;token=d113d50e-f197-4f86-8694-7862c902a2c4" alt="" width="563"><figcaption></figcaption></figure>

## Schema Designer Airtable Integration Setup

{% embed url="<https://youtu.be/QROhqv0--eo>" %}

### Token & Token Types

Tokens are placeholders that represent fields from your Airtable base. When you connect Airtable, Documint automatically maps each field to its appropriate type, so you can use them directly in your templates without manual configuration.

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FxA1m0s7JSHOQ3n8SAhm5%2FScreenshot%202025-08-29%20at%2015.12.19.png?alt=media&amp;token=a4fe7fd2-cc5d-43e5-81b0-0b755bd062e6" alt="" width="72"><figcaption></figcaption></figure>

#### Types

1. **String** – text values (names, descriptions, addresses).
2. **Number** – numeric values (prices, quantities, percentages).
3. **Boolean** – true/false values.
4. **Date/Time** – timestamps or dates.
5. **Object** – structured data with multiple properties (e.g., customer with name + email).
6. **Collection** – arrays of objects (e.g., invoice line items).
7. **List** – simple arrays of values (tags, phone numbers, dates).

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2F7ETo4S97Xasr5ANotGlN%2FScreenshot%202025-08-29%20at%2015.13.38.png?alt=media&amp;token=310ac0c3-9498-4c13-a753-18ea5c57bd40" alt="" width="333"><figcaption></figcaption></figure>

Tokens can be edited. Just click on it and head over to the properties tab! If you prefer, you can also click on the cog icon, and the same handy pop-up will pop up for you.

1. String

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2Fpz7GxlY2LtFlMKrsNQm1%2FScreenshot%202025-08-29%20at%2015.10.06.png?alt=media&amp;token=72a5406d-47dc-4691-a542-6806db3ec961" alt="" width="375"><figcaption></figcaption></figure>

2. Number

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FyUxYjBWIiz8HzzZ9dYfv%2FScreenshot%202025-08-29%20at%2015.14.59.png?alt=media&amp;token=4411783b-f63c-4bdd-ac22-4c4eb4f8423b" alt="" width="375"><figcaption></figcaption></figure>

3. Date/Time

<figure><img src="https://1903534506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTY5wPd81K7B5rjyG5tjS%2Fuploads%2FX1FdibpqmijzYDO0uDEy%2FScreenshot%202025-08-29%20at%2015.15.23.png?alt=media&amp;token=003da064-3ec4-4ff4-890d-2e19f427e09c" alt="" width="375"><figcaption></figcaption></figure>

With tokens and automatic field mapping, you can quickly build dynamic, data-driven documents without any manual setup.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.documint.me/~/changes/155/integrations/airtable/template-designer-v2.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
