From 9fffb6dc9a8c441286a4e991a54c587b1dc3e9ff Mon Sep 17 00:00:00 2001 From: Harshil Date: Wed, 24 Mar 2021 13:35:05 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9A=A1Add=20faq=20for=20filter=20records?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/nodes/nodes-library/nodes/Airtable/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/nodes/nodes-library/nodes/Airtable/README.md b/docs/nodes/nodes-library/nodes/Airtable/README.md index 2de0cb070..9993a1c4f 100644 --- a/docs/nodes/nodes-library/nodes/Airtable/README.md +++ b/docs/nodes/nodes-library/nodes/Airtable/README.md @@ -128,6 +128,19 @@ To create a `Record ID` column in your table, refer to this [article](https://su To get the Record ID of your record, you can use the ***List*** operation of the Airtable node. This operation will return the Record ID along with the fields. You can then use this Record ID in your Airtable node. +### How to filter records when using the List operation? + +To filter records from your Airtable base, use the ***Filter By Formula*** option. For example, if you want to return all the users that belong to the organization `n8n`, follow the steps mentioned below +1. Select 'List' from the ***Operation*** dropdown list. +2. Enter the base Id and the table name in the ***Base ID*** and ***Table*** field, respectively. +3. Click on ***Add Option*** and select 'Filter By Formula' from the dropdown list. +4. Enter the following formula in the ***Filter By Formula*** field: `{Organization}='n8n'`. + +Similarly, if you want to return all the users that do not belong to the organization `n8n`, use the following formula: `NOT({Organization}='n8n')`. + +Refer to the Airtable [documentation](https://support.airtable.com/hc/en-us/articles/203255215-Formula-Field-Reference) to learn more about the formulas. + + ## Further Reading - [Automating Conference Organization Processes with n8n](https://medium.com/n8n-io/automating-conference-organization-processes-with-n8n-ab8f64a7a520) From bb81fff9259e578ed3a59c19593fff3e25f2a9ba Mon Sep 17 00:00:00 2001 From: Tanay Pant Date: Wed, 7 Apr 2021 10:59:49 +0200 Subject: [PATCH 2/2] :hammer: Minor changes --- docs/nodes/nodes-library/nodes/Airtable/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nodes/nodes-library/nodes/Airtable/README.md b/docs/nodes/nodes-library/nodes/Airtable/README.md index 9993a1c4f..38af22911 100644 --- a/docs/nodes/nodes-library/nodes/Airtable/README.md +++ b/docs/nodes/nodes-library/nodes/Airtable/README.md @@ -130,9 +130,9 @@ To get the Record ID of your record, you can use the ***List*** operation of the ### How to filter records when using the List operation? -To filter records from your Airtable base, use the ***Filter By Formula*** option. For example, if you want to return all the users that belong to the organization `n8n`, follow the steps mentioned below +To filter records from your Airtable base, use the ***Filter By Formula*** option. For example, if you want to return all the users that belong to the organization `n8n`, follow the steps mentioned below: 1. Select 'List' from the ***Operation*** dropdown list. -2. Enter the base Id and the table name in the ***Base ID*** and ***Table*** field, respectively. +2. Enter the base ID and the table name in the ***Base ID*** and ***Table*** field, respectively. 3. Click on ***Add Option*** and select 'Filter By Formula' from the dropdown list. 4. Enter the following formula in the ***Filter By Formula*** field: `{Organization}='n8n'`.