How to Import Videos from YouTube URLs in Airtable

Oct 6, 2022Rosie Threlfall

In this easy-to-follow tutorial, we'll import YouTube videos for a list of URLs into Airtable. We'll use the Data Fetcher Airtable extension and Microlink to download the YouTube videos and then add them as attachment files in Airtable. This tutorial does not need any code, and Data Fetcher and Microlink are both free to start using.

N.B. Please always be aware that the videos will always remain the property of the YouTube channel or copyright holder after downloading them.

Set up Videos Table

First, create a table called 'Video' in your Airtable base.

Next, create a field called 'URL' and add the URLs of the YouTube videos to import. ⁠⁠Create another field called 'Video' with type 'Attachment'.

Import Youtube videos into Airtable

Create a new Grid view called 'Needs Video' with the following filters:

  • The 'URL' field is not empty.
  • ⁠The 'Video' field is empty.
Import Youtube to Airtable


Install Data Fetcher

Install Data Fetcher from the Airtable marketplace. After it launches, sign up for a free Data Fetcher account by entering a password and clicking 'Sign up for free', or by using your Google account. If you already have a Data Fetcher account, then click the 'Have an account?' text in the bottom left of the screen.

Group 1Data Fetcher Sign Up .png

Import YouTube Videos from URLs into Airtable

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

click-create-your-first-request.png

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

microlink-application-selected.png

For Endpoint, select 'Create videos from URLs'.

Youtube-3.jpg

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

Youtube-4.jpg

On the next screen, under URL we need to insert a reference to the values in our 'URL' Airtable field. To do this click the + button.

Youtube-5.jpg

On the modal that opens, select 'URL' for Field. Then select 'Needs video' for Run for every record in view. Then click 'Confirm'.

Youtube-6.jpg

URL should now contain a reference to your output table.

Youtube-7.jpg

Make sure the Output Table & View is set to 'Videos' and 'Needs Video'.

Youtube-8.jpg

Click 'Save & Run'.

Youtube-9.jpg

The request will run and the Response field mapping modal will open. This is where you set how to map the fields from Microlink to your fields in Airtable.

Click 'Filter all' to remove all the pre-selected fields, then use the 'Find field' search bar to locate the fields you want to import.

For this example, we'll import the 'Image url', 'Video' and 'Title' fields.

Make sure the 'Video' field is mapped to the existing 'Video' field.

Click 'Save & Run'.

Youtube-10.jpg

Data Fetcher will then run this request, download each YouTube video from the specified URLs, and add them as attachments to our 'Video' field. The Image URLs and titles will appear in the new fields that have also been created in the output table.

Youtube videos in Airtable

Note: if you run into Microlink's free plan limits, you can buy a Microlink paid plan here, set the Authorization type to 'Header' and enter your API Key to increase your limit.

microlink-authorization.png

Schedule YouTube Videos to Import into Airtable Automatically

At the moment, you'd need to manually run your Data Fetcher request to import any updates to these Youtube videos. It is possible to run the request automatically at regular intervals using Data Fetcher's paid scheduling feature.

You will need to upgrade your account to this, so in Data Fetcher, scroll to Schedule and click 'Upgrade'.

schedule-requests.png

Choose a plan from the different options depending on your needs and enter your payment details.

data fetcher upgrade pricing plans.png

Back in Data Fetcher, click 'I've done this'.

schedule-upgrade.png

Under Schedule click '+ Authorize'.

Schedule Data Fetcher

Next, a window will open and prompt you to authorize the Airtable bases you want Data Fetcher to have access to.

It's recommended to select 'All current and future bases in all current and future workspaces' to avoid any issues with unauthorized bases in the future.

Click 'Grant access'.

schedule-authorize-bases.png

Back in Data Fetcher, you'll see Schedule this request is now toggled on.

Select a schedule based on intervals of 'Minutes', 'Hours', 'Days' or 'Months'. Click 'Save', and any changes to the YouTube videos will automatically import from your specified URLs into your Airtable base.

Schedule this request

What is Microlink?

Microlink is a cloud-based service which provides a powerful API for automating browser actions. Data Fetcher's Microlink allows you to use it inside Airtable. In addition to importing YouTube videos, you can create screenshots from URLs or create PDF attachements from a list of URLs.

Related Posts

How to Convert URLs to PDFs in Airtable

How to Convert URLs to PDFs in Airtable

Feb 4, 2022

Andy Cloke

PDFmicrolink
How to Get Screenshots from URLs in Airtable

How to Get Screenshots from URLs in Airtable

May 10, 2021

Andy Cloke

microlinkScreenshot