1. Import warehouse inventory feed
| Title | Description | pubDate |
| SKU: W-4521 | Chicago | On hand: 47, Reorder: 50, Cost: $12.45 | 2026-09-15T08:30:00Z |
| SKU: W-4521 | Detroit | On hand: 23, Reorder: 50, Cost: $12.45 | 2026-09-15T08:15:00Z |
| SKU: W-8847 | Chicago | On hand: 156, Reorder: 100, Cost: $8.99 | 2026-09-14T22:45:00Z |
=IMPORTFEED("https://warehouse.retailco.com/stock-feed.xml")
Result: 3 rows of warehouse inventory updates from the feed
IMPORTFEED parses the feed's XML and extracts each item as a row. The warehouse inventory feed embeds SKU, location, on-hand quantity, reorder point, and cost in the item title and description. Each warehouse location appears as a separate feed entry, most recent first.
2. Import only Chicago warehouse inventory with headers
| Title | Description | pubDate |
| SKU: W-4521 | Chicago | On hand: 47, Reorder: 50, Cost: $12.45 | 2026-09-15T08:30:00Z |
| SKU: W-8847 | Chicago | On hand: 156, Reorder: 100, Cost: $8.99 | 2026-09-14T22:45:00Z |
=IMPORTFEED("https://warehouse.retailco.com/stock-feed.xml", "//item[contains(description, 'Chicago')]", TRUE, 10)
Result: 2 rows, filtered to Chicago warehouse entries only, with column headers
The query parameter filters feed items to only those containing 'Chicago' in the description field. headers=TRUE includes a header row naming each column. num_items=10 limits results to the 10 most recent matching entries; since only 2 exist, all are returned.
3. Get the 5 most recent inventory updates
| SKU: W-4521 | Chicago | On hand: 47, Reorder: 50, Cost: $12.45 | 2026-09-15T08:30:00Z |
| SKU: W-4521 | Detroit | On hand: 23, Reorder: 50, Cost: $12.45 | 2026-09-15T08:15:00Z |
| SKU: W-8847 | Chicago | On hand: 156, Reorder: 100, Cost: $8.99 | 2026-09-14T22:45:00Z |
| SKU: W-2310 | Boston | On hand: 89, Reorder: 75, Cost: $15.30 | 2026-09-14T20:00:00Z |
| SKU: W-4521 | Boston | On hand: 34, Reorder: 50, Cost: $12.45 | 2026-09-14T18:45:00Z |
=IMPORTFEED("https://warehouse.retailco.com/stock-feed.xml", , FALSE, 5)
Result: 5 rows of the newest feed entries, spanning all warehouses
num_items=5 limits output to the 5 most recent items from the feed. The query parameter is omitted (no filtering), and headers=FALSE means column names are excluded. This snapshot captures the latest inventory changes across all warehouse locations without need for post-processing.