airtable.json•7.54 kB
{
"nodeType": "n8n-nodes-base.airtable",
"displayName": "Airtable",
"description": null,
"version": "2.1",
"properties": [
{
"name": "authentication",
"displayName": "Authentication",
"type": "options",
"default": "airtableApi",
"options": [
{
"name": "Access Token",
"value": "airtableTokenApi"
},
{
"name": "OAuth2",
"value": "airtableOAuth2Api"
},
{
"name": "API Key (Deprecated)",
"value": "airtableApi"
}
]
},
{
"name": "deprecated",
"displayName": "This type of connection (API Key) was deprecated and can't be used anymore. Please create a new credential of type 'Access Token' instead.",
"type": "notice",
"default": "",
"displayOptions": {
"show": {
"authentication": [
"airtableApi"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "read",
"description": "Append the data to a table",
"options": [
{
"name": "Append",
"value": "append",
"description": "Append the data to a table"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete data from a table"
},
{
"name": "List",
"value": "list",
"description": "List data from a table"
},
{
"name": "Read",
"value": "read",
"description": "Read data from a table"
},
{
"name": "Update",
"value": "update",
"description": "Update data in a table"
}
]
},
{
"name": "application",
"displayName": "Base",
"type": "resourceLocator",
"default": "{ mode: 'url', value: '' }",
"description": "The Airtable Base in which to operate on",
"placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
"required": true
},
{
"name": "table",
"displayName": "Table",
"type": "resourceLocator",
"default": "{ mode: 'url', value: '' }",
"placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
"required": true
},
{
"name": "addAllFields",
"displayName": "Add All Fields",
"type": "boolean",
"default": true,
"description": "Whether all fields should be sent to Airtable or only specific ones",
"displayOptions": {
"show": {
"operation": [
"append"
]
}
}
},
{
"name": "fields",
"displayName": "Fields",
"type": "string",
"default": [],
"description": "The name of fields for which data should be sent to Airtable",
"placeholder": "Name",
"required": true,
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"addAllFields": [
false
],
"operation": [
"append"
]
}
}
},
{
"name": "id",
"displayName": "ID",
"type": "string",
"default": "",
"description": "ID of the record to delete",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": true,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 100,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 100
},
"displayOptions": {
"show": {
"operation": [
"list"
],
"returnAll": [
false
]
}
}
},
{
"name": "downloadAttachments",
"displayName": "Download Attachments",
"type": "boolean",
"default": false,
"description": "Whether the attachment fields define in 'Download Fields' will be downloaded",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
{
"name": "downloadFieldNames",
"displayName": "Download Fields",
"type": "string",
"default": "",
"description": "Name of the fields of type 'attachment' that should be downloaded. Multiple ones can be defined separated by comma. Case sensitive and cannot include spaces after a comma.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"list"
],
"downloadAttachments": [
true
]
}
}
},
{
"name": "additionalOptions",
"displayName": "Additional Options",
"type": "collection",
"default": {},
"description": "Additional options which decide which records should be returned",
"placeholder": "Add option",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
{
"name": "updateAllFields",
"displayName": "Update All Fields",
"type": "boolean",
"default": true,
"description": "Whether all fields should be sent to Airtable or only specific ones",
"displayOptions": {
"show": {
"operation": [
"update"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Number of records to process at once",
"placeholder": "Add option",
"options": [
{
"name": "bulkSize",
"displayName": "Bulk Size",
"type": "number",
"default": 10,
"description": "Number of records to process at once"
}
],
"typeOptions": {
"minValue": 1,
"maxValue": 10
},
"displayOptions": {
"show": {
"operation": [
"append",
"delete",
"update"
]
}
}
}
],
"credentialsConfig": [
{
"name": "airtableApi",
"required": true
},
{
"name": "authentication",
"required": false
},
{
"name": "deprecated",
"required": false
},
{
"name": "application",
"required": true
},
{
"name": "id",
"required": false
},
{
"name": "table",
"required": true
},
{
"name": "id",
"required": false
},
{
"name": "addAllFields",
"required": true
},
{
"name": "view",
"required": false
},
{
"name": "id",
"required": true
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}