# Convert Facebook Reels to AI & LLM RAG Markdown Docs

**Use case:** 

Scrape Facebook Reels and format captions, visual summaries, hooks, and transcripts into clean Markdown ragText documents for vector DBs and AI agents.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/Meta/reels/"
    }
  ],
  "pageHandles": [],
  "reelUrls": [],
  "datasetUrlField": "url",
  "maxReelsPerPage": 10,
  "maxItems": 10,
  "includeTranscript": true,
  "captionLanguage": "en",
  "transcribeAudioFallback": false,
  "maxAudioMinutes": 3,
  "analyzeHookWithAi": false,
  "outputMode": "rag",
  "minPlays": 0,
  "keywordFilter": [],
  "watchlistId": "",
  "newReelsOnly": false,
  "asrBaseUrl": "",
  "maxConcurrency": 3,
  "deliverTarget": "",
  "deliverMode": "summary",
  "deliverMaxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "reelId": {
    "label": "Reel ID",
    "format": "string"
  },
  "ownerName": {
    "label": "Creator / Page Name",
    "format": "string"
  },
  "hookFirst3s": {
    "label": "First-3s Hook",
    "format": "string"
  },
  "ragText": {
    "label": "RAG Markdown",
    "format": "string"
  },
  "reelUrl": {
    "label": "Reel URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Facebook Reels Scraper, MP4 & AI Transcripts Actor is ready to run with the inputs already set for "Convert Facebook Reels to AI & LLM RAG Markdown Docs". [Sign up or log in](https://console.apify.com/create-task-from-example/xWAj9v3iXEombCMFi) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Convert Facebook Reels to AI & LLM RAG Markdown Docs" task

The Facebook Reels Scraper, MP4 & AI Transcripts Actor will start running based on the input automatically. You can also change all the input fields, like 🔗 facebook page / reels urls, 👤 facebook page handles or urls, and more, to match your specific use case.

### 3. Receive the "Convert Facebook Reels to AI & LLM RAG Markdown Docs" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as reel id, creator / page name, first-3s hook, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Convert Facebook Reels to AI & LLM RAG Markdown Docs" task via API](https://apify.com/forlex/facebook-reels-transcript-scraper.md).

## FAQ

### What is included in each ragText document?

Convert Facebook Reels to AI & LLM RAG Markdown Docs combines creator info, play counts, first-3s hook, visual summary, and full transcript.

### Can AI agents call this scraper directly via MCP?

Convert Facebook Reels to AI & LLM RAG Markdown Docs exposes a native Streamable HTTP /mcp endpoint for Claude, Cursor, and Antigravity.

### Can I chain reel URLs from another Apify dataset?

Convert Facebook Reels to AI & LLM RAG Markdown Docs accepts sourceDatasetId to read URLs directly from upstream datasets.

## About this Actor

This example demonstrates how to use [Facebook Reels Scraper, MP4 & AI Transcripts](https://apify.com/forlex/facebook-reels-transcript-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/forlex/facebook-reels-transcript-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/forlex/facebook-reels-transcript-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
