Package Information
Documentation
n8n-nodes-airtable-declarative
This is an n8n node developed using the declarative style for creating Airtable bases. It provides a simple and straightforward way to create new Airtable bases with predefined structures using JSON templates. UPwork
n8n is a fair-code licensed workflow automation platform.
Features
- Simple Base Creation: Create new Airtable bases with a single operation.
- JSON-Based Structure: Define your base structure using a simple JSON format.
- Predefined Templates: Comes with example templates for common base structures.
- Enterprise API Support: Works with Airtable Enterprise API for automated base creation.
Installation
To use this node, you need to install it manually in your n8n instance.
Manual Installation
- Navigate to your n8n custom nodes directory (usually
~/.n8n/custom/). - Run the following command:
npm install n8n-nodes-airtable-declarative - Restart your n8n instance.
If you are using Docker, you may need to add this installation step to your Dockerfile and rebuild the container for the changes to take effect.
Usage
This node is designed to be as simple as possible, with just two main inputs:
- Base Name: The name for your new Airtable base.
- Base Structure: A JSON template defining your tables and fields.
Example Base Structure
{
"tables": [
{
"name": "Apartments",
"description": "A to-do list of places to visit",
"fields": [
{
"name": "Name",
"type": "singleLineText",
"description": "Name of the apartment"
},
{
"name": "Address",
"type": "singleLineText"
},
{
"name": "Visited",
"type": "checkbox",
"options": {
"color": "greenBright",
"icon": "check"
}
}
]
}
]
}
Supported Field Types
The node supports all standard Airtable field types, including:
singleLineTextmultilineTextcheckboxsingleSelectmultipleSelectdatenumbercurrencyemailurl- And more...
Credentials
To use this node, you need to configure Airtable Enterprise API credentials:
- Go to the "Developer Hub" section in your Airtable account settings to generate an Access Token.
- Get the Workspace ID from your Airtable workspace URL.
- In n8n, create a new credential of type
Airtable Enterprise API. - Enter your
Access TokenandWorkspace ID.
Quick Start
- Add an
Airtable Createnode to your workflow. - Configure the
Airtable Enterprise APIcredentials. - Enter a name for your new base.
- Use the provided JSON template or paste your own base structure.
- Execute the node to create your base.
Resources
License
This project is licensed under the MIT License.