Database Operations
Work with your Base databases, tables, rows, and columns programmatically in your flows.
Database Hierarchy
Base Operations
Create Base
Create a new database with a name and optional description
Get Base
Retrieve base details by ID
List Bases
Get all bases accessible to the user
Search Bases
Find bases by name or description
Table Operations
Creates a new table in a base with the specified columns and configuration.
Returns the complete schema of a table including all columns, their types, and configurations.
Output:
{
"id": "tbl_abc123",
"name": "Customers",
"columns": [
{ "id": "col_1", "name": "name", "type": "text" },
{ "id": "col_2", "name": "email", "type": "email" },
{ "id": "col_3", "name": "status", "type": "select",
"options": ["active", "inactive"] }
]
}List Tables
Get all tables in a base
Duplicate Table
Create a copy of a table with data
Import Table
Import CSV/JSON data into table
Delete Table
Permanently delete a table
Row Operations
Creates a new row with the specified column values.
Output:
{
"id": "rec_xyz789",
"name": "John Smith",
"email": "john@example.com",
"status": "active",
"createdAt": "2025-01-15T10:30:00Z"
}Search for rows using column conditions. Supports multiple conditions with AND/OR logic.
Common Pattern: Process Search Results
Updates specific columns on an existing row. Only specified columns are modified; others remain unchanged.
Creates a row if it doesn't exist, or updates it if a matching row is found (based on a unique column like email).
Perfect for: Syncing data from external systems where you want to update existing rows or create new ones automatically.
Get Row
Retrieve a single row by ID
List Rows
Get all rows in a table
Delete Row
Permanently delete a row
Column Operations
Add Column
Add a new column to a table
Update Column
Modify column name or configuration
Convert Column Type
Change column type (e.g., text to number)
Duplicate Column
Create a copy of an existing column
Supported Column Types:
Common Patterns
Webhook to Database
Receive data via webhook, store in database, return the created row ID.
Data Sync
Fetch data from external API, iterate through results, upsert each row.
Table Event Handler
When a row changes, check conditions, update related rows.