> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/integrations/overview/social/youtube.md).

# YouTube

The YouTube Integration step allows you to retrieve captions from videos on your own YouTube channel. This integration enables content repurposing by extracting text content from your video library for use in articles, summaries, and other content formats.

### How to Configure the YouTube Integration Step

#### Action Type

**Retrieve Video Captions**: Extract captions/transcript from your YouTube video

#### Video URL or ID

Enter the YouTube video ID from your channel:

* Video ID: `dQw4w9WgXcQ`

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-d1fae3b84a8c77690525fab0ef3d27a5a1953a43%2Fyoutube-step-01-step-config.png?alt=media" alt="YouTube step set to fetch a video&#x27;s captions from a video URL or ID"><figcaption><p>Pull a YouTube video's captions into a Workflow.</p></figcaption></figure>

#### Key Output Fields

* `full_text`: Complete captions as a single string
* `transcript`: Array of timed caption segments
* `video_title`: Title of your video
* `video_id`: YouTube video identifier

### Common Use Cases

* Transform video content into blog posts
* Generate video summaries and key points
* Create show notes for podcast episodes
* Extract quotes for social media content
* Build searchable content from your video library

**Note:** You must authenticate your YouTube account in AirOps Settings > Integrations before using this step.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/integrations/overview/social/youtube.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
