{
  "name": "Instagram, TikTok & YouTube Transcript Scraper — AI Video to Text, 0-3s Hooks & Visual OCR",
  "nodes": [
    {
      "parameters": {
        "content": "## 🎬 CEA Digital — Instagram, TikTok & YouTube Transcript Scraper (`ceadigital/instagram-tiktok-youtube-transcript-scraper`)\n- **Zero Community Nodes Required**: Works on n8n Cloud & Self-Hosted.\n- **Direct Unified Key (`$29/mo` for `5,000` hits or `$2` Tripwire)**: [https://ceadigital.io/tools](https://ceadigital.io/tools)\n- **Need a Custom Creative Spy & UGC Factory (`$1,500–$5,000/mo` Turnkey Setup)?** Book at [https://ceadigital.io](https://ceadigital.io)",
        "height": 220,
        "width": 520
      },
      "id": "sticky-cta-2",
      "name": "Setup & Unified Key CTA",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [180, 80]
    },
    {
      "parameters": {
        "rule": {
          "interval": [{ "field": "hours", "hoursInterval": 12 }]
        }
      },
      "id": "schedule-trigger-2",
      "name": "Daily Competitor Ad Spy Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [200, 340]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://ceadigital.io/v1/tools/video-hook",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            { "name": "Authorization", "value": "Bearer {{ $env.CEA_UNIFIED_API_KEY }}" },
            { "name": "Content-Type", "value": "application/json" }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"videoUrls\": [\"https://www.tiktok.com/@dtcgrowthlab/video/7391847291048291001\"],\n  \"generateUgcBrief\": true,\n  \"translateTo\": \"es\",\n  \"watchlistId\": \"n8n-competitor-hooks\",\n  \"onlyNew\": true\n}"
      },
      "id": "http-video-hook-2",
      "name": "Extract 0-3s Spoken + Visual OCR Hook",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [460, 340]
    },
    {
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{ $json.data.items[0].hook_retention_score }}",
              "operation": "largerEqual",
              "value2": 75
            }
          ]
        }
      },
      "id": "if-high-retention-2",
      "name": "Hook Retention Score >= 75?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [720, 340]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ $env.SLACK_CREATIVE_WEBHOOK_URL || 'https://ceadigital.io/health' }}",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.data.items[0]) }}"
      },
      "id": "http-slack-brief-2",
      "name": "Deliver UGC Brief to Creative Team Slack",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [980, 340]
    }
  ],
  "connections": {
    "Daily Competitor Ad Spy Schedule": {
      "main": [[{ "node": "Extract 0-3s Spoken + Visual OCR Hook", "type": "main", "index": 0 }]]
    },
    "Extract 0-3s Spoken + Visual OCR Hook": {
      "main": [[{ "node": "Hook Retention Score >= 75?", "type": "main", "index": 0 }]]
    },
    "Hook Retention Score >= 75?": {
      "main": [[{ "node": "Deliver UGC Brief to Creative Team Slack", "type": "main", "index": 0 }], []]
    }
  },
  "settings": { "executionOrder": "v1" }
}
