Building a local business directory that updates itself is simpler than you think. We'll show you how to create an auto-updating climbing gym website using simple no-code tools.
We'll walk through connecting live business data to your website using Airtable as the database and Webflow for the front end. While we're using climbing gyms as our example, you can adapt this approach for any type of directory – from coworking spaces to remote jobs.
Here's what we'll use:
Whether you're building a niche local guide or planning to scale across multiple cities, this approach lets you focus on growing your directory rather than updating it.
First, we need to get business data flowing into our directory. We'll be using RapidAPI to access local business information, which we'll then store and manage in Airtable.
1. Go to RapidAPI.com and create a free account.
2. Find a local business data API in the API marketplace. We recommend this one.
3. Subscribe to the API. The free tier gives you 500 business results per month, which should be enough to follow this tutorial. Upgrade to a paid plan for more.
4. Make a note of your RapidAPI API key. You can see this in the sample request documentation for any API.
Let's set up our database to store both cities and climbing gyms. We'll start with two separate tables: one for cities we want to cover, and another for the gyms themselves.
Create a new base in Airtable and add a table called "Cities" with a single field:
Add the cities you want to cover, one per row. For example:
Create a second table called "Gyms" with these basic fields:
First, install Data Fetcher from the Airtable marketplace by clicking "Extensions" in the top right of your base and searching for "Data Fetcher." Once installed, sign up for a free Data Fetcher account. Now let's set up our first API request.
1. Click "Create request"
2. For Application, select "Custom" to enter our own API details
3. For URL, enter
https://local-business-data.p.rapidapi.com/search?limit=100&query=rock climbing gyms in
Note: The limit=100
parameter ensures you get comprehensive results for each city.
4. For the `query` URL parameter:
The `query` parameter in the URL will now have a reference to the "Name" field in our "Cities" table.
5. Click on the Headers tab and add:
x-rapidapi-host
: local-business-data.p.rapidapi.comx-rapidapi-key
: YOUR_RAPID_API_KEY6. Set Output Table to:
7. Name the request "Get Gyms for City".
1. Click Save & Run.
2. In the Response Field Mapping screen, map these fields:
3. On the Response Field Mapping screen, open the settings sidebar (top left) and find Advanced Settings.
4. Click Save & Run to import gyms for all your cities
To keep your Airtable database up-to-date, you can use Data Fetcher's schedule feature (requires a paid Data Fetcher plan):
Let's create a simple directory website with a homepage showing all gyms and individual pages for each location.
Use Webflow's "Generate Sample Items" so you can design your site with realistic data before connecting to Airtable.
Design your homepage however you'd like - add hero sections, navigation, or any other elements that match your vision. The key component we need is a Collection List to display our gyms:
Each gym will have its own page using a template you design. Access the template by opening the Gyms collection page in the Pages panel. Design the page layout however you'd like, making sure to add elements bound to your CMS data:
Finally, Publish your Webflow website.
Time to connect your database to your website! Whalesync acts as a bridge between Airtable and Webflow, ensuring any changes in your Airtable base are automatically reflected on your website. When Data Fetcher updates your Airtable database with new gyms, Whalesync will push those changes to your Webflow site in real-time.
1. Sign up for a Whalesync account and create a new sync
2. Connect your accounts
3. Map your "Cities" table:
4. Create a table mapping for "Gyms" too, and map the following fields:
5. Back in the Webflow CMS, delete all the sample collection items we created earlier. We only want the real local business data from Airtable.
6. In Whalesync, perform the intitial sync and then activate the sync.
Webflow automatically generates SEO-friendly URLs for each gym page. You can customize these in the Gyms collection settings if needed.
You now have a fully automated directory that:
Want to scale? Simply add more cities to your Airtable base, and watch your directory grow automatically!
Feb 3, 2022
•Andy Cloke
•Webflow