
Airtable Records Create
CertifiedCreate Airtable records (single or batch)
Airtable Records Create
Create Airtable records (single or batch)
Creates one record from fields or multiple records from records (max 10 per call). Typecast is off by default; enable it to coerce string values. fields and records are mutually exclusive.
type: io.kestra.plugin.airtable.records.CreateExamples
Create a single task record
id: create_airtable_task
namespace: company.airtable
tasks:
- id: create_task
type: io.kestra.plugin.airtable.records.Create
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Tasks"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
fields:
"Task Name": "Implement new feature"
"Status": "Todo"
"Priority": "High"
"Due Date": "2024-12-31"
typecast: true
Create multiple customer records
id: create_customers
namespace: company.airtable
tasks:
- id: create_customer_records
type: io.kestra.plugin.airtable.records.Create
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Customers"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
records:
- "Name": "Acme Corp"
"Email": "contact@acme.com"
"Status": "Active"
- "Name": "Beta Inc"
"Email": "hello@beta.com"
"Status": "Prospect"
typecast: true
Create record from dynamic data
id: create_from_input
namespace: company.airtable
inputs:
- id: customer_name
type: STRING
required: true
- id: product
type: STRING
required: true
- id: amount
type: FLOAT
required: true
tasks:
- id: create_dynamic_record
type: io.kestra.plugin.airtable.records.Create
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Orders"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
fields:
"Customer": "{{ inputs.customer_name }}"
"Product": "{{ inputs.product }}"
"Amount": "{{ inputs.amount }}"
"Order Date": "{{ now() }}"
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-airtable --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
apiKey *string
API key
Airtable API key for authentication
baseId *string
Airtable base ID
The ID of the Airtable base (starts with 'app')
tableId *string
Table ID or name
The ID or name of the table within the base
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150fields object
Fields for single record
Field values for creating a single record. Use this OR the records property, not both.
records array
Multiple records
List of records to create (max 10). Each record is a map of field names to values. Use this OR the fields property, not both.
typecast booleanstring
falseTypecast
Enable automatic data conversion from string values
Outputs
record object
Created record
The first created record (for single record creation or first of multiple)
recordIds array
Record IDs
List of IDs of the created records
records array
All created records
List of all created records