Create
Create Airtable records (single or batch)
Create
Create Airtable records (single or batch)
yaml
type: io.kestra.plugin.airtable.records.CreateExamples
yaml
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
yaml
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
yaml
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() }}"
Properties
apiKey *Requiredstring
baseId *Requiredstring
tableId *Requiredstring
fields object
records array
SubTypeobject
typecast booleanstring
Default
falseOutputs
record object
recordIds array
SubTypestring
records array
SubTypeobject