Files
AutoGPT/docs/integrations/airtable/bases.md
Nicholas Tindle c1a1767034 feat(docs): Add block documentation auto-generation system (#11707)
- Add generate_block_docs.py script that introspects block code to
generate markdown
- Support manual content preservation via <!-- MANUAL: --> markers
- Add migrate_block_docs.py to preserve existing manual content from git
HEAD
- Add CI workflow (docs-block-sync.yml) to fail if docs drift from code
- Add Claude PR review workflow (docs-claude-review.yml) for doc changes
- Add manual LLM enhancement workflow (docs-enhance.yml)
- Add GitBook configuration (.gitbook.yaml, SUMMARY.md)
- Fix non-deterministic category ordering (categories is a set)
- Add comprehensive test suite (32 tests)
- Generate docs for 444 blocks with 66 preserved manual sections

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

<!-- Clearly explain the need for these changes: -->

### Changes 🏗️

<!-- Concisely describe all of the changes made in this pull request:
-->

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] Extensively test code generation for the docs pages



<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Introduces an automated documentation pipeline for blocks and
integrates it into CI.
> 
> - Adds `scripts/generate_block_docs.py` (+ tests) to introspect blocks
and generate `docs/integrations/**`, preserving `<!-- MANUAL: -->`
sections
> - New CI workflows: **docs-block-sync** (fails if docs drift),
**docs-claude-review** (AI review for block/docs PRs), and
**docs-enhance** (optional LLM improvements)
> - Updates existing Claude workflows to use `CLAUDE_CODE_OAUTH_TOKEN`
instead of `ANTHROPIC_API_KEY`
> - Improves numerous block descriptions/typos and links across backend
blocks to standardize docs output
> - Commits initial generated docs including
`docs/integrations/README.md` and many provider/category pages
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
631e53e0f6. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 07:03:19 +00:00

3.1 KiB

Airtable Bases

Blocks for creating and managing Airtable bases, which are the top-level containers for tables, records, and data in Airtable.

Airtable Create Base

What it is

Create or find a base in Airtable

How it works

This block creates a new Airtable base in a specified workspace, or finds an existing one with the same name. When creating, you can optionally define initial tables and their fields to set up the schema.

Enable find_existing to search for a base with the same name before creating a new one, preventing duplicates in your workspace.

Inputs

Input Description Type Required
workspace_id The workspace ID where the base will be created str Yes
name The name of the new base str Yes
find_existing If true, return existing base with same name instead of creating duplicate bool No
tables At least one table and field must be specified. Array of table objects to create in the base. Each table should have 'name' and 'fields' properties List[Dict[str, Any]] No

Outputs

Output Description Type
error Error message if the operation failed str
base_id The ID of the created or found base str
tables Array of table objects List[Dict[str, Any]]
table A single table object Dict[str, Any]
was_created True if a new base was created, False if existing was found bool

Possible use case

Project Setup: Automatically create new bases when projects start with predefined table structures.

Template Deployment: Deploy standardized base templates across teams or clients.

Multi-Tenant Apps: Create separate bases for each customer or project programmatically.


Airtable List Bases

What it is

List all bases in Airtable

How it works

This block retrieves a list of all Airtable bases accessible to your connected account. It returns basic information about each base including ID, name, and permission level.

Results are paginated; use the offset output to retrieve additional pages if there are more bases than returned in a single call.

Inputs

Input Description Type Required
trigger Trigger the block to run - value is ignored str No
offset Pagination offset from previous request str No

Outputs

Output Description Type
error Error message if the operation failed str
bases Array of base objects List[Dict[str, Any]]
offset Offset for next page (null if no more bases) str

Possible use case

Base Discovery: Find available bases for building dynamic dropdowns or navigation.

Inventory Management: List all bases in an organization for auditing or documentation.

Cross-Base Operations: Enumerate bases to perform operations across multiple databases.