# Airtable

Use Airtable as a simple token-backed REST integration.

## Connection fields

- `token` — Airtable Personal Access Token
- `base_id` — Airtable base ID (visible in the URL: `https://airtable.com/appXXXXXXXX/...`)
- `table_name` — name of the table to operate on

## Setup

Collect all three fields from the user. The PAT needs at minimum:

- **read data / records** and **read schema / metadata** scopes
- access granted to the target base

Add write scopes only if the user wants to create, update, or delete records.

## Implementation notes

- use `requests` or Python stdlib HTTP from `bash`
- inspect schema first when the table shape is unknown
- use the metadata API when field names matter
