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 →
{
"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
}
]
]
}
}
}
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 →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
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
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,
Animal Video. Uses httpRequest, discord, fileManager, youtube. Manual trigger; 11 nodes.
YouTube Audio Extractor - Complete Workflow. Uses httpRequest, stopAndError. Manual trigger; 9 nodes.
Instagram - Fluxo de mensagens. Uses rabbitmq, rabbitmqTrigger, googleSheets, httpRequest. Webhook trigger; 74 nodes.