Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!

Airtable - How to sync records from Google Sheets to Airtable in Automations

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Mihai_David
Support
Support

Airtable - How to sync records from Google Sheets to Airtable in Automations

Last Update:

Sep 9, 2021 5:51:50 AM

Updated By:

Mihai_David

Created date:

Sep 9, 2021 5:15:45 AM

Attachments

This article explains how to sync records from Google Sheets to Airtable. More precisely, it demonstrates how to use the One-way data synchronization pattern for a product data feed.

Here's an example of the sheet used in this articleHere's an example of the sheet used in this article

1. Create a new automation

2. Search for the Google Sheets connector using the left menu

Mihai_David_1-1629369836769.png3. For performance reasons, we will retrieve data incrementally from the source as opposed to getting all data from the source on each run.

Select the Google Sheets connector and use the 'Search for blocks' input to search for the 'List New And Updated Rows Incrementally' block.  

Mihai_David_2-1629369973936.png

4.  Drag and drop the block into the automation and link it to the start block.

Mihai_David_4-1629370471286.png

4.  Go to the "Inputs" tab of the block's menu and fill in the necessary fields.

Mihai_David_1-1629373596014.png

Mihai_David_2-1629373628470.png

5. Create the Airtable table. Make sure you add all required columns as the Airtable block will not add them automatically

Mihai_David_2-1629372991197.png

6. Search for the 'Upsert Record' block in the 'Airtable' connector and place it inside the loop. Then fill in the required fields

Mihai_David_1-1629372903540.png

Mihai_David_0-1629373366260.png

The 'Record Values' raw input looks like this:

 

{
  "id": "{ $.GoogleSheetListNewAndUpdatedRowsIncrementally.item.row.id }",
  "name": "{ $.GoogleSheetListNewAndUpdatedRowsIncrementally.item.row.name }",
  "description": "{ $.GoogleSheetListNewAndUpdatedRowsIncrementally.item.row.description }",
  "price": "{ $.GoogleSheetListNewAndUpdatedRowsIncrementally.item.row.price }",
  "currency": "EUR",
  "stock_quantity": "{ $.GoogleSheetListNewAndUpdatedRowsIncrementally.item.row.stock_quantity }"
}

 

7. Run the automation

Mihai_David_0-1629372740355.png

 

 

Tags (2)
Contributors
Version history
Last update:
‎2021-09-09 05:51 AM
Updated by: