Import Clearbit Company Data for URLs in Airtable

In this guide, we'll import company data for a list of company URLs in Airtable. We'll use the Data Fetcher app and the Clearbit API to find company data such as name, industry and address. This guide is 100% no-code.

Create Companies Table

Create a table in your base called 'Companies'. If you already have a table with the company URLs in it, you can follow this guide with the equivalent fields in your existing table.

Add a field called 'URL' with type 'URL'. Add the URLs you want to get company data for in this field.

Screenshot 2021-09-30 at 11.26.27.png

Create a Grid view in the 'Companies' table called 'To process' with the following filters:

  • 'URL' is not empty.
  • 'Name' is empty.
Screenshot 2021-09-30 at 11.27.23.png

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'.

Group 1Data Fetcher Sign Up .png

Lookup Clearbit Company Data for URLs 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.

click-create-your-first-request.png

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

clearbit-application-selected.png

Clearbit provides data for companies based on a URL, so we can use it to enrich our list of company URLs. If you do not have a Clearbit account, sign up for one here first. Next, find your Clearbit API key here in the Clearbit dashboard.

find-your-clearbit-api-key.png

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

clearbit-authorization-api-key.png

For Endpoint, select 'Look up company info from domain(s)'.

clearbit-company-info-endpoint.png

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

clearbit-company-data-save-continue.png

For Company domain, we want to insert a reference to our 'URL' field. First click the + button.

clearbit-company-domain-add-icon.png

A modal will open where we can create the table reference. For Field, select 'URL'.

clearbit-company-domain-url-field-reference.png

Click 'Confirm'.

clearbit-company-domain-confirm.png

The Company domain field should now contain a reference to the table.

clearbit-company-domain-reference.png

Make sure the Output Table & View is set to 'Companies' and 'To process'.

clearbit-companies-output-table.png

Click 'Save & Run'.

clearbit-company-data-save-run.png

The request will run and the Response field mapping modal will open. This is where you set how the fields from Clearbit should map to fields in the output table. For each Clearbit field, you can either import or filter it. For an imported field, you can set whether to map them to an existing field or create a new field.

Make sure the 'Name' field is mapped to the existing 'Name' field. Import any other fields you want. Then click 'Save & Run'. Import any other fields you want. Then click 'Save & Run'.

clearbit-company-data-response-field-mapping.png

Data Fetcher will create any fields that need to be created in the output table, then run the request and import company data for your list of URLs Clearbit API.

clearbit-company-data-imported-data.png

Import Company Data Automatically

At the moment, we have to manually run the request to import company data. We can use Data Fetcher's scheduled requests feature to enrich them every 15 minutes/ hour/ day etc.

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

table-1-schedule-upgrade-button.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".

table-1-schedule-ive-done-this-button.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'.

save-airtable-api-key.png

Enable Schedule this request.

schedule-data-fetcher-request.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 import company data from Clearbit automatically.

Group 11(2).png