Airtable
The robomotion airtable CLI connects to Airtable's API to manage bases, tables, and records. It supports listing, creating, updating, deleting records (including bulk operations), searching with formula filters, and managing record comments.
When to use
- List, create, update, or delete records in Airtable tables
- Search records using Airtable formula filters
- Bulk create or delete up to 10 records at once
- List bases, get table schemas, and manage comments on records
Prerequisites
robomotionCLI installed- Package installed:
robomotion install airtable - Airtable API key configured via Robomotion vault
IMPORTANT: Session Mode Required for Multi-Step Operations
Each CLI command runs as a separate process — connection IDs from connect do NOT persist across calls.
You MUST use --session on connect and pass --session-id to all subsequent commands.
Workflow
- Install (once):
robomotion install airtable - Connect with session:
robomotion airtable connect --session --output json # → {"outKeyId":"<key-id>","session_id":"<session-id>"} - Use the returned
key-idandsession-idin all subsequent commands:robomotion airtable list_records --key-id "<key-id>" --base-id <base> --table-name <table> --session-id "<session-id>" --output json - Disconnect when done:
robomotion airtable disconnect --key-id "<key-id>" --session-id "<session-id>" --output json
Always append --output json to get structured JSON results.
Commands Reference
robomotion airtable connect --session --output jsonConnect to Airtable using an API key and return a key ID for subsequent operationsrobomotion airtable disconnect --key-id --session-id "<session-id>" --output jsonDisconnect from Airtable and release the API key connectionrobomotion airtable list_bases --key-id --session-id "<session-id>" --output jsonList all accessible Airtable bases for the authenticated userrobomotion airtable get_base_schema --key-id --base-id --session-id "<session-id>" --output jsonGet the schema of an Airtable base including tables and fieldsrobomotion airtable create_record --key-id --base-id --table-name --record --session-id "<session-id>" --output jsonCreate a new record in an Airtable tablerobomotion airtable read_record --key-id --base-id --table-name --record-id --session-id "<session-id>" --output jsonRead a single record from an Airtable table by its IDrobomotion airtable update_record --key-id --base-id --table-name --record --session-id "<session-id>" --output jsonUpdate an existing record in an Airtable tablerobomotion airtable delete_record --key-id --base-id --table-name --record-id --session-id "<session-id>" --output jsonDelete a record from an Airtable table by its IDrobomotion airtable list_records --key-id --base-id --table-name [--view-name] [--query] --session-id "<session-id>" --output jsonList records from an Airtable table with optional view and query filtersrobomotion airtable search_records --key-id --base-id --table-name --filter-formula [--max-records] [--sort-field] [--sort-direction] --session-id "<session-id>" --output jsonSearch for records in an Airtable table using a formula filterrobomotion airtable bulk_create_records --key-id --base-id --table-name --records --session-id "<session-id>" --output jsonCreate multiple records in an Airtable table at once (up to 10 records per request)robomotion airtable bulk_delete_records --key-id --base-id --table-name --record-ids --session-id "<session-id>" --output jsonDelete multiple records from an Airtable table at once (up to 10 records per request)robomotion airtable list_comments --key-id --base-id --table-name --record-id --session-id "<session-id>" --output jsonList all comments on a specific record in an Airtable tablerobomotion airtable create_comment --key-id --base-id --table-name --record-id --comment-text --session-id "<session-id>" --output jsonCreate a comment on a specific record in an Airtable table
Environment
- ROBOMOTION_API_TOKEN (if vault credentials are needed)