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

# YouTube

## Configure

To configure a YouTube action, you simply need to copy and paste the YouTube URL that you would like to extract the content from into the URL field of the step.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FKz3fI01q9Jv7zM2SnbnI%2Fimage.png?alt=media&amp;token=ca28a711-f156-4c0a-ba6d-a4015ed1e81c" alt="Screenshot of the YouTube action in the MESA workflow builder. Spotlight the URL field."><figcaption></figcaption></figure>

The content of the webpage will be available as [variables](https://docs.getmesa.com/workflow-builder/fields/variables) via the variable selector in future steps.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F1J08dRJrEmnW3G7BhthD%2Fimage.png?alt=media&amp;token=43ef5d4e-d430-4343-b01f-b5ef29095154" alt="Screenshot of a MESA workflow step showing the extracted YouTube content available as variables. Spotlight the variable selector."><figcaption></figcaption></figure>

## Technical Notes

* We retrieve the webpage data through scraping, which means we make multiple attempts to extract the information. If we’re unable to get the data, we return the following error message: "Data not found. Please try again with a different URL."<br>

  This error may appear if the data couldn’t be located or if the URL is invalid.


---

# 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.getmesa.com/connect/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.
