AutomationFlowsSocial Media › Phase2 - Youtube素材url収集

Phase2 - Youtube素材url収集

Phase2 - YouTube素材URL収集. Uses httpRequest. Manual trigger; 3 nodes.

Manual trigger★★★★☆ complexity3 nodesHTTP Request
Social Media Trigger: Manual Nodes: 3 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Phase2 - YouTube\u7d20\u6750URL\u53ce\u96c6",
  "nodes": [
    {
      "parameters": {
        "method": "GET",
        "url": "https://www.googleapis.com/youtube/v3/search",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "part",
              "value": "snippet"
            },
            {
              "name": "q",
              "value": "={{ $json.concept }}"
            },
            {
              "name": "type",
              "value": "video"
            },
            {
              "name": "videoDuration",
              "value": "short"
            },
            {
              "name": "maxResults",
              "value": "={{ $json.video_count }}"
            },
            {
              "name": "order",
              "value": "viewCount"
            },
            {
              "name": "key",
              "value": "={{ $env.YOUTUBE_API_KEY }}"
            }
          ]
        }
      },
      "id": "youtube-search-001",
      "name": "YouTube\u691c\u7d22",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "// YouTube API\u306e\u7d50\u679c\u3092URL\u30fb\u30bf\u30a4\u30c8\u30eb\u30fb\u518d\u751f\u6570\u306e\u4e00\u89a7\u306b\u6574\u5f62\nconst items = $input.first().json.items || [];\n\nreturn items.map(item => ({\n  json: {\n    video_id:    item.id.videoId,\n    url:         `https://www.youtube.com/shorts/${item.id.videoId}`,\n    title:       item.snippet.title,\n    channel:     item.snippet.channelTitle,\n    published:   item.snippet.publishedAt,\n    description: item.snippet.description\n  }\n}));"
      },
      "id": "format-results-002",
      "name": "URL\u4e00\u89a7\u306b\u6574\u5f62",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "split-batches-003",
      "name": "1\u4ef6\u305a\u3064\u306b\u5206\u5272",
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "YouTube\u691c\u7d22": {
      "main": [
        [
          {
            "node": "URL\u4e00\u89a7\u306b\u6574\u5f62",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URL\u4e00\u89a7\u306b\u6574\u5f62": {
      "main": [
        [
          {
            "node": "1\u4ef6\u305a\u3064\u306b\u5206\u5272",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Phase2 - YouTube素材URL収集. Uses httpRequest. Manual trigger; 3 nodes.

Source: https://github.com/moyashi0060/passive-income-ai/blob/4db82e5b405b0cdf8ec1ff3b6690302339d631a6/n8n-workflows/phase2-youtube.json — original creator credit. Request a take-down →

More Social Media workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Social Media

Youtube:Channel:get getAll update:Playlist:create update getAll get delete:PlaylistItem:add getAll get delete:videoCategory:getAll:Video:rate get upload update delete. Uses start, youTube, httpRequest

Start, YouTube, HTTP Request +1
Social Media

Paste any video URL in chat — YouTube, podcast, webinar, anything — and this n8n workflow automatically finds the best short clips using WayinVideo AI, adds captions, reframes to 9:16 vertical format,

HTTP Request, Google Drive
Social Media

Animal Video. Uses httpRequest, discord, fileManager, youtube. Manual trigger; 11 nodes.

HTTP Request, Discord, File Manager +1
Social Media

YouTube Audio Extractor - Complete Workflow. Uses httpRequest, stopAndError. Manual trigger; 9 nodes.

HTTP Request, Stop And Error
Social Media

Instagram - Fluxo de mensagens. Uses rabbitmq, rabbitmqTrigger, googleSheets, httpRequest. Webhook trigger; 74 nodes.

Rabbitmq, Rabbitmq Trigger, Google Sheets +1