diff --git a/docs/nodes/credentials/Airtable/README.md b/docs/nodes/credentials/Airtable/README.md index 58f087590..779529a67 100644 --- a/docs/nodes/credentials/Airtable/README.md +++ b/docs/nodes/credentials/Airtable/README.md @@ -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 diff --git a/docs/nodes/nodes-library/nodes/Airtable/Airtable1_node.png b/docs/nodes/nodes-library/nodes/Airtable/Airtable1_node.png index aaefb8e3d..3d6fc2972 100644 Binary files a/docs/nodes/nodes-library/nodes/Airtable/Airtable1_node.png and b/docs/nodes/nodes-library/nodes/Airtable/Airtable1_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Airtable/Airtable_node.png b/docs/nodes/nodes-library/nodes/Airtable/Airtable_node.png index 3e16ac31d..0d9085b3d 100644 Binary files a/docs/nodes/nodes-library/nodes/Airtable/Airtable_node.png and b/docs/nodes/nodes-library/nodes/Airtable/Airtable_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Airtable/README.md b/docs/nodes/nodes-library/nodes/Airtable/README.md index ff50aa0a8..cfccc273c 100644 --- a/docs/nodes/nodes-library/nodes/Airtable/README.md +++ b/docs/nodes/nodes-library/nodes/Airtable/README.md @@ -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. ![Using the Airtable node to insert data into an Airtable table](./Airtable_node.png) - ### 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. ![Using the Airtable node to read data from an Airtable table](./Airtable1_node.png) - ## Further Reading - [Automating Conference Organization Processes with n8n](https://medium.com/n8n-io/automating-conference-organization-processes-with-n8n-ab8f64a7a520) diff --git a/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/AirtableTrigger_node.png b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/AirtableTrigger_node.png new file mode 100644 index 000000000..2d9a9c3aa Binary files /dev/null and b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/AirtableTrigger_node.png differ diff --git a/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/Mattermost_node.png b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/Mattermost_node.png new file mode 100644 index 000000000..12c9ef2c5 Binary files /dev/null and b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/Mattermost_node.png differ diff --git a/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/README.md b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/README.md new file mode 100644 index 000000000..3bfd266c0 --- /dev/null +++ b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/README.md @@ -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. + +![A workflow with the Airtable Trigger node](./workflow.png) + +### 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. + +![Using the Airtable Trigger node to trigger the workflow](./AirtableTrigger_node.png) + +### 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. + +![Using the Mattermost node to send a message of the new data](./Mattermost_node.png) diff --git a/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/workflow.png b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/workflow.png new file mode 100644 index 000000000..be1d0077a Binary files /dev/null and b/docs/nodes/nodes-library/trigger-nodes/AirtableTrigger/workflow.png differ diff --git a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/Airtable_node.png b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/Airtable_node.png index 7bc3ca054..4d798df79 100644 Binary files a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/Airtable_node.png and b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/Airtable_node.png differ diff --git a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md index 4cb27c39d..154847e42 100644 --- a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md +++ b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md @@ -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.