See llms.txt for all machine-readable content.

Back to Templates

Transcribe short videos from TikTok and Instagram Reels to Google Sheets with Apify

Quick overview

This workflow collects spoken transcripts and engagement stats from public TikTok, Instagram Reels, Kwai, or Snapchat Spotlight profiles using Apify, then appends one row per video to Google Sheets while skipping videos already saved in previous runs.

How it works

  1. Receives form input for the platform, one or more usernames, the number of recent videos to fetch, and whether to include an AI summary.
  2. Builds the correct Apify Actor ID and input payload for the selected platform, normalizing usernames and enforcing per-profile video limits.
  3. Calls Apify’s run-sync-get-dataset-items endpoint to scrape the latest videos and return captions, transcripts, language/status, optional AI summary/topics, and engagement metrics.
  4. Stops the execution with a clear error message if the Apify run fails (for example due to an invalid token, insufficient credit, timeout, or private profiles).
  5. Normalizes the returned video fields into a consistent schema (platform, URL, author, timestamps, metrics, caption, transcript, and AI fields).
  6. Skips any videos whose URL has already been saved in previous workflow executions.
  7. Appends the new video rows to the target Google Sheets worksheet.

Setup

  1. Create an Apify account, copy your API token, and add an HTTP Header Auth credential with Authorization: Bearer <token> for the Apify request.
  2. Create a Google Sheet with matching header columns (for example: platform, url, author, published_at, duration_s, views, likes, comments, shares, caption, transcript, language, transcript_status, ai_summary, ai_topics).
  3. Connect your Google Sheets account in the Google Sheets node and replace YOUR_SHEET_ID in the Settings sheet URL with your spreadsheet URL.
  4. Activate the workflow and use the generated form URL to submit platforms/usernames and start new scraping runs.

Requirements

  • An Apify account (the free plan includes monthly credit) with an API token. A Google account with Google Sheets. Only public profiles can be scraped.