Arcadium Data Scrapers
Home / Integrations / Google Sheets

Google Sheets

Pull the latest run’s rows into a sheet with a short Apps Script. The example uses YouTube Transcript & Subtitles Scraper; swap in any actor ID below.

An Apps Script that loads the rows of the actor’s last successful run into the active sheet. The token stays in the script properties, not in a cell. Add a time-driven trigger to refresh it.

// Extensions > Apps Script. Store your token once: Project Settings > Script properties > APIFY_TOKEN.
function importLastRun() {
  const token = PropertiesService.getScriptProperties().getProperty('APIFY_TOKEN');
  const url = 'https://api.apify.com/v2/acts/arcadium~youtube-transcripts/runs/last/dataset/items?status=SUCCEEDED&clean=true&format=json';
  const res = UrlFetchApp.fetch(url, { headers: { Authorization: 'Bearer ' + token } });
  const rows = JSON.parse(res.getContentText());
  if (!rows.length) return;
  const keys = Object.keys(rows[0]);
  const values = rows.map((r) => keys.map((k) => (typeof r[k] === 'object' ? JSON.stringify(r[k]) : r[k])));
  const sheet = SpreadsheetApp.getActiveSheet();
  sheet.clearContents();
  sheet.getRange(1, 1, 1, keys.length).setValues([keys]);
  sheet.getRange(2, 1, values.length, keys.length).setValues(values);
}

Actor IDs

ActorActor ID
Agoda and Trip.com Reviews Scraperarcadium/agoda-tripcom-reviews
ATS Lookuparcadium/ats-lookup
Booking.com Reviews Scraperarcadium/booking-reviews
Capterra Products Scraperarcadium/capterra-products
Capterra Reviews Scraperarcadium/capterra-reviews
Career Site Jobs Scraperarcadium/career-site-jobs
AutoScout24 Scraperarcadium/eu-car-listings
Google Hotel Reviews Scraperarcadium/google-hotel-reviews
Google Hotels Scraperarcadium/google-hotels
Google News Scraperarcadium/google-news
Google Trends Scraperarcadium/google-trends
Hotel Reviews Scraperarcadium/hotel-reputation
Review Monitorarcadium/reputation-monitor
Seek Jobs Scraperarcadium/seek-jobs
Software Reviews Scraperarcadium/software-reviews
Tripadvisor Reviews Scraperarcadium/tripadvisor-reviews
TrustRadius Reviews Scraperarcadium/trustradius-reviews
YouTube Transcript & Subtitles Scraperarcadium/youtube-transcripts
YouTube Scraperarcadium/youtube-videos