🔥 Google Sheets integration is live! Learn more

How to Look up the Weather Forecast in Airtable

May 12, 2022•Rosie Threlfall

In this guide, we'll learn how to look up the weather forecast in Airtable. We'll use the Data Fetcher Airtable app to connect Airtable to the OpenWeather API and import weather data such as temperature, humidity and wind speed.

We'll also schedule the weather forecast to sync with Airtable automatically.

Install Data Fetcher

Install Data Fetcher from the Airtable app marketplace. After the app launches, sign up for a free Data Fetcher account by entering a password and clicking 'Sign up for free'. If you already have a Data Fetcher account, sign in using the 'Have an account?' button at the bottom left of the box.

Data Fetcher Sign Up

Look Up The Weather Forecast in Airtable

On the home screen of the Data Fetcher app, click 'Create your first request'. Requests in Data Fetcher are how you import data to or send data from your Airtable base.

Create your first request

On the create request screen in Data Fetcher, for Application, select 'OpenWeather'.

OpenWeather add to Airtable

OpenWeather is an online service that provides global weather data. Either sign up for a free OpenWeather account or sign into your existing one. Your API Key can be found here.

OpenWeather API Key

Enter this API key into the API Key input in Data Fetcher.

clearbit-authorization-api-key.png

For Endpoint, select 'Current weather & forecast for location(s)'.

OpenWeather-Endpoint.png

Enter a Name for your request, e.g. 'Import Weather Forecast'. Then click 'Save & Continue'.

Import OpenWeather Data into Airtable

Enter the Latitude and Longitude for your location. For this example, we are using 51.503399 and -0.119519 which are the latitude and longitude of the London Eye. Lattitude and longitude will always be numerical values (no letters).

If you do not know your location's latitude and longitude, you can use Google Maps to find them.

OpenWeather Airtable Latitude Longitude

For Forecast choose either 'Hourly Forecast for 24hrs' or 'Daily Forecast for 7 Days'.

OpenWeather Forecast

Temperature Units are set as Celcius by default, or you can choose either Farenhight or Kelvin.

OpenWeather Temperature Units

You can set the Language for your weather forecast description. Or leave it blank to use English.

Select the Output Table & View in Airtable where you want to create your weather forecast. Click 'Save & Run'.

OutputTable.png

The request will run and the Response field mapping modal will open. This is where you set which fields to import from OpenWeather and how they should map to the fields in the output table.

You can easily find the fields you want to import using the 'Find field' search bar.

We are going to import the 'Hour', 'Temperature', 'Humidity', 'Wind speed' and 'Description' fields from OpenWeather into Airtable.

You can choose whether to add these to existing Airtable fields or to create new ones. You can also choose the type of any new field.

Click 'Save & Run'.

OpenWeather Data Fetcher Field Mapping

Data Fetcher will create any new fields that need to be created in the output table, then run the request again and import the weather forecast data from OpenWeather to Airtable. You can now view the output table in Airtable.

OpenWeather-Output-Table.jpg

Look Up the Weather Forecast Automatically

We can also use Data Fetcher's scheduled requests feature to automatically update the weather data in Airtable every 15 minutes/ hour/ day etc. To do this, you'll need a paid Data Fetcher account.

In Data Fetcher, scroll to Schedule and click 'Upgrade'.

Group 1(8).png

A new tab will open where you can select a plan and enter your payment details to upgrade.

Screenshot 2021-12-29 at 10.25.19.png

Return to the Data Fetcher app and click 'I've done this'.

Group 1(9).png

Click 'Add API key' in order to add your Airtable API key. You can find your Airtable API key here.

Group 11(1).png

Enter your Airtable API key and click 'Save'.

Group 1(10).png

Enable Schedule this request.

Group 1(12).png

Select how often you want the request to run, e.g. 'Every 15 mins'. Click 'Save'. The request will now run on the schedule and update our weather forecast automatically.

Group 11(2).png

Other Recent Posts

How to Import Google Calendar Events to Airtable

How to Import Google Calendar Events to Airtable

Sep 26, 2022

•

Rosie Threlfall

•Google Calendar
The Journey Bootstrapping a SaaS to $10k MRR

The Journey Bootstrapping a SaaS to $10k MRR

Sep 12, 2022

•

Andy Cloke

•BootstrappingData Fetcher
How to Import Zoho CRM Data to Airtable

How to Import Zoho CRM Data to Airtable

Sep 8, 2022

•

Rosie Threlfall

•