Home / Integrations / Zapier / YouTube transcripts as clean text and RAG chunks

Updated

YouTube transcripts as clean text and RAG chunks in Zapier

Run YouTube Transcript for AI: RAG Chunks, Chapters, SRT from Zapier for summarising videos, building a RAG index from a channel or quoting what was said. The tool runs on Apify as plainprobe/youtube-transcript-ai, returns one JSON item per transcript and costs $0.002 per transcript; failed items are not charged.
Apify Store page

Steps

  1. Choose a trigger. Start the Zap with Schedule by Zapier (every day or every week) or with a new row in Google Sheets that holds your input.
  2. Run the Actor. Add the Apify app, action Run Actor. Connect your Apify account (Zapier opens Apify; click Allow Access), choose the Actor plainprobe/youtube-transcript-ai and paste the input JSON below.
  3. Get the results. Add the Apify search Fetch dataset items with the dataset ID of that run, so the next steps receive the result fields.
  4. Send results to an OpenAI or AI Agent step. Add a Filter by Zapier step (status equals ok) and a an OpenAI or AI Agent step action, and map the fields listed in the table below.
  5. Turn the Zap on. Test each step, then publish the Zap.

Alternative: Webhooks by Zapier, event POST, URL https://api.apify.com/v2/acts/plainprobe~youtube-transcript-ai/run-sync-get-dataset-items, header Authorization: Bearer YOUR_APIFY_TOKEN, payload type JSON with the input above. The response is the array of results.

Input to paste

The input is a JSON object; replace the example values with your own.

{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "https://youtu.be/T-D1OfcDW1M"
  ],
  "preferredLanguages": [
    "en"
  ]
}

Which output fields to map to an OpenAI or AI Agent step

Each result contains these fields (shortened example below). A useful mapping to an OpenAI or AI Agent step, with Notion as another common destination:

Result fieldWhere it goes
titlepage title
channelNamechannel property
textprompt sent to the AI step
chunkspieces for a vector store (RAG)
languagelanguage property
{
  "videoId": "T-D1OfcDW1M",
  "status": "ok",
  "title": "What is Retrieval-Augmented Generation (RAG)?",
  "channelName": "IBM Technology",
  "publishDate": "2023-08-23T04:00:32-07:00",
  "durationSeconds": 395,
  "language": "en",
  "captionType": "manual",
  "wordCount": 1062,
  "text": "Large language models. They are everywhere. ...",
  "chunks": [
    {
      "index": 0,
      "start": 0.06,
      "end": 85.26,
      "chapter": null,
      "charCount": 1417,
      "url": "https://www.youtube.com/watch?v=T-D1OfcDW1M&t=0s"
    }
  ],
  "error": null
}

A scheduled workflow you can copy

Every day, take the videos you saved to a list, fetch their transcripts, ask an AI step for a summary and key points from the text field, and save title, channel and summary to Notion.

What it costs

$0.002 per transcript (one video whose transcript was returned), billed by Apify per successful result, with no subscription. 1,000 transcripts cost $2. Videos without captions, private, removed or blocked videos are free. Apify subscribers get 10 to 30 % off.

Full details, benchmark and pricing table: YouTube Transcript for AI: RAG Chunks, Chapters, SRT.

Questions about youtube transcripts as clean text and rag chunks in Zapier

How much does youtube transcripts as clean text and rag chunks cost when run from Zapier?

$0.002 per transcript (one video whose transcript was returned), charged by Apify to your Apify account; Zapier only counts its own executions or operations. Failed items are not charged.

Can I send several items in one Zapier run?

Yes. Put all of them in the videos list of the input; one Actor run returns one result per transcript, and Zapier handles them as separate items.

Can I use Zapier without the Apify app?

Yes. Use Webhooks by Zapier, POST, URL https://api.apify.com/v2/acts/plainprobe~youtube-transcript-ai/run-sync-get-dataset-items, header Authorization: Bearer YOUR_APIFY_TOKEN and the input JSON as data. The response is the list of results.

Same tool in other platforms: n8n · Make · all Zapier workflows