In this guide, we'll import episodes from a podcast RSS feed to Airtable. We'll use the Data Fetcher Airtable extension to import the title, description, URL and duration for each episode. We'll also import the MP3 content of each episode as an Airtable attachment file. Finaly, we'll set the import to run on a schedule.
Install Data Fetcher from the Airtable marketplace. Data Fetcher is a free Airtable extension that lets you connect to any XML, JSON or CSV API. After the extension launches, sign up for a free Data Fetcher account by entering a password and clicking 'Sign up for free'.
On the home screen of Data Fetcher, click 'Create your first request'. Requests in Data Fetcher are how you import data to or send data from your Airtable base.
On the create request screen in Data Fetcher, for Application, select 'Custom'.
Enter a Name for your request, e.g. 'Import Podcast Episodes'.
Enter the URL for the podcast RSS feed your want to import into Airtable. For this tutorial, we will use the More or Less podcast from the BBC. The URL for this podcast's feed is https://podcasts.files.bbci.co.uk/p02nrss1.rss
. You can use whatever podcast feed URL you want to!
Select the Output Table & View you want to import the podcast episodes into.
Click 'Save & Run'.
The request will run and the Response field mapping modal will open. This is where you set how the fields from the podcast feed should map to fields in the output table. For each field name in the podcast feed, 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. You can also set the field type for each new field.
The important fields to import are below. Use the search bar to find them.
Click 'Save & Run'.
Data Fetcher will create any new fields in the output table, then run the request and import the podcast episodes into Airtable.
Finally, we want to ensure Data Fetcher can match up items in the podcast feed with records in Airtable, even if we move those records around. To do this, click 'Advanced settings' to open the advanced output settings. Then for Update Based on Field, select 'Rss channel item guid'. Then click 'Save'.
At the moment, we have to click 'Run' in order to import the episodes from the podcast RSS feed. We can use Data Fetcher's scheduled requests feature to automatically import them every 15 minutes/ hour/ day etc.
In Data Fetcher, scroll to Schedule and click 'Upgrade'.
A new tab will open where you can select a plan and enter your payment details to upgrade.
Return to the Data Fetcher extension and click 'I've done this'.
Under Schedule click '+ Authorize'.
A window will open for you to authorize the Airtable bases that Data Fetcher can have access to. It's recommended that you select 'All current and future bases in all current and future workspaces'. This will avoid any issues with unauthorized bases in the future.
Click 'Grant access'.
In Data Fetcher, Schedule this request will now be toggled to on.
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 the podcast episodes feed automatically.
Instead of manually entering the podcast URL in Data Fetcher, we can reference podcast RSS feeds in your base. Let's assume you've got a 'Podcasts' table with the RSS feeds in a field called 'RSS Feed'.
In Data Fetcher, clear the URL field. We're going to replace it with a reference to the 'RSS Feed' field in our 'Podcasts' table. Then click the '+' icon on the right-hand side of the input.
For Table, select 'Podcasts'. For Field, select 'RSS Feed'. Then click 'Confirm'.
The URL field will now have a reference to the 'RSS Feed' field in our 'Podcasts' table.
Data Fetcher will automatically change the Output table to the 'Podcasts' table. Normally this is useful, but here we want to keep the original output table. Change it back to 'Table 1', or whatever table you originally used.
Click 'Save & Run'.
Feb 10, 2022
•Andy Cloke
•RSS