✨Add documentation for Airtable Trigger node and update field names
@ -7,7 +7,7 @@ description: Learn to configure credentials for the Airtable node in n8n
|
||||
|
||||
You can use these credentials to authenticate the following nodes with Airtable.
|
||||
- [Airtable](../../nodes-library/nodes/Airtable/README.md)
|
||||
|
||||
- [Airtable Trigger](../../nodes-library/trigger-nodes/AirtableTrigger/README.md)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 134 KiB |
@ -52,24 +52,22 @@ The start node exists by default when you create a new workflow.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Airtable node. You can find out how to do that [here](../../../credentials/Airtable/README.md).
|
||||
2. Select the 'Append' option from the ***Operation*** dropdown list.
|
||||
3. Enter the application ID in the ***Application ID*** field. For obtaining the Application ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Application ID there.
|
||||
3. Enter the Base ID in the ***Base ID*** field. For obtaining the Base ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Base ID there.
|
||||
4. Enter the name of the table in the ***Table*** field.
|
||||
5. Click on ***Execute Node*** to run the workflow.
|
||||
|
||||

|
||||
|
||||
|
||||
### 4. Airtable1 node (List)
|
||||
|
||||
1. Select the credentials that you entered in the previous node.
|
||||
2. Select the 'List' option from the ***Operation*** dropdown list.
|
||||
3. Enter the application ID used in the previous node in the ***Application ID*** field.
|
||||
3. Enter the base ID used in the previous node in the ***Base ID*** field.
|
||||
4. Enter the name of the table used in the previous node in the ***Table*** field.
|
||||
5. Click on ***Execute Node*** to run the workflow.
|
||||
|
||||

|
||||
|
||||
|
||||
## Further Reading
|
||||
|
||||
- [Automating Conference Organization Processes with n8n](https://medium.com/n8n-io/automating-conference-organization-processes-with-n8n-ab8f64a7a520)
|
||||
|
||||
|
After Width: | Height: | Size: 158 KiB |
|
After Width: | Height: | Size: 165 KiB |
@ -0,0 +1,57 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.airtableTrigger
|
||||
description: Learn how to use the Airtable Trigger node in n8n
|
||||
---
|
||||
|
||||
# Airtable Trigger
|
||||
|
||||
[Airtable](https://airtable.com/) is a spreadsheet-database hybrid, with the features of a database but applied to a spreadsheet. The fields in an Airtable table are similar to cells in a spreadsheet, but have types such as 'checkbox', 'phone number', and 'drop-down list', and can reference file attachments like images.
|
||||
|
||||
::: tip 🔑 Credentials
|
||||
You can find authentication information for this node [here](../../../credentials/Airtable/README.md).
|
||||
:::
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to receive a Mattermost message when new data gets added to Airtable. You can also find the [workflow](https://n8n.io/workflows/799) on n8n.io. This example usage workflow would use the following nodes.
|
||||
- [Airtable Trigger]()
|
||||
- [Mattermost](../../nodes/Mattermost/README.md)
|
||||
|
||||
The final workflow should look like the following image.
|
||||
|
||||

|
||||
|
||||
### 1. Airtable Trigger node
|
||||
|
||||
The Airtable Trigger node will trigger the workflow when new data gets added to Airtable.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Airtable Trigger node. You can find out how to do that [here](../../../credentials/Airtable/README.md).
|
||||
2. Click on ***Add Poll Time*** and select 'Every Minute' from the ***Mode*** dropdown list. This will check Airtable every minute for new data entries.
|
||||
3. Enter the Base ID in the ***Base ID*** field. For obtaining the Base ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Base ID there.
|
||||
4. Enter the table name in the ***Table*** field.
|
||||
5. Enter a trigger field name in the ***Trigger Field*** field. If you don't have a 'Created Time' or 'Last modified time' field in your table, please create one.
|
||||
6. Click on ***Execute Node*** to run the node.
|
||||
|
||||
In the screenshot below, you will notice that the node returns the new data from Airtable. This output gets passed on to the next node in the workflow.
|
||||
|
||||

|
||||
|
||||
### 2. Mattermost node (post: message)
|
||||
|
||||
This node will send a message of the new data in the channel `Information Updated` in Mattermost. If you have a different channel, use that instead.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Mattermost node. You can find out how to do that [here](../../../credentials/Mattermost/README.md).
|
||||
::: v-pre
|
||||
2. Select a channel from the ***Channel ID*** dropdown list.
|
||||
3. Click on the gears icon next to the ***Message*** field and click on ***Add Expression***.
|
||||
4. Enter the following message in the ***Expression*** field:
|
||||
```
|
||||
New Data was added to Airtable.
|
||||
ID:{{$node["Airtable Trigger"].json["fields"]["id"]}}
|
||||
Name: {{$node["Airtable Trigger"].json["fields"]["name"]}}
|
||||
```
|
||||
5. Click on ***Execute Node*** to run the node.
|
||||
:::
|
||||
In the screenshot below, you will notice that the node sends a message in Mattermost about the new data that got added to Airtable.
|
||||
|
||||

|
||||
|
After Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 180 KiB After Width: | Height: | Size: 143 KiB |
@ -73,8 +73,8 @@ This node will store the data coming from the previous node in a table in Airtab
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Airtable node. You can find out how to do that [here](../../../credentials/Airtable/README.md).
|
||||
2. Select 'Append' from the ***Operation*** dropdown list.
|
||||
3. Enter the application ID in the ***Application ID*** field. For obtaining the Application ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Application ID under the Introduction section.
|
||||
4. In n8n, paste the ID of the base in the ***Application ID*** field.
|
||||
3. Enter the base ID in the ***Base ID*** field. For obtaining the Base ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Base ID under the Introduction section.
|
||||
4. In n8n, paste the ID of the base in the ***Base ID*** field.
|
||||
5. Enter the table name in the ***Table*** name field.
|
||||
6. Click on ***Execute Node*** to run the node.
|
||||
|
||||
|
||||