We're live on Product Hunt — train your first AI chatbot free, no cardStart free →
Alee
← All tutorials
Tutorial · 8 min read

Train Your Chatbot on YouTube Videos with Alee

Step-by-step tutorial on how to train your Alee chatbot on YouTube videos by pasting the video transcript, plus how to handle playlists, channels, and missing captions.

If you have hours of YouTube content, you have already answered most of your audience's questions on camera. Alee lets you turn that spoken knowledge into a chatbot that answers in text, instantly, with sources. This tutorial walks through adding a YouTube video as a knowledge source by pasting its transcript, how Alee uses that text, how to handle playlists and channels, and what to do when a video has no transcript at all.

Why train on YouTube at all

When you train Alee on a YouTube video, it never "watches" the video. It works from the transcript — the spoken words as text. You copy that transcript off YouTube and paste it into Alee. Alee then splits the text into small chunks, turns each chunk into a vector embedding, and stores them in your bot's knowledge brain (a pgvector index). After that, when a visitor asks a question, Alee embeds the question, finds the closest chunks from your videos, and an LLM writes an answer grounded only in what you actually said on camera. If you added the video link, the bot can cite it. If the answer is not in your content, the bot says it does not know instead of making something up.

This is the same Advanced RAG pipeline Alee uses for websites and PDFs, so YouTube content sits alongside every other source in one brain. A coach can mix a few long YouTube explainers with their FAQ text; a gym can combine a class-schedule page with form-check videos. The bot retrieves from all of them.

A few things worth knowing up front:

  • The transcript is the data, not the video. The richer and clearer the speech, the better the answers. Rambling, music-only, or heavily edited cuts produce weaker chunks.
  • You provide the transcript. Alee does not pull captions from a link on its own — you open the transcript on YouTube, copy it, and paste it in. That means you always control exactly what text the bot learns.
  • Visual-only content is invisible. If something important only appears as on-screen text or a silent demo, the transcript will not capture it. Narrate the key points, or add them as a separate text source.

Step 1: Open your bot's Sources

  1. Sign in to Alee and open the dashboard.
  2. Select the bot you want to train (or create one first — start free gives you one bot and 200 messages a month).
  3. Open the bot's Sources tab — this is where every knowledge source lives.
  4. Click Add source and choose the YouTube transcript source type from the list.

If you are brand new to Alee, skim the features overview first so you know where leads, analytics, and customization sit relative to Sources.

Step 2: Copy the transcript from YouTube

This is the part people miss, so here it is in detail. YouTube already generates a transcript for most videos with speech — you just have to reveal it and copy it.

  1. Open the video on YouTube (desktop is easiest).
  2. Under the video, below the title and view count, click ...more (the "...more" link, sometimes shown as a menu).
  3. In the description panel that expands, click Show transcript. A transcript panel opens on the right side of the player.
  4. In that panel, look for the three-dot menu and toggle off timestamps if you want clean text. This is optional, but it keeps the pasted text tidy.
  5. Click into the transcript, select all (Ctrl/Cmd + A), and copy (Ctrl/Cmd + C).

That copied text is everything you need. If you don't see "Show transcript," the video has no transcript available — jump to Step 5.

Step 3: Paste the transcript into Alee

  1. Back in Alee's Add source dialog with YouTube transcript selected, click into the transcript box and paste the text you copied.
  2. Optionally, paste the video URL into the URL field. This field is optional — Alee uses it for reference and as the source title/citation, not to fetch anything. Both link formats are fine:
  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  1. Submit it. Alee chunks the pasted transcript, generates embeddings, and adds the chunks to the brain. The source appears in your Sources list, usually with a status while it processes.
  2. Once it shows as ready, the video's knowledge is live. Open the chat preview and ask a question you know that video answers to confirm it is grounded. If you added the link, you'll see the bot cite it.

That is the whole loop: copy on YouTube, paste in Alee, process, test.

A quick worked example

Say you run a home-bakery channel and you have a video titled "Why my sourdough went flat — 5 fixes." You open it on YouTube, click ...more → Show transcript, toggle off timestamps, select all, and copy. Back in Alee you choose YouTube transcript, paste the text — which includes lines like "if your starter isn't doubling in four to six hours, it's underfed" — and drop the video URL into the optional field so the bot can link it. A visitor later types "my bread came out dense, what did I do wrong?" Alee retrieves that chunk and replies with your underfed-starter advice, citing the video as the source. You never wrote an FAQ — the bot learned it from your spoken words.

Step 4: Add a playlist, channel, or series

There is no auto-walk: Alee won't crawl a playlist or channel and harvest every transcript for you. You add transcripts one at a time, but you have full control over what goes in. For a multi-video series, you have two options:

  • One source per video. Copy each video's transcript and paste it as its own YouTube-transcript source, with that video's URL in the optional field. This keeps citations accurate — each answer can link the exact video it came from.
  • Combine several transcripts in one paste. If a few short videos cover one topic, you can paste their transcripts together into a single source. It's faster to set up, but the citation will point at whatever single URL you attach, so use it when precise per-video links don't matter.

Two practical notes for bigger libraries:

  • Start with the most-watched or most-asked videos. You rarely need a 200-video channel in the brain. Add your three to ten clearest, most-asked explainers first — a focused brain usually answers more cleanly than one stuffed with off-topic uploads. Expand later if Top Questions shows gaps.
  • Mind your bot count and message budget, not a video cap. Alee meters bots and monthly messages by plan, not the number of videos or transcripts. Free gives one bot, Pro $9/mo gives two bots, Agency $49/mo gives five, and Scale $99/mo gives ten. Heavy libraries are fine — just pick a plan that fits how many separate bots and how much traffic you expect. See pricing for the full breakdown.

Step 5: When a video has no transcript

Sometimes there's simply nothing to copy. You'll hit this when:

  • Captions are disabled on the video, so YouTube never generates a transcript.
  • It is music-only or has no clear speech for auto-captions to work from.
  • Auto-captions haven't been generated yet (common right after upload).
  • The content is visual-only — an on-screen demo with no narration.

If there's no "Show transcript" option, there's no transcript to paste. Here's how to fix it:

  1. Turn on captions for your own videos. In YouTube Studio, enable auto-captions or upload an accurate caption file (.srt / .vtt). Wait for them to publish, then reopen the video, copy the transcript, and add it in Alee.
  2. Write a short text summary instead. If the video is visual-only or you can't enable captions (for example, it's someone else's video), write a few tight paragraphs that capture what the video teaches, and add it as a Raw text / FAQ source. This trains the brain on the exact same knowledge without depending on a transcript at all.
  3. Use a script or doc you already have. If you scripted the video, paste that script as a Raw text source, or add it as a PDF/document source — same result.

For non-English videos common with India-based creators (Hindi, Tamil, Hinglish, and so on): if YouTube shows a transcript in that language, copy and paste it the same way, and the bot can answer from that content. If the transcript is missing or messy, writing a cleaned-up summary as a Raw text source is the reliable path.

Step 6: Keep the brain fresh and tidy

  • Re-paste after edits. If you publish a corrected caption file or rewrite a section, copy the updated transcript and add it again so the brain picks up the better text. Remove the stale version.
  • Remove videos you've unpublished. If you delete a video on YouTube, remove its source in Alee so the bot stops citing a dead link.
  • Mix sources freely. YouTube transcripts work best alongside a website crawl, a few PDFs, and a pasted FAQ. The retriever pulls from everything, so cover the gaps your videos don't.
  • Watch Top Questions. Alee's analytics show a Top Questions list and a triage inbox. If people keep asking something your videos almost answer, paste a tighter Raw text source to nail it.

Putting it together

A solid YouTube-trained bot usually looks like this: the transcripts of your three to ten clearest explainer videos pasted in as sources (each with its video link attached for citations), a Raw text FAQ for the things you never quite said on camera, and your main website crawled in for product and contact details. From there you customize the bot's name, brand color (the friendly red works, or your own), welcome message, and starter questions, then drop the one-line embed script on your site. For more setups, browse the tutorials and more guides. If you are weighing tools, the Alee vs SiteGPT comparison covers how the YouTube workflow stacks up.

Frequently asked questions

Does Alee fetch the transcript from the YouTube link automatically?

No. You copy the transcript off YouTube yourself — open the video, click ...more → Show transcript, select all, and copy — then paste that text into Alee's YouTube-transcript box. The URL field is optional and is only used for reference and citation, not to pull anything. Pasting the text yourself means you always control exactly what the bot learns.

Does Alee watch the video or just read the transcript?

It only reads the transcript you paste — the spoken words as text. It does not analyze the picture, so anything shown only on screen and never said out loud won't make it into the brain. Narrate key points, or add them as a Raw text source to capture them.

Can I train on someone else's YouTube video?

Yes, as long as it has a transcript you have the right to use. Open the video, show the transcript, copy it, and paste it in. If the video has no transcript or you'd rather not paste a long script, write a short summary of what it teaches and add that as a Raw text source instead.

What happens if a visitor asks something the video doesn't cover?

The bot says it doesn't know rather than guessing — every answer is grounded only in your sources and self-checked before it's sent. That's your cue to add a source (another pasted transcript, a Raw text FAQ, or a page) that covers the gap.

Ready to turn your videos into a 24/7 answer machine? [Start free with Alee](/signup) and paste your first YouTube transcript in minutes.

Try it in your own Alee bot

Train it on your site, embed it anywhere, capture leads 24/7. Free to start, no card.

Keep learning