
Airtable Update
CertifiedPatch fields on an Airtable record
Airtable Update
Patch fields on an Airtable record
Partially updates a record identified by recordId; only provided fields are patched. Typecast is off by default; enable to coerce string inputs to Airtable types.
type: io.kestra.plugin.airtable.records.UpdateExamples
Update task status
id: update_task_status
namespace: company.airtable
tasks:
- id: update_task
type: io.kestra.plugin.airtable.records.Update
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Tasks"
recordId: "recXXXXXXXXXXXXXX"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
fields:
"Status": "In Progress"
"Progress": 50
"Last Updated": "{{ now() }}"
typecast: true
Update customer information
id: update_customer
namespace: company.airtable
tasks:
- id: update_customer_info
type: io.kestra.plugin.airtable.records.Update
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Customers"
recordId: "{{ inputs.customer_record_id }}"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
fields:
"Email": "{{ inputs.new_email }}"
"Phone": "{{ inputs.new_phone }}"
"Last Contact": "{{ now() | date('yyyy-MM-dd') }}"
Update with conditional data
id: conditional_update
namespace: company.airtable
tasks:
- id: update_conditionally
type: io.kestra.plugin.airtable.records.Update
baseId: "{{ secret('AIRTABLE_BASE_ID') }}"
tableId: "Orders"
recordId: "{{ inputs.order_id }}"
apiKey: "{{ secret('AIRTABLE_PERSONAL_ACCESS_TOKEN') }}"
fields:
"Status": "{{ inputs.status }}"
"Completed Date": "{{ inputs.status == 'Completed' ? now() : null }}"
"Notes": "Updated via Kestra workflow"
Properties
apiKey *Requiredstring
API key
Airtable API key for authentication
baseId *Requiredstring
Airtable base ID
The ID of the Airtable base (starts with 'app')
fields *Requiredobject
Fields to update
Map of field names to new values. Only these fields will be updated.
recordId *Requiredstring
Record ID
The ID of the record to update (starts with 'rec')
tableId *Requiredstring
Table ID or name
The ID or name of the table within the base
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
typecast booleanstring
falseTypecast
Enable automatic data conversion from string values
Outputs
record object
Updated record
The updated Airtable record with id, createdTime, and all fields (including updated ones)
recordId string
Record ID
The ID of the updated record