Feedspor Internet Solutions

How to Pull RSS Feeds into Google Sheets with IMPORTFEED

18 de agosto de 20268 min de leituraAutomação de conteúdo
How to Pull RSS Feeds into Google Sheets with IMPORTFEED

Short answer: Google Sheets can read RSS and Atom feeds with the built-in IMPORTFEED function, for example =IMPORTFEED("https://example.com/feed/", "items", TRUE, 20), which returns the latest 20 items with headers. It is ideal for quick content trackers, curation shortlists and simple dashboards. Its limits are that it only shows what the feed currently contains, refreshes on Google’s schedule rather than instantly, and does not keep history, so for a permanent log you need a snapshot script or an automation platform that appends rows.

Why put feeds in a spreadsheet?

Feed readers are great for reading. Spreadsheets are great for working with information: sorting, filtering, adding notes, assigning owners and sharing with colleagues who will never install a feed reader. Pulling feeds into Google Sheets bridges the two.

Typical uses include:

It is also one of the fastest ways to inspect a feed. Paste a URL into the formula, and you see immediately whether titles, dates and summaries are clean.

How IMPORTFEED works

The syntax is IMPORTFEED(url, [query], [headers], [num_items]):

Google’s own Sheets help documentation describes the function and its options in full. Because it is a standard function, it works in shared sheets and needs no add-ons or scripts.

Step by step: a multi-source tracker

  1. Create a “Sources” tab with one feed URL per row in column A and a short source name in column B.
  2. Create a tab per source, or a section per source on one tab, with a formula such as =IMPORTFEED(Sources!A2, "items", TRUE, 15).
  3. Add a combined view. Use array formulas to stack the ranges from each source into one list, adding the source name as a column. For example, a QUERY or VSTACK formula can combine the ranges.
  4. Sort by date with SORT on the date column, newest first.
  5. Filter by keyword with FILTER and REGEXMATCH, for example keeping rows whose title contains any of your topic words.
  6. Add a manual column such as “Use in newsletter?” Be careful: manual notes next to imported data can end up next to the wrong item when the feed updates and rows shift. Keep manual notes on a separate tab keyed by the item URL, and look them up with XLOOKUP or VLOOKUP.

Refresh behaviour and limits

IMPORTFEED is convenient, but it is not a real-time system. Understanding its behaviour prevents surprises.

Keeping a permanent log

For an archive of every item ever published by a source, IMPORTFEED alone is not enough. There are two common solutions.

Apps Script snapshot

A short Google Apps Script with a time-driven trigger can fetch the feed or read the IMPORTFEED range, compare item URLs with those already stored on a “Log” tab and append only new ones with a timestamp. This keeps a permanent history and costs nothing beyond a little setup time. It needs someone comfortable with basic JavaScript.

Automation platform

Zapier, Make, n8n and similar tools can watch a feed and add a row to a Google Sheet for every new item. This is the no-code way to build a log, and it records items as they appear rather than relying on the feed’s current contents. Costs grow with the number of items.

Whichever you use, store the item URL as the unique key, so the same item is never logged twice.

Practical examples

Use case Approach Why
Quick look at a feed’s quality IMPORTFEED only Instant, no setup
Weekly curation shortlist IMPORTFEED + FILTER, notes on a separate tab Live list, easy to share
Complete content archive Apps Script or automation platform appending rows Keeps items after they leave the feed
Team competitor tracker Automation platform appending rows, sheet shared Reliable history, no formula errors

Related import functions and when to use them

IMPORTFEED has three siblings in Google Sheets, and people often reach for them when a site has no feed. Each has a place, but also clear limits.

For article lists, a proper feed is almost always more robust than IMPORTHTML or IMPORTXML, because feeds are designed to be read by machines and change far less often than page layouts. If you find yourself writing XPath to extract headlines from a news page, it is usually a sign that you should create a feed from that page instead and import the feed.

All four functions share the same refresh behaviour and are subject to the same blocking and timeout issues, so the troubleshooting steps below apply to all of them.

Making the sources behave

A spreadsheet tracker is only as reliable as its feeds. Three problems come up constantly: sources without a feed, sources whose feed includes far more than you need, and the same story appearing from several sources.

Feeds addresses all three before the data reaches your sheet. It creates an RSS feed from any page that lists articles, merges several sources into one feed, keeps or drops items by keyword and removes duplicates automatically. Instead of a dozen IMPORTFEED formulas and a complex combining formula, you can point one IMPORTFEED at one merged, filtered feed. The feed refreshes by itself on the service side too. You can try it on one website for free; the pricing page covers merged feeds and limits.

Troubleshooting IMPORTFEED errors

  1. “Could not fetch url”: open the feed URL in a browser. If it works there, the site may be blocking Google’s servers or the fetch timed out; try again later or use another source.
  2. “Imported content is empty”: the URL is a web page, not a feed, or the feed has no items. Check that the address returns XML.
  3. Parse errors: the feed contains invalid XML. A feed validator will point to the problem.
  4. Stale data: force a refresh by editing the formula slightly, for example changing num_items, then changing it back.
  5. Misaligned notes: manual notes were typed next to imported rows. Move them to a separate tab keyed by URL.

Related reading

The bottom line

IMPORTFEED is the quickest way to bring RSS into Google Sheets for trackers, shortlists and quick feed inspections. Combine sources with array formulas, filter with REGEXMATCH and keep manual notes on a separate tab keyed by URL. When you need a permanent history or reliability, add an Apps Script snapshot or an automation platform that appends rows, and start from clean, merged feeds.

FAQ

Does IMPORTFEED work with Atom feeds?

Yes. IMPORTFEED reads both RSS and Atom feeds and returns the same kinds of fields, such as title, URL, date and summary.

How often does IMPORTFEED refresh?

Google refreshes external data functions periodically, typically around once an hour, and when the formula changes. There is no setting for an exact refresh interval.

Can IMPORTFEED keep old items after they leave the feed?

No. It only shows the feed’s current contents. To keep history, append new items to a log with Apps Script or an automation platform.

Can I use IMPORTFEED on a website without RSS?

Not directly, because it needs a feed URL. Create a feed from the page that lists the site’s articles first, then import that feed.

Why does IMPORTFEED show an error for a feed that works in my browser?

The site may block or rate-limit requests from Google’s servers, or the request timed out. Waiting and retrying sometimes helps; otherwise use a different feed URL for the same content.

#Automation tools#Content curation#RSS automation
Crie seu primeiro feed — grátis.Um feed de qualquer página. Cada produto em cada catálogo.
Comece grátis
Internet Solutions

Mais da nossa equipe

Feitas pela Internet Solutions. Experimente nossos outros produtos — cada um economiza seu tempo de um jeito diferente.

internet-solutions.net ↗
Feeds
Visão geral de privacidade

Este site usa cookies para oferecer a melhor experiência de usuário possível. As informações dos cookies ficam armazenadas no seu navegador e servem para, por exemplo, reconhecer você quando volta ao nosso site e ajudar nossa equipe a entender quais seções do site você acha mais interessantes e úteis.