In this tutorial, you will learn how to share data with Google BigQuery on example with Google Sheets and Google BigQuery automation scenario. You can also transfer data to Google BigQuery from various systems.
Connect the app
Firstly, set up the BigQuery connection. In this case, we need only one Google connection. Go the Apps section and click the Add a connection button. Select Google BigQuery from the list and click «Add a connection» button.
Create your own name and click the «Continue» button. The next step is to grant Albato access to your Google account.
If the data is not loaded for some reason, click the «Update» button or «Grant access to Albato».
IMPORTANT!!! Make sure Google BigQuery is ready to receive your data. For the automation to work successfully, we need to add Project, Data Set, Table to Google BigQuery. Adding these elements is beyond article.
For example, look on the screenshot:
Create an automation
Secondly, we create an automation. Open the Automations page and click the New button.
Step 1. Select Google Sheets to send the data from and the «New sheet row» event. Specify your connection, the spreadsheet and the sheet to take the data.
Click «Continue» button.
Step 2. Select BigQuery, «Insert Rows» action and your connection. Please notice, that three blocks highlighted on the screenshot can be filled with data only if they are set up and connected correctly in BigQuery. If you do not see your data, click the «Update» button. After updating, you will be able to select the required options.
Click «Continue» button.
Step 3. Now we need to fill in the fields. In our example, we are matching columns from Google BigQuery spreadsheet to columns from Google Sheets.
The field «Skip invalid rows» has two values: Yes (1) and No (0). This setting affect the readability of the data.
The fields that are highlighted in red Albato takes from the BigQuery spreadsheet settings, so the user’s task is to match them with the data from his Google Sheets.
Then click the «Continue» button and you will get the following result:
The automation is ready! You can start it now.
Now you know how to send information to a scalable and flexible database using the automation example of Google Sheets + Google BigQuery.